diff options
Diffstat (limited to 'kdevdesigner/designer/mainwindow.h')
-rw-r--r-- | kdevdesigner/designer/mainwindow.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/kdevdesigner/designer/mainwindow.h b/kdevdesigner/designer/mainwindow.h index 1b68c14d..47c4d710 100644 --- a/kdevdesigner/designer/mainwindow.h +++ b/kdevdesigner/designer/mainwindow.h @@ -43,7 +43,7 @@ #include <tqmainwindow.h> #include <tqmap.h> #include <tqguardedptr.h> -#include <tqpluginmanager_p.h> +#include <private/tqpluginmanager_p.h> #include <tqobjectlist.h> class TQToolBox; @@ -79,13 +79,13 @@ class KDevDesignerPart; class MainWindow : public TQMainWindow { - Q_OBJECT + TQ_OBJECT public: enum LineMode { Error, Step, StackFrame }; - MainWindow( KDevDesignerPart *part, bool asClient, bool single = FALSE, const TQString &plgDir = "/designer" ); + MainWindow( KDevDesignerPart *part, bool asClient, bool single = false, const TQString &plgDir = "/designer" ); ~MainWindow(); HierarchyView *objectHierarchy() const; @@ -112,7 +112,7 @@ public: TQPopupMenu *setupNormalHierarchyMenu( TQWidget *parent ); TQPopupMenu *setupTabWidgetHierarchyMenu( TQWidget *parent, const char *addSlot, const char *removeSlot ); - FormWindow *openFormWindow( const TQString &fn, bool validFileName = TRUE, FormFile *ff = 0 ); + FormWindow *openFormWindow( const TQString &fn, bool validFileName = true, FormFile *ff = 0 ); bool isCustomWidgetUsed( MetaDataBase::CustomWidget *w ); void setGrid( const TQPoint &p ); @@ -128,7 +128,7 @@ public: TQString templatePath() const { return templPath; } - void editFunction( const TQString &func, bool rereadSource = FALSE ); + void editFunction( const TQString &func, bool rereadSource = false ); bool isPreviewing() const { return previewing; } @@ -230,7 +230,7 @@ public slots: void fileQuit(); void fileCloseProject(); // not visible in menu, called from fileClose void fileOpen(); - void fileOpen( const TQString &filter, const TQString &extension, const TQString &filename = "" , bool inProject = TRUE ); + void fileOpen( const TQString &filter, const TQString &extension, const TQString &filename = "" , bool inProject = true ); bool fileSave(); bool fileSaveForm(); // not visible in menu, called from fileSave bool fileSaveProject(); // not visible in menu, called from fileSaveProject @@ -267,7 +267,7 @@ public slots: SourceEditor *createSourceEditor( TQObject *object, Project *project, const TQString &lang = TQString(), const TQString &func = TQString(), - bool rereadSource = FALSE ); + bool rereadSource = false ); void editFormSettings(); void editProjectSettings(); void editPixmapCollection(); @@ -408,9 +408,6 @@ private: TQAction* actionCurrentTool; DesignerAction *actionHelpContents, *actionHelpAbout, *actionHelpAboutTQt, *actionHelpWhatsThis; DesignerAction *actionHelpManual; -#if defined(TQT_NON_COMMERCIAL) - DesignerAction *actionHelpRegister; -#endif DesignerAction *actionToolsCustomWidget, *actionEditPreferences; DesignerAction *actionWindowTile, *actionWindowCascade, *actionWindowClose, *actionWindowCloseAll; DesignerAction *actionWindowNext, *actionWindowPrevious; @@ -490,7 +487,7 @@ friend class KDevDesignerPart; class SenderObject : public TQObject { - Q_OBJECT + TQ_OBJECT public: |