summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/interfaces/designerinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/interfaces/designerinterface.h')
-rw-r--r--kdevdesigner/interfaces/designerinterface.h224
1 files changed, 112 insertions, 112 deletions
diff --git a/kdevdesigner/interfaces/designerinterface.h b/kdevdesigner/interfaces/designerinterface.h
index de7487e2..64ffb41c 100644
--- a/kdevdesigner/interfaces/designerinterface.h
+++ b/kdevdesigner/interfaces/designerinterface.h
@@ -41,12 +41,12 @@
//
#include <private/qcom_p.h>
-#include <qptrlist.h>
-#include <qstring.h>
-#include <qmap.h>
-#include <qstringlist.h>
-#include <qwidgetlist.h>
-#include <qobjectlist.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqmap.h>
+#include <tqstringlist.h>
+#include <tqwidgetlist.h>
+#include <tqobjectlist.h>
struct DesignerProject;
struct DesignerDatabase;
@@ -79,109 +79,109 @@ struct DesignerInterface : public QUnknownInterface
virtual DesignerProject *currentProject() const = 0;
virtual DesignerFormWindow *currentForm() const = 0;
virtual DesignerSourceFile *currentSourceFile() const = 0;
- virtual QPtrList<DesignerProject> projectList() const = 0;
- virtual void showStatusMessage( const QString &, int ms = 0 ) const = 0;
+ virtual TQPtrList<DesignerProject> projectList() const = 0;
+ virtual void showStatusMessage( const TQString &, int ms = 0 ) const = 0;
virtual DesignerDock *createDock() const = 0;
virtual DesignerOutputDock *outputDock() const = 0;
- virtual void setModified( bool b, QWidget *window ) = 0;
+ virtual void setModified( bool b, TQWidget *window ) = 0;
virtual void updateFunctionList() = 0;
- virtual void onProjectChange( QObject *receiver, const char *slot ) = 0;
- virtual void onFormChange( QObject *receiver, const char *slot ) = 0;
+ virtual void onProjectChange( TQObject *receiver, const char *slot ) = 0;
+ virtual void onFormChange( TQObject *receiver, const char *slot ) = 0;
virtual bool singleProjectMode() const = 0;
- virtual void showError( QWidget *widget, int line, const QString &message ) = 0;
+ virtual void showError( TQWidget *widget, int line, const TQString &message ) = 0;
virtual void runFinished() = 0;
- virtual void showStackFrame( QWidget *w, int line ) = 0;
- virtual void showDebugStep( QWidget *w, int line ) = 0;
+ virtual void showStackFrame( TQWidget *w, int line ) = 0;
+ virtual void showDebugStep( TQWidget *w, int line ) = 0;
virtual void runProjectPrecondition() = 0;
- virtual void runProjectPostcondition( QObjectList *l ) = 0;
+ virtual void runProjectPostcondition( TQObjectList *l ) = 0;
};
struct DesignerProject
{
- virtual QPtrList<DesignerFormWindow> formList() const = 0;
- virtual QStringList formNames() const = 0;
- virtual QString formFileName( const QString &form ) const = 0;
+ virtual TQPtrList<DesignerFormWindow> formList() const = 0;
+ virtual TQStringList formNames() const = 0;
+ virtual TQString formFileName( const TQString &form ) const = 0;
virtual void addForm( DesignerFormWindow * ) = 0;
virtual void removeForm( DesignerFormWindow * ) = 0;
- virtual QString fileName() const = 0;
- virtual void setFileName( const QString & ) = 0;
- virtual QString projectName() const = 0;
- virtual void setProjectName( const QString & ) = 0;
- virtual QString databaseFile() const = 0;
- virtual void setDatabaseFile( const QString & ) = 0;
+ virtual TQString fileName() const = 0;
+ virtual void setFileName( const TQString & ) = 0;
+ virtual TQString projectName() const = 0;
+ virtual void setProjectName( const TQString & ) = 0;
+ virtual TQString databaseFile() const = 0;
+ virtual void setDatabaseFile( const TQString & ) = 0;
virtual void setupDatabases() const = 0;
- virtual QPtrList<DesignerDatabase> databaseConnections() const = 0;
+ virtual TQPtrList<DesignerDatabase> databaseConnections() const = 0;
virtual void addDatabase( DesignerDatabase * ) = 0;
virtual void removeDatabase( DesignerDatabase * ) = 0;
virtual void save() const = 0;
- virtual void setLanguage( const QString & ) = 0;
- virtual QString language() const = 0;
- virtual void setCustomSetting( const QString &key, const QString &value ) = 0;
- virtual QString customSetting( const QString &key ) const = 0;
+ virtual void setLanguage( const TQString & ) = 0;
+ virtual TQString language() const = 0;
+ virtual void setCustomSetting( const TQString &key, const TQString &value ) = 0;
+ virtual TQString customSetting( const TQString &key ) const = 0;
virtual DesignerPixmapCollection *pixmapCollection() const = 0;
- virtual void breakPoints( QMap<QString, QValueList<uint> > &bps ) const = 0;
- virtual QString breakPointCondition( QObject *o, int line ) const = 0;
- virtual void setBreakPointCondition( QObject *o, int line, const QString &condition ) = 0;
+ virtual void breakPoints( TQMap<TQString, TQValueList<uint> > &bps ) const = 0;
+ virtual TQString breakPointCondition( TQObject *o, int line ) const = 0;
+ virtual void setBreakPointCondition( TQObject *o, int line, const TQString &condition ) = 0;
virtual void clearAllBreakpoints() const = 0;
- virtual void setIncludePath( const QString &platform, const QString &path ) = 0;
- virtual void setLibs( const QString &platform, const QString &path ) = 0;
- virtual void setDefines( const QString &platform, const QString &path ) = 0;
- virtual void setConfig( const QString &platform, const QString &config ) = 0;
- virtual void setTemplate( const QString &t ) = 0;
- virtual QString config( const QString &platform ) const = 0;
- virtual QString libs( const QString &platform ) const = 0;
- virtual QString defines( const QString &platform ) const = 0;
- virtual QString includePath( const QString &platform ) const = 0;
- virtual QString templte() const = 0;
- virtual bool isGenericObject( QObject *o ) const = 0;
+ virtual void setIncludePath( const TQString &platform, const TQString &path ) = 0;
+ virtual void setLibs( const TQString &platform, const TQString &path ) = 0;
+ virtual void setDefines( const TQString &platform, const TQString &path ) = 0;
+ virtual void setConfig( const TQString &platform, const TQString &config ) = 0;
+ virtual void setTemplate( const TQString &t ) = 0;
+ virtual TQString config( const TQString &platform ) const = 0;
+ virtual TQString libs( const TQString &platform ) const = 0;
+ virtual TQString defines( const TQString &platform ) const = 0;
+ virtual TQString includePath( const TQString &platform ) const = 0;
+ virtual TQString templte() const = 0;
+ virtual bool isGenericObject( TQObject *o ) const = 0;
};
struct DesignerDatabase
{
- virtual QString name() const = 0;
- virtual void setName( const QString & ) = 0;
- virtual QString driver() const = 0;
- virtual void setDriver( const QString & ) = 0;
- virtual QString database() const = 0;
- virtual void setDatabase( const QString & ) = 0;
- virtual QString userName() const = 0;
- virtual void setUserName( const QString & ) = 0;
- virtual QString password() const = 0;
- virtual void setPassword( const QString & ) = 0;
- virtual QString hostName() const = 0;
- virtual void setHostName( const QString & ) = 0;
- virtual QStringList tables() const = 0;
- virtual void setTables( const QStringList & ) = 0;
- virtual QMap<QString, QStringList> fields() const = 0;
- virtual void setFields( const QMap<QString, QStringList> & ) = 0;
+ virtual TQString name() const = 0;
+ virtual void setName( const TQString & ) = 0;
+ virtual TQString driver() const = 0;
+ virtual void setDriver( const TQString & ) = 0;
+ virtual TQString database() const = 0;
+ virtual void setDatabase( const TQString & ) = 0;
+ virtual TQString userName() const = 0;
+ virtual void setUserName( const TQString & ) = 0;
+ virtual TQString password() const = 0;
+ virtual void setPassword( const TQString & ) = 0;
+ virtual TQString hostName() const = 0;
+ virtual void setHostName( const TQString & ) = 0;
+ virtual TQStringList tables() const = 0;
+ virtual void setTables( const TQStringList & ) = 0;
+ virtual TQMap<TQString, TQStringList> fields() const = 0;
+ virtual void setFields( const TQMap<TQString, TQStringList> & ) = 0;
virtual void open( bool suppressDialog = FALSE ) const = 0;
virtual void close() const = 0;
- virtual QSqlDatabase* connection() = 0;
+ virtual TQSqlDatabase* connection() = 0;
};
struct DesignerPixmapCollection
{
- virtual void addPixmap( const QPixmap &p, const QString &name, bool force ) = 0;
- virtual QPixmap pixmap( const QString &name ) const = 0;
+ virtual void addPixmap( const TQPixmap &p, const TQString &name, bool force ) = 0;
+ virtual TQPixmap pixmap( const TQString &name ) const = 0;
};
struct DesignerFormWindow
{
- virtual QString name() const = 0;
- virtual void setName( const QString &n ) = 0;
- virtual QString fileName() const = 0;
- virtual void setFileName( const QString & ) = 0;
+ virtual TQString name() const = 0;
+ virtual void setName( const TQString &n ) = 0;
+ virtual TQString fileName() const = 0;
+ virtual void setFileName( const TQString & ) = 0;
virtual void save() const = 0;
virtual bool isModified() const = 0;
- virtual void insertWidget( QWidget * ) = 0;
- virtual void removeWidget( QWidget * ) = 0;
- virtual QWidget *create( const char *className, QWidget *parent, const char *name ) = 0;
- virtual QWidgetList widgets() const = 0;
+ virtual void insertWidget( TQWidget * ) = 0;
+ virtual void removeWidget( TQWidget * ) = 0;
+ virtual TQWidget *create( const char *className, TQWidget *parent, const char *name ) = 0;
+ virtual TQWidgetList widgets() const = 0;
virtual void undo() = 0;
virtual void redo() = 0;
virtual void cut() = 0;
@@ -195,66 +195,66 @@ struct DesignerFormWindow
virtual void layoutHSplit() = 0;
virtual void layoutVSplit() = 0;
virtual void layoutG() = 0;
- virtual void layoutHContainer( QWidget* w ) = 0;
- virtual void layoutVContainer( QWidget* w ) = 0;
- virtual void layoutGContainer( QWidget* w ) = 0;
+ virtual void layoutHContainer( TQWidget* w ) = 0;
+ virtual void layoutVContainer( TQWidget* w ) = 0;
+ virtual void layoutGContainer( TQWidget* w ) = 0;
virtual void breakLayout() = 0;
- virtual void selectWidget( QWidget * w ) = 0;
+ virtual void selectWidget( TQWidget * w ) = 0;
virtual void selectAll() = 0;
virtual void clearSelection() = 0;
- virtual bool isWidgetSelected( QWidget * ) const = 0;
- virtual QWidgetList selectedWidgets() const = 0;
- virtual QWidget *currentWidget() const = 0;
- virtual QWidget *form() const = 0;
- virtual void setCurrentWidget( QWidget * ) = 0;
- virtual QPtrList<QAction> actionList() const = 0;
- virtual QAction *createAction( const QString& text, const QIconSet& icon, const QString& menuText, int accel,
- QObject* parent, const char* name = 0, bool toggle = FALSE ) = 0;
- virtual void addAction( QAction * ) = 0;
- virtual void removeAction( QAction * ) = 0;
+ virtual bool isWidgetSelected( TQWidget * ) const = 0;
+ virtual TQWidgetList selectedWidgets() const = 0;
+ virtual TQWidget *currentWidget() const = 0;
+ virtual TQWidget *form() const = 0;
+ virtual void setCurrentWidget( TQWidget * ) = 0;
+ virtual TQPtrList<TQAction> actionList() const = 0;
+ virtual TQAction *createAction( const TQString& text, const TQIconSet& icon, const TQString& menuText, int accel,
+ TQObject* parent, const char* name = 0, bool toggle = FALSE ) = 0;
+ virtual void addAction( TQAction * ) = 0;
+ virtual void removeAction( TQAction * ) = 0;
virtual void preview() const = 0;
- virtual void addFunction( const QCString &slot, const QString &specifier, const QString &access,
- const QString &type, const QString &language, const QString &returnType ) = 0;
- virtual void addConnection( QObject *sender, const char *signal, QObject *receiver, const char *slot ) = 0;
- virtual void setProperty( QObject *o, const char *property, const QVariant &value ) = 0;
- virtual QVariant property( QObject *o, const char *property ) const = 0;
- virtual void setPropertyChanged( QObject *o, const char *property, bool changed ) = 0;
- virtual bool isPropertyChanged( QObject *o, const char *property ) const = 0;
- virtual void setColumnFields( QObject *o, const QMap<QString, QString> & ) = 0;
- virtual QStringList implementationIncludes() const = 0;
- virtual QStringList declarationIncludes() const = 0;
- virtual void setImplementationIncludes( const QStringList &lst ) = 0;
- virtual void setDeclarationIncludes( const QStringList &lst ) = 0;
- virtual QStringList forwardDeclarations() const = 0;
- virtual void setForwardDeclarations( const QStringList &lst ) = 0;
- virtual QStringList signalList() const = 0;
- virtual void setSignalList( const QStringList &lst ) = 0;
- virtual void addMenu( const QString &text, const QString &name ) = 0;
- virtual void addMenuAction( const QString &menu, QAction *a ) = 0;
- virtual void addMenuSeparator( const QString &menu ) = 0;
- virtual void addToolBar( const QString &text, const QString &name ) = 0;
- virtual void addToolBarAction( const QString &tb, QAction *a ) = 0;
- virtual void addToolBarSeparator( const QString &tb ) = 0;
+ virtual void addFunction( const TQCString &slot, const TQString &specifier, const TQString &access,
+ const TQString &type, const TQString &language, const TQString &returnType ) = 0;
+ virtual void addConnection( TQObject *sender, const char *signal, TQObject *receiver, const char *slot ) = 0;
+ virtual void setProperty( TQObject *o, const char *property, const TQVariant &value ) = 0;
+ virtual TQVariant property( TQObject *o, const char *property ) const = 0;
+ virtual void setPropertyChanged( TQObject *o, const char *property, bool changed ) = 0;
+ virtual bool isPropertyChanged( TQObject *o, const char *property ) const = 0;
+ virtual void setColumnFields( TQObject *o, const TQMap<TQString, TQString> & ) = 0;
+ virtual TQStringList implementationIncludes() const = 0;
+ virtual TQStringList declarationIncludes() const = 0;
+ virtual void setImplementationIncludes( const TQStringList &lst ) = 0;
+ virtual void setDeclarationIncludes( const TQStringList &lst ) = 0;
+ virtual TQStringList forwardDeclarations() const = 0;
+ virtual void setForwardDeclarations( const TQStringList &lst ) = 0;
+ virtual TQStringList signalList() const = 0;
+ virtual void setSignalList( const TQStringList &lst ) = 0;
+ virtual void addMenu( const TQString &text, const TQString &name ) = 0;
+ virtual void addMenuAction( const TQString &menu, TQAction *a ) = 0;
+ virtual void addMenuSeparator( const TQString &menu ) = 0;
+ virtual void addToolBar( const TQString &text, const TQString &name ) = 0;
+ virtual void addToolBarAction( const TQString &tb, TQAction *a ) = 0;
+ virtual void addToolBarSeparator( const TQString &tb ) = 0;
- virtual void onModificationChange( QObject *receiver, const char *slot ) = 0;
+ virtual void onModificationChange( TQObject *receiver, const char *slot ) = 0;
};
struct DesignerSourceFile
{
- virtual QString fileName() const = 0;
+ virtual TQString fileName() const = 0;
};
struct DesignerDock
{
- virtual QDockWindow *dockWindow() const = 0;
+ virtual TQDockWindow *dockWindow() const = 0;
};
struct DesignerOutputDock
{
- virtual QWidget *addView( const QString &pageName ) = 0;
- virtual void appendDebug( const QString & ) = 0;
+ virtual TQWidget *addView( const TQString &pageName ) = 0;
+ virtual void appendDebug( const TQString & ) = 0;
virtual void clearDebug() = 0;
- virtual void appendError( const QString &, int ) = 0;
+ virtual void appendError( const TQString &, int ) = 0;
virtual void clearError() = 0;
};