diff options
Diffstat (limited to 'lib/interfaces/external')
-rw-r--r-- | lib/interfaces/external/CMakeLists.txt | 4 | ||||
-rw-r--r-- | lib/interfaces/external/Mainpage.dox | 16 | ||||
-rw-r--r-- | lib/interfaces/external/designer.h | 2 |
3 files changed, 13 insertions, 9 deletions
diff --git a/lib/interfaces/external/CMakeLists.txt b/lib/interfaces/external/CMakeLists.txt index 353721fd..46e2bfa7 100644 --- a/lib/interfaces/external/CMakeLists.txt +++ b/lib/interfaces/external/CMakeLists.txt @@ -15,6 +15,10 @@ include_directories( ${TQT_INCLUDE_DIRS} ) +link_directories( + ${TQT_LIBRARY_DIRS} +) + ##### headers ################################### diff --git a/lib/interfaces/external/Mainpage.dox b/lib/interfaces/external/Mainpage.dox index 8c22ba73..7c97cf16 100644 --- a/lib/interfaces/external/Mainpage.dox +++ b/lib/interfaces/external/Mainpage.dox @@ -10,23 +10,23 @@ GUI Designer integration framework. \section designerintegration Overview of GUI designer integration process Each KPart that wants to act as a GUI Designer must implement @ref KInterfaceDesigner::Designer -interface. It defines necessary Q_SIGNALS to communicate with an IDE and abstract virtual +interface. It defines necessary signals to communicate with an IDE and abstract virtual functions to determine designer type. If a part which can "design" user interface files of a certain mimetype implements this interface and sets itself as a default handler for that mimetype then it becomes automatically integrated into TDevelop IDE. -When a part is embedded into TDevelop shell, its Q_SIGNALS (defined in @ref +When a part is embedded into TDevelop shell, its signals (defined in @ref KInterfaceDesigner::Designer interface): @code - void addedFunction(DesignerType type, const QString &formName, Function function) - void removedFunction(DesignerType type, const QString &formName, Function function) - void editedFunction(DesignerType type, const QString &formName, Function oldFunction, Function function) - void editFunction(DesignerType type, const QString &formName, const QString &functionName) - void editSource(DesignerType type, const QString &formName); + void addedFunction(DesignerType type, const TQString &formName, Function function) + void removedFunction(DesignerType type, const TQString &formName, Function function) + void editedFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function) + void editFunction(DesignerType type, const TQString &formName, const TQString &functionName) + void editSource(DesignerType type, const TQString &formName); @endcode -are connected to corresponding Q_SLOTS of TDevelop designer integration engine which can be implemented in TDevelop language support plugin. +are connected to corresponding slots of TDevelop designer integration engine which can be implemented in TDevelop language support plugin. Each language support which wants to use integrated designer, must reimplement @code diff --git a/lib/interfaces/external/designer.h b/lib/interfaces/external/designer.h index b84e2268..73420496 100644 --- a/lib/interfaces/external/designer.h +++ b/lib/interfaces/external/designer.h @@ -64,7 +64,7 @@ implements this interface and sets itself as a default handler for that mimetype then it becomes automatically integrated into TDevelop IDE. */ class Designer: public KParts::ReadWritePart{ - Q_OBJECT + TQ_OBJECT public: Designer(TQObject *parent, const char *name); |