summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/project.h')
-rw-r--r--kdevdesigner/designer/project.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdevdesigner/designer/project.h b/kdevdesigner/designer/project.h
index 3e80428f..032ee0aa 100644
--- a/kdevdesigner/designer/project.h
+++ b/kdevdesigner/designer/project.h
@@ -33,7 +33,7 @@
#include <tqstringlist.h>
#include <tqptrlist.h>
#include <tqmap.h>
-#include <tqpluginmanager_p.h>
+#include <private/tqpluginmanager_p.h>
#include "../interfaces/projectsettingsiface.h"
#include "sourcefile.h"
#include "formfile.h"
@@ -57,11 +57,11 @@ public:
#ifndef TQT_NO_SQL
conn( 0 ),
#endif
- project( p ), loaded( FALSE ), iface( 0 ) {}
+ project( p ), loaded( false ), iface( 0 ) {}
~DatabaseConnection();
bool refreshCatalog();
- bool open( bool suppressDialog = TRUE );
+ bool open( bool suppressDialog = true );
void close();
DesignerDatabase *iFace();
@@ -110,18 +110,18 @@ private:
class Project : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
friend class DatabaseConnection;
public:
Project( const TQString &fn, const TQString &pName = TQString(),
- TQPluginManager<ProjectSettingsInterface> *pm = 0, bool isDummy = FALSE,
+ TQPluginManager<ProjectSettingsInterface> *pm = 0, bool isDummy = false,
const TQString &l = "C++" );
~Project();
- void setFileName( const TQString &fn, bool doClear = TRUE );
- TQString fileName( bool singlePro = FALSE ) const;
+ void setFileName( const TQString &fn, bool doClear = true );
+ TQString fileName( bool singlePro = false ) const;
TQString projectName() const;
void setDatabaseDescription( const TQString &db );
@@ -136,13 +136,13 @@ public:
bool isValid() const;
- // returns TRUE if this project is the <No Project> project
+ // returns true if this project is the <No Project> project
bool isDummy() const;
TQString makeAbsolute( const TQString &f );
TQString makeRelative( const TQString &f );
- void save( bool onlyProjectFile = FALSE );
+ void save( bool onlyProjectFile = false );
#ifndef TQT_NO_SQL
TQPtrList<DatabaseConnection> databaseConnections() const;
@@ -157,10 +157,10 @@ public:
void saveConnections();
void loadConnections();
- bool openDatabase( const TQString &connection, bool suppressDialog = TRUE );
+ bool openDatabase( const TQString &connection, bool suppressDialog = true );
void closeDatabase( const TQString &connection );
- TQObjectList *formList( bool resolveFakeObjects = FALSE ) const;
+ TQObjectList *formList( bool resolveFakeObjects = false ) const;
DesignerProject *iFace();