summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/interfaces')
-rw-r--r--kdevdesigner/interfaces/actioninterface.h8
-rw-r--r--kdevdesigner/interfaces/classbrowserinterface.h8
-rw-r--r--kdevdesigner/interfaces/designerinterface.h224
-rw-r--r--kdevdesigner/interfaces/editorinterface.h26
-rw-r--r--kdevdesigner/interfaces/filterinterface.h4
-rw-r--r--kdevdesigner/interfaces/interpreterinterface.h2
-rw-r--r--kdevdesigner/interfaces/languageinterface.h86
-rw-r--r--kdevdesigner/interfaces/preferenceinterface.h10
-rw-r--r--kdevdesigner/interfaces/projectsettingsiface.h12
-rw-r--r--kdevdesigner/interfaces/sourcetemplateiface.h12
-rw-r--r--kdevdesigner/interfaces/templatewizardiface.h2
11 files changed, 197 insertions, 197 deletions
diff --git a/kdevdesigner/interfaces/actioninterface.h b/kdevdesigner/interfaces/actioninterface.h
index 75396f04..b394b136 100644
--- a/kdevdesigner/interfaces/actioninterface.h
+++ b/kdevdesigner/interfaces/actioninterface.h
@@ -57,19 +57,19 @@ public:
/*! This functions is called to create the action with the name \a
name. \a parent should be used as parent of the action.
- In the implementation return the QAction object for the action
+ In the implementation return the TQAction object for the action
\a name.
*/
- virtual QAction* create( const QString &name, QObject* parent = 0 ) = 0;
+ virtual TQAction* create( const TQString &name, TQObject* parent = 0 ) = 0;
/*! In the implementation of the interface return the name of the
group of the action \a name.
*/
- virtual QString group( const QString &name ) const = 0;
+ virtual TQString group( const TQString &name ) const = 0;
/*! In the implementation of the interface return whether the
action \a name should appear in the location \a l */
- virtual bool location( const QString &name, Location l ) const = 0;
+ virtual bool location( const TQString &name, Location l ) const = 0;
/*! \internal */
virtual void connectTo( QUnknownInterface *appInterface ) = 0;
diff --git a/kdevdesigner/interfaces/classbrowserinterface.h b/kdevdesigner/interfaces/classbrowserinterface.h
index 2db43afe..c16741f6 100644
--- a/kdevdesigner/interfaces/classbrowserinterface.h
+++ b/kdevdesigner/interfaces/classbrowserinterface.h
@@ -41,7 +41,7 @@
//
#include <private/qcom_p.h>
-#include <qobject.h>
+#include <tqobject.h>
class QListView;
// {4ede3c32-ae96-4b7a-9e38-9f1d93592391}
@@ -53,11 +53,11 @@ struct ClassBrowserInterface : public QUnknownInterface
{
enum Type { Class, Function };
- virtual QListView *createClassBrowser( QWidget *parent ) const = 0;
- virtual void update( const QString &code ) const = 0;
+ virtual TQListView *createClassBrowser( TQWidget *parent ) const = 0;
+ virtual void update( const TQString &code ) const = 0;
virtual void clear() const = 0;
- virtual void onClick( QObject *receiver, const char *slot ) = 0;
+ virtual void onClick( TQObject *receiver, const char *slot ) = 0;
};
#endif
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;
};
diff --git a/kdevdesigner/interfaces/editorinterface.h b/kdevdesigner/interfaces/editorinterface.h
index 0aff6c4f..f7ca66b5 100644
--- a/kdevdesigner/interfaces/editorinterface.h
+++ b/kdevdesigner/interfaces/editorinterface.h
@@ -41,8 +41,8 @@
//
#include <private/qcom_p.h>
-#include <qmap.h>
-#include <qvaluelist.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
class QWidget;
class QObjectList;
@@ -61,12 +61,12 @@ struct EditorInterface : public QUnknownInterface
Debugging
};
- virtual QWidget *editor( bool readOnly,
- QWidget *parent,
+ virtual TQWidget *editor( bool readOnly,
+ TQWidget *parent,
QUnknownInterface *designerIface ) = 0;
- virtual void setText( const QString &txt ) = 0;
- virtual QString text() const = 0;
+ virtual void setText( const TQString &txt ) = 0;
+ virtual TQString text() const = 0;
virtual bool isUndoAvailable() const = 0;
virtual bool isRedoAvailable() const = 0;
virtual void undo() = 0;
@@ -75,13 +75,13 @@ struct EditorInterface : public QUnknownInterface
virtual void copy() = 0;
virtual void paste() = 0;
virtual void selectAll() = 0;
- virtual bool find( const QString &expr, bool cs, bool wo, bool forward, bool startAtCursor ) = 0;
- virtual bool replace( const QString &find, const QString &replace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll ) = 0;
+ virtual bool find( const TQString &expr, bool cs, bool wo, bool forward, bool startAtCursor ) = 0;
+ virtual bool replace( const TQString &find, const TQString &replace, bool cs, bool wo, bool forward, bool startAtCursor, bool replaceAll ) = 0;
virtual void gotoLine( int line ) = 0;
virtual void indent() = 0;
- virtual void scrollTo( const QString &txt, const QString &first ) = 0;
+ virtual void scrollTo( const TQString &txt, const TQString &first ) = 0;
virtual void splitView() = 0;
- virtual void setContext( QObject *this_ ) = 0;
+ virtual void setContext( TQObject *this_ ) = 0;
virtual void setError( int line ) = 0;
virtual void setStep( int line ) = 0;
virtual void setStackFrame( int line ) = 0;
@@ -91,11 +91,11 @@ struct EditorInterface : public QUnknownInterface
virtual void setModified( bool m ) = 0;
virtual bool isModified() const = 0;
virtual int numLines() const = 0;
- virtual void breakPoints( QValueList<uint> &l ) const = 0;
- virtual void setBreakPoints( const QValueList<uint> &l ) = 0;
+ virtual void breakPoints( TQValueList<uint> &l ) const = 0;
+ virtual void setBreakPoints( const TQValueList<uint> &l ) = 0;
virtual void setMode( Mode m ) = 0;
- virtual void onBreakPointChange( QObject *receiver, const char *slot ) = 0;
+ virtual void onBreakPointChange( TQObject *receiver, const char *slot ) = 0;
};
diff --git a/kdevdesigner/interfaces/filterinterface.h b/kdevdesigner/interfaces/filterinterface.h
index 98abd250..bb6b94b8 100644
--- a/kdevdesigner/interfaces/filterinterface.h
+++ b/kdevdesigner/interfaces/filterinterface.h
@@ -50,7 +50,7 @@ struct ImportFilterInterface : public QFeatureListInterface
back one or more .ui files, which it can open then. In the
implementation of the interface you have to return these
filenames, which the filter created, in this function.*/
- virtual QStringList import( const QString &filter, const QString &filename ) = 0;
+ virtual TQStringList import( const TQString &filter, const TQString &filename ) = 0;
};
// *************** INTERNAL *************************
@@ -62,7 +62,7 @@ struct ImportFilterInterface : public QFeatureListInterface
struct ExportFilterInterface : public QFeatureListInterface
{
-// virtual QStringList export( const QString& filter, const QString& filename ) = 0;
+// virtual TQStringList export( const TQString& filter, const TQString& filename ) = 0;
};
#endif
diff --git a/kdevdesigner/interfaces/interpreterinterface.h b/kdevdesigner/interfaces/interpreterinterface.h
index 8a64e6fc..ef94f184 100644
--- a/kdevdesigner/interfaces/interpreterinterface.h
+++ b/kdevdesigner/interfaces/interpreterinterface.h
@@ -51,7 +51,7 @@ class QObject;
struct InterpreterInterface : public QUnknownInterface
{
- virtual void setBreakPoints( QObject *obj, const QValueList<uint> &lst ) = 0;
+ virtual void setBreakPoints( TQObject *obj, const TQValueList<uint> &lst ) = 0;
};
diff --git a/kdevdesigner/interfaces/languageinterface.h b/kdevdesigner/interfaces/languageinterface.h
index 6fc0b8f9..4b12e5b9 100644
--- a/kdevdesigner/interfaces/languageinterface.h
+++ b/kdevdesigner/interfaces/languageinterface.h
@@ -41,10 +41,10 @@
//
#include <private/qcom_p.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
-#include <qmap.h>
-#include <qstrlist.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
+#include <tqmap.h>
+#include <tqstrlist.h>
// {f208499a-6f69-4883-9219-6e936e55a330}
#ifndef IID_Language
@@ -55,13 +55,13 @@ struct LanguageInterface : public QUnknownInterface
{
struct Function
{
- QString name;
- QString body;
- QString returnType;
- QString comments;
+ TQString name;
+ TQString body;
+ TQString returnType;
+ TQString comments;
int start;
int end;
- QString access;
+ TQString access;
bool operator==( const Function &f ) const {
return ( name == f.name &&
body == f.body &&
@@ -72,9 +72,9 @@ struct LanguageInterface : public QUnknownInterface
struct Connection
{
- QString sender;
- QString signal;
- QString slot;
+ TQString sender;
+ TQString signal;
+ TQString slot;
bool operator==( const Connection &c ) const {
return ( sender == c.sender &&
signal == c.signal &&
@@ -89,42 +89,42 @@ struct LanguageInterface : public QUnknownInterface
CompressProject
};
- virtual void functions( const QString &code, QValueList<Function> *funcs ) const = 0;
- virtual void connections( const QString &code, QValueList<Connection> *connections ) const = 0;
- virtual QString createFunctionStart( const QString &className, const QString &func,
- const QString &returnType, const QString &access ) = 0;
- virtual QString createArguments( const QString &cpp_signature ) = 0;
- virtual QString createEmptyFunction() = 0;
- virtual QStringList definitions() const = 0;
- virtual QStringList definitionEntries( const QString &definition, QUnknownInterface *designerIface ) const = 0;
- virtual void setDefinitionEntries( const QString &definition, const QStringList &entries, QUnknownInterface *designerIface ) = 0;
+ virtual void functions( const TQString &code, TQValueList<Function> *funcs ) const = 0;
+ virtual void connections( const TQString &code, TQValueList<Connection> *connections ) const = 0;
+ virtual TQString createFunctionStart( const TQString &className, const TQString &func,
+ const TQString &returnType, const TQString &access ) = 0;
+ virtual TQString createArguments( const TQString &cpp_signature ) = 0;
+ virtual TQString createEmptyFunction() = 0;
+ virtual TQStringList definitions() const = 0;
+ virtual TQStringList definitionEntries( const TQString &definition, QUnknownInterface *designerIface ) const = 0;
+ virtual void setDefinitionEntries( const TQString &definition, const TQStringList &entries, QUnknownInterface *designerIface ) = 0;
virtual bool supports( Support s ) const = 0;
- virtual QStringList fileFilterList() const = 0;
- virtual QStringList fileExtensionList() const = 0;
- virtual void preferedExtensions( QMap<QString, QString> &extensionMap ) const = 0;
- virtual QString projectKeyForExtension( const QString &extension ) const = 0;
- virtual void sourceProjectKeys( QStringList &keys ) const = 0;
- virtual QString cleanSignature( const QString &sig ) = 0;
- virtual void loadFormCode( const QString &form, const QString &filename,
- QValueList<Function> &functions,
- QStringList &vars,
- QValueList<Connection> &connections ) = 0;
- virtual QString formCodeExtension() const = 0;
+ virtual TQStringList fileFilterList() const = 0;
+ virtual TQStringList fileExtensionList() const = 0;
+ virtual void preferedExtensions( TQMap<TQString, TQString> &extensionMap ) const = 0;
+ virtual TQString projectKeyForExtension( const TQString &extension ) const = 0;
+ virtual void sourceProjectKeys( TQStringList &keys ) const = 0;
+ virtual TQString cleanSignature( const TQString &sig ) = 0;
+ virtual void loadFormCode( const TQString &form, const TQString &filename,
+ TQValueList<Function> &functions,
+ TQStringList &vars,
+ TQValueList<Connection> &connections ) = 0;
+ virtual TQString formCodeExtension() const = 0;
- virtual bool canConnect( const QString &signal, const QString &slot ) = 0;
+ virtual bool canConnect( const TQString &signal, const TQString &slot ) = 0;
- virtual void compressProject( const QString &projectFile, const QString &compressedFile,
+ virtual void compressProject( const TQString &projectFile, const TQString &compressedFile,
bool withWarning ) = 0;
- virtual QString uncompressProject( const QString &projectFile, const QString &destDir ) = 0;
- virtual QString aboutText() const = 0;
+ virtual TQString uncompressProject( const TQString &projectFile, const TQString &destDir ) = 0;
+ virtual TQString aboutText() const = 0;
- virtual void addConnection( const QString &sender, const QString &signal,
- const QString &receiver, const QString &slot,
- QString *code ) = 0;
- virtual void removeConnection( const QString &sender, const QString &signal,
- const QString &receiver, const QString &slot,
- QString *code ) = 0;
- virtual QStrList signalNames( QObject *obj ) const = 0;
+ virtual void addConnection( const TQString &sender, const TQString &signal,
+ const TQString &receiver, const TQString &slot,
+ TQString *code ) = 0;
+ virtual void removeConnection( const TQString &sender, const TQString &signal,
+ const TQString &receiver, const TQString &slot,
+ TQString *code ) = 0;
+ virtual TQStrList signalNames( TQObject *obj ) const = 0;
};
diff --git a/kdevdesigner/interfaces/preferenceinterface.h b/kdevdesigner/interfaces/preferenceinterface.h
index 880fe285..43f72019 100644
--- a/kdevdesigner/interfaces/preferenceinterface.h
+++ b/kdevdesigner/interfaces/preferenceinterface.h
@@ -41,8 +41,8 @@
//
#include <private/qcom_p.h>
-#include <qwidgetlist.h>
-#include <qcstring.h>
+#include <tqwidgetlist.h>
+#include <tqcstring.h>
// {5c168ee7-4bee-469f-9995-6afdb04ce5a2}
#ifndef IID_Preference
@@ -53,9 +53,9 @@ struct PreferenceInterface : public QUnknownInterface
{
struct Preference
{
- QWidget *tab;
- QString title;
- QObject *receiver;
+ TQWidget *tab;
+ TQString title;
+ TQObject *receiver;
const char *init_slot;
const char *accept_slot;
};
diff --git a/kdevdesigner/interfaces/projectsettingsiface.h b/kdevdesigner/interfaces/projectsettingsiface.h
index ee571a7b..9bbfc31c 100644
--- a/kdevdesigner/interfaces/projectsettingsiface.h
+++ b/kdevdesigner/interfaces/projectsettingsiface.h
@@ -41,8 +41,8 @@
//
#include <private/qcom_p.h>
-#include <qwidgetlist.h>
-#include <qcstring.h>
+#include <tqwidgetlist.h>
+#include <tqcstring.h>
// {d332785d-17fb-4894-84fe-50dbd0ad9512}
#ifndef IID_ProjectSettings
@@ -53,15 +53,15 @@ struct ProjectSettingsInterface : public QUnknownInterface
{
struct ProjectSettings
{
- QWidget *tab;
- QString title;
- QObject *receiver;
+ TQWidget *tab;
+ TQString title;
+ TQObject *receiver;
const char *init_slot;
const char *accept_slot;
};
virtual ProjectSettings *projectSetting() = 0;
- virtual QStringList projectSettings() const = 0;
+ virtual TQStringList projectSettings() const = 0;
virtual void connectTo( QUnknownInterface *appInterface ) = 0;
virtual void deleteProjectSettingsObject( ProjectSettings * ) = 0;
};
diff --git a/kdevdesigner/interfaces/sourcetemplateiface.h b/kdevdesigner/interfaces/sourcetemplateiface.h
index c1dc2a74..b9c58b8d 100644
--- a/kdevdesigner/interfaces/sourcetemplateiface.h
+++ b/kdevdesigner/interfaces/sourcetemplateiface.h
@@ -41,7 +41,7 @@
//
#include <private/qcom_p.h>
-#include <qstring.h>
+#include <tqstring.h>
// {1b3446a4-1c71-424b-8789-1f34eb5697d8}
#ifndef IID_SourceTemplate
@@ -52,13 +52,13 @@ struct SourceTemplateInterface : public QFeatureListInterface
{
struct Source
{
- QString code;
+ TQString code;
enum Type { FileName, Unnamed, Invalid } type;
- QString filename;
- QString extension;
+ TQString filename;
+ TQString extension;
};
- virtual Source create( const QString &templ, QUnknownInterface *appIface ) = 0;
- virtual QString language( const QString &templ ) const = 0;
+ virtual Source create( const TQString &templ, QUnknownInterface *appIface ) = 0;
+ virtual TQString language( const TQString &templ ) const = 0;
};
diff --git a/kdevdesigner/interfaces/templatewizardiface.h b/kdevdesigner/interfaces/templatewizardiface.h
index 82b204da..36724e34 100644
--- a/kdevdesigner/interfaces/templatewizardiface.h
+++ b/kdevdesigner/interfaces/templatewizardiface.h
@@ -53,7 +53,7 @@ struct DesignerFormWindow;
class TemplateWizardInterface : public QFeatureListInterface
{
public:
- virtual void setup( const QString &templ, QWidget *widget, DesignerFormWindow *fw, QUnknownInterface *appIface ) = 0;
+ virtual void setup( const TQString &templ, TQWidget *widget, DesignerFormWindow *fw, QUnknownInterface *appIface ) = 0;
};