Carousel
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
AbsolutePathComponentLocationConstructorDelegate Class Reference

The AbsolutePathComponentLocationConstructorDelegate class is used to constuct an absolute path to the library for a component. More...

#include <AbsolutePathComponentLocationConstructorDelegate.h>

Inherits IComponentLocationConstructorDelegate.

Public Member Functions

 AbsolutePathComponentLocationConstructorDelegate (const QString &definitionLocation)
 
QString constructLocation (const QString &relativePathToComponent)
 

Detailed Description

The AbsolutePathComponentLocationConstructorDelegate class is used to constuct an absolute path to the library for a component.

It uses definition's file path as a pivot, and a componen location path from the definition to format an absolute path.

Constructor & Destructor Documentation

AbsolutePathComponentLocationConstructorDelegate::AbsolutePathComponentLocationConstructorDelegate ( const QString definitionLocation)

Initializes a new instance of the AbsolutePathComponentLocationConstructorDelegate class uses the path to the definition file.

To get the absolute library file name a definition's file path is used as a pivot for relative component path.

Member Function Documentation

QString AbsolutePathComponentLocationConstructorDelegate::constructLocation ( const QString relativePathToComponent)
virtual

Completes component location and returns the absolute path to the component.

Implements IComponentLocationConstructorDelegate.