summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/designerappiface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/designerappiface.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/designerappiface.h')
-rw-r--r--kdevdesigner/designer/designerappiface.h214
1 files changed, 107 insertions, 107 deletions
diff --git a/kdevdesigner/designer/designerappiface.h b/kdevdesigner/designer/designerappiface.h
index a9eace16..8566ac8e 100644
--- a/kdevdesigner/designer/designerappiface.h
+++ b/kdevdesigner/designer/designerappiface.h
@@ -44,23 +44,23 @@ public:
DesignerProject *currentProject() const;
DesignerFormWindow *currentForm() const;
DesignerSourceFile *currentSourceFile() const;
- QPtrList<DesignerProject> projectList() const;
- void showStatusMessage( const QString &, int ms = 0 ) const;
+ TQPtrList<DesignerProject> projectList() const;
+ void showStatusMessage( const TQString &, int ms = 0 ) const;
DesignerDock *createDock() const;
DesignerOutputDock *outputDock() const;
- void setModified( bool b, QWidget *window );
+ void setModified( bool b, TQWidget *window );
void updateFunctionList();
- void onProjectChange( QObject *receiver, const char *slot );
- void onFormChange( QObject *receiver, const char *slot );
+ void onProjectChange( TQObject *receiver, const char *slot );
+ void onFormChange( TQObject *receiver, const char *slot );
bool singleProjectMode() const;
- void showError( QWidget *widget, int line, const QString &message );
+ void showError( TQWidget *widget, int line, const TQString &message );
void runFinished();
- void showStackFrame( QWidget *w, int line );
- void showDebugStep( QWidget *w, int line );
+ void showStackFrame( TQWidget *w, int line );
+ void showDebugStep( TQWidget *w, int line );
void runProjectPrecondition();
- void runProjectPostcondition( QObjectList *l );
+ void runProjectPostcondition( TQObjectList *l );
QRESULT queryInterface( const QUuid &uuid, QUnknownInterface** iface );
@@ -76,42 +76,42 @@ class DesignerProjectImpl: public DesignerProject
public:
DesignerProjectImpl( Project *pr );
- QPtrList<DesignerFormWindow> formList() const;
- QStringList formNames() const;
- QString formFileName( const QString &form ) const;
+ TQPtrList<DesignerFormWindow> formList() const;
+ TQStringList formNames() const;
+ TQString formFileName( const TQString &form ) const;
void addForm( DesignerFormWindow * );
void removeForm( DesignerFormWindow * );
- QString fileName() const;
- void setFileName( const QString & );
- QString projectName() const;
- void setProjectName( const QString & );
- QString databaseFile() const;
- void setDatabaseFile( const QString & );
+ TQString fileName() const;
+ void setFileName( const TQString & );
+ TQString projectName() const;
+ void setProjectName( const TQString & );
+ TQString databaseFile() const;
+ void setDatabaseFile( const TQString & );
void setupDatabases() const;
- QPtrList<DesignerDatabase> databaseConnections() const;
+ TQPtrList<DesignerDatabase> databaseConnections() const;
void addDatabase( DesignerDatabase * );
void removeDatabase( DesignerDatabase * );
void save() const;
- void setLanguage( const QString & );
- QString language() const;
- void setCustomSetting( const QString &key, const QString &value );
- QString customSetting( const QString &key ) const;
+ void setLanguage( const TQString & );
+ TQString language() const;
+ void setCustomSetting( const TQString &key, const TQString &value );
+ TQString customSetting( const TQString &key ) const;
DesignerPixmapCollection *pixmapCollection() const;
- void breakPoints( QMap<QString, QValueList<uint> > &bps ) const;
- QString breakPointCondition( QObject *o, int line ) const;
- void setBreakPointCondition( QObject *o, int line, const QString &condition );
+ void breakPoints( TQMap<TQString, TQValueList<uint> > &bps ) const;
+ TQString breakPointCondition( TQObject *o, int line ) const;
+ void setBreakPointCondition( TQObject *o, int line, const TQString &condition );
void clearAllBreakpoints() const;
- void setIncludePath( const QString &platform, const QString &path );
- void setLibs( const QString &platform, const QString &path );
- void setDefines( const QString &platform, const QString &path );
- void setConfig( const QString &platform, const QString &config );
- void setTemplate( const QString &t );
- QString config( const QString &platform ) const;
- QString libs( const QString &platform ) const;
- QString defines( const QString &platform ) const;
- QString includePath( const QString &platform ) const;
- QString templte() const;
- bool isGenericObject( QObject *o ) const;
+ void setIncludePath( const TQString &platform, const TQString &path );
+ void setLibs( const TQString &platform, const TQString &path );
+ void setDefines( const TQString &platform, const TQString &path );
+ void setConfig( const TQString &platform, const TQString &config );
+ void setTemplate( const TQString &t );
+ TQString config( const TQString &platform ) const;
+ TQString libs( const TQString &platform ) const;
+ TQString defines( const TQString &platform ) const;
+ TQString includePath( const TQString &platform ) const;
+ TQString templte() const;
+ bool isGenericObject( TQObject *o ) const;
private:
Project *project;
@@ -126,25 +126,25 @@ class DesignerDatabaseImpl: public DesignerDatabase
public:
DesignerDatabaseImpl( DatabaseConnection *d );
- QString name() const;
- void setName( const QString & );
- QString driver() const;
- void setDriver( const QString & );
- QString database() const;
- void setDatabase( const QString & );
- QString userName() const;
- void setUserName( const QString & );
- QString password() const;
- void setPassword( const QString & );
- QString hostName() const;
- void setHostName( const QString & );
- QStringList tables() const;
- void setTables( const QStringList & );
- QMap<QString, QStringList> fields() const;
- void setFields( const QMap<QString, QStringList> & );
+ TQString name() const;
+ void setName( const TQString & );
+ TQString driver() const;
+ void setDriver( const TQString & );
+ TQString database() const;
+ void setDatabase( const TQString & );
+ TQString userName() const;
+ void setUserName( const TQString & );
+ TQString password() const;
+ void setPassword( const TQString & );
+ TQString hostName() const;
+ void setHostName( const TQString & );
+ TQStringList tables() const;
+ void setTables( const TQStringList & );
+ TQMap<TQString, TQStringList> fields() const;
+ void setFields( const TQMap<TQString, TQStringList> & );
void open( bool suppressDialog = TRUE ) const;
void close() const;
- QSqlDatabase* connection();
+ TQSqlDatabase* connection();
private:
DatabaseConnection *db;
@@ -155,8 +155,8 @@ class DesignerPixmapCollectionImpl : public DesignerPixmapCollection
{
public:
DesignerPixmapCollectionImpl( PixmapCollection *coll );
- void addPixmap( const QPixmap &p, const QString &name, bool force );
- QPixmap pixmap( const QString &name ) const;
+ void addPixmap( const TQPixmap &p, const TQString &name, bool force );
+ TQPixmap pixmap( const TQString &name ) const;
private:
PixmapCollection *pixCollection;
@@ -168,16 +168,16 @@ class DesignerFormWindowImpl: public DesignerFormWindow
public:
DesignerFormWindowImpl( FormWindow *fw );
- QString name() const;
- void setName( const QString &n );
- QString fileName() const;
- void setFileName( const QString & );
+ TQString name() const;
+ void setName( const TQString &n );
+ TQString fileName() const;
+ void setFileName( const TQString & );
void save() const;
bool isModified() const;
- void insertWidget( QWidget * );
- QWidget *create( const char *className, QWidget *parent, const char *name );
- void removeWidget( QWidget * );
- QWidgetList widgets() const;
+ void insertWidget( TQWidget * );
+ TQWidget *create( const char *className, TQWidget *parent, const char *name );
+ void removeWidget( TQWidget * );
+ TQWidgetList widgets() const;
void undo();
void redo();
void cut();
@@ -191,48 +191,48 @@ public:
void layoutHSplit();
void layoutVSplit();
void layoutG();
- void layoutHContainer( QWidget* w );
- void layoutVContainer( QWidget* w );
- void layoutGContainer( QWidget* w );
+ void layoutHContainer( TQWidget* w );
+ void layoutVContainer( TQWidget* w );
+ void layoutGContainer( TQWidget* w );
void breakLayout();
- void selectWidget( QWidget * );
+ void selectWidget( TQWidget * );
void selectAll();
void clearSelection();
- bool isWidgetSelected( QWidget * ) const;
- QWidgetList selectedWidgets() const;
- QWidget *currentWidget() const;
- QWidget *form() const;
- void setCurrentWidget( QWidget * );
- QPtrList<QAction> actionList() const;
- QAction *createAction( const QString& text, const QIconSet& icon, const QString& menuText, int accel,
- QObject* parent, const char* name = 0, bool toggle = FALSE );
- void addAction( QAction * );
- void removeAction( QAction * );
+ bool isWidgetSelected( TQWidget * ) const;
+ TQWidgetList selectedWidgets() const;
+ TQWidget *currentWidget() const;
+ TQWidget *form() const;
+ void setCurrentWidget( TQWidget * );
+ TQPtrList<TQAction> actionList() const;
+ TQAction *createAction( const TQString& text, const TQIconSet& icon, const TQString& menuText, int accel,
+ TQObject* parent, const char* name = 0, bool toggle = FALSE );
+ void addAction( TQAction * );
+ void removeAction( TQAction * );
void preview() const;
- void addFunction( const QCString &function, const QString& specifier, const QString &access,
- const QString &type, const QString &language, const QString &returnType );
- void addConnection( QObject *sender, const char *signal, QObject *receiver, const char *slot );
- void setProperty( QObject *o, const char *property, const QVariant &value );
- QVariant property( QObject *o, const char *property ) const;
- void setPropertyChanged( QObject *o, const char *property, bool changed );
- bool isPropertyChanged( QObject *o, const char *property ) const;
- void setColumnFields( QObject *o, const QMap<QString, QString> & );
- QStringList implementationIncludes() const;
- QStringList declarationIncludes() const;
- void setImplementationIncludes( const QStringList &lst );
- void setDeclarationIncludes( const QStringList &lst );
- QStringList forwardDeclarations() const;
- void setForwardDeclarations( const QStringList &lst );
- QStringList signalList() const;
- void setSignalList( const QStringList &lst );
- void addMenu( const QString &text, const QString &name );
- void addMenuAction( const QString &menu, QAction *a );
- void addMenuSeparator( const QString &menu );
- void addToolBar( const QString &text, const QString &name );
- void addToolBarAction( const QString &tb, QAction *a );
- void addToolBarSeparator( const QString &tb );
-
- void onModificationChange( QObject *receiver, const char *slot );
+ void addFunction( const TQCString &function, const TQString& specifier, const TQString &access,
+ const TQString &type, const TQString &language, const TQString &returnType );
+ void addConnection( TQObject *sender, const char *signal, TQObject *receiver, const char *slot );
+ void setProperty( TQObject *o, const char *property, const TQVariant &value );
+ TQVariant property( TQObject *o, const char *property ) const;
+ void setPropertyChanged( TQObject *o, const char *property, bool changed );
+ bool isPropertyChanged( TQObject *o, const char *property ) const;
+ void setColumnFields( TQObject *o, const TQMap<TQString, TQString> & );
+ TQStringList implementationIncludes() const;
+ TQStringList declarationIncludes() const;
+ void setImplementationIncludes( const TQStringList &lst );
+ void setDeclarationIncludes( const TQStringList &lst );
+ TQStringList forwardDeclarations() const;
+ void setForwardDeclarations( const TQStringList &lst );
+ TQStringList signalList() const;
+ void setSignalList( const TQStringList &lst );
+ void addMenu( const TQString &text, const TQString &name );
+ void addMenuAction( const TQString &menu, TQAction *a );
+ void addMenuSeparator( const TQString &menu );
+ void addToolBar( const TQString &text, const TQString &name );
+ void addToolBarAction( const TQString &tb, TQAction *a );
+ void addToolBarSeparator( const TQString &tb );
+
+ void onModificationChange( TQObject *receiver, const char *slot );
private:
FormWindow *formWindow;
@@ -244,7 +244,7 @@ class DesignerDockImpl: public DesignerDock
public:
DesignerDockImpl();
- QDockWindow *dockWindow() const;
+ TQDockWindow *dockWindow() const;
};
class DesignerOutputDockImpl: public DesignerOutputDock
@@ -252,10 +252,10 @@ class DesignerOutputDockImpl: public DesignerOutputDock
public:
DesignerOutputDockImpl( OutputWindow *ow );
- QWidget *addView( const QString &pageName );
- void appendDebug( const QString & );
+ TQWidget *addView( const TQString &pageName );
+ void appendDebug( const TQString & );
void clearDebug();
- void appendError( const QString &, int );
+ void appendError( const TQString &, int );
void clearError();
private:
@@ -267,7 +267,7 @@ class DesignerSourceFileImpl : public DesignerSourceFile
{
public:
DesignerSourceFileImpl( SourceFile *e );
- QString fileName() const;
+ TQString fileName() const;
private:
SourceFile *ed;