summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/sourceeditor.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/sourceeditor.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/sourceeditor.h')
-rw-r--r--kdevdesigner/designer/sourceeditor.h30
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;
};