diff options
Diffstat (limited to 'kdevdesigner/designer/sourceeditor.h')
-rw-r--r-- | kdevdesigner/designer/sourceeditor.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdevdesigner/designer/sourceeditor.h b/kdevdesigner/designer/sourceeditor.h index a554b80c..4873f5f1 100644 --- a/kdevdesigner/designer/sourceeditor.h +++ b/kdevdesigner/designer/sourceeditor.h @@ -28,8 +28,8 @@ #define SOURCEEDITOR_H #include "../interfaces/editorinterface.h" -#include <qvbox.h> -#include <qguardedptr.h> +#include <tqvbox.h> +#include <tqguardedptr.h> class FormWindow; class QCloseEvent; @@ -42,23 +42,23 @@ class SourceEditor : public QVBox Q_OBJECT public: - SourceEditor( QWidget *parent, EditorInterface *iface, LanguageInterface *liface ); + SourceEditor( TQWidget *parent, EditorInterface *iface, LanguageInterface *liface ); ~SourceEditor(); - void setObject( QObject *fw, Project *p ); - QObject *object() const { return obj; } + void setObject( TQObject *fw, Project *p ); + TQObject *object() const { return obj; } Project *project() const { return pro; } - void setFunction( const QString &func, const QString &clss = QString::null ); - void setClass( const QString &clss ); + void setFunction( const TQString &func, const TQString &clss = TQString::null ); + void setClass( const TQString &clss ); void save(); bool saveAs(); void setModified( bool b ); bool isModified() const; - static QString sourceOfObject( QObject *fw, const QString &lang, EditorInterface *iface, LanguageInterface *lIface ); + static TQString sourceOfObject( TQObject *fw, const TQString &lang, EditorInterface *iface, LanguageInterface *lIface ); - QString language() const; - void setLanguage( const QString &l ); + TQString language() const; + void setLanguage( const TQString &l ); void editCut(); void editCopy(); @@ -82,7 +82,7 @@ public: void clearStackFrame(); void resetBreakPoints(); - QString text() const; + TQString text() const; void checkTimeStamp(); @@ -90,16 +90,16 @@ public: FormWindow *formWindow() const; protected: - void closeEvent( QCloseEvent *e ); + void closeEvent( TQCloseEvent *e ); private: EditorInterface *iFace; LanguageInterface *lIface; - QGuardedPtr<QObject> obj; + TQGuardedPtr<TQObject> obj; Project *pro; - QString lang; - QGuardedPtr<QWidget> editor; + TQString lang; + TQGuardedPtr<TQWidget> editor; }; |