diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 20:31:54 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 20:31:54 +0000 |
commit | 8f1624dd9a394be19ccf9d63e4de0a0558831ca3 (patch) | |
tree | 21ca6a6c0f51a294752e693bb883120ababb6062 /src/codeeditor.h | |
parent | ff1242765ed5cce09ca185f874de5b05b08e109f (diff) | |
download | kpicosim-8f1624dd9a394be19ccf9d63e4de0a0558831ca3.tar.gz kpicosim-8f1624dd9a394be19ccf9d63e4de0a0558831ca3.zip |
TQt4 port kpicosim
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpicosim@1238884 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/codeeditor.h')
-rwxr-xr-x | src/codeeditor.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/codeeditor.h b/src/codeeditor.h index a3a57ce..06f905e 100755 --- a/src/codeeditor.h +++ b/src/codeeditor.h @@ -20,26 +20,27 @@ #ifndef CODEEDITOR_H #define CODEEDITOR_H -#include <qwidget.h> +#include <tqwidget.h> #include <kate/view.h> #include <kate/document.h> #include <kstatusbar.h> -class CodeEditor : public QWidget +class CodeEditor : public TQWidget { Q_OBJECT + TQ_OBJECT public: - CodeEditor(QWidget *parent = 0, const char *name = 0); + CodeEditor(TQWidget *tqparent = 0, const char *name = 0); ~CodeEditor(); void clearExecutionMarker() ; void setExecutionMarker( unsigned int line ) ; - QString getFilename() ; + TQString getFilename() ; bool isBreakpoint( unsigned int line ) ; void setCursor( unsigned int line ) ; - void open( QString filename ) ; + void open( TQString filename ) ; bool close() ; bool save() ; @@ -50,7 +51,7 @@ class CodeEditor : public QWidget KStatusBar *m_statusBar ; unsigned int m_exeLine ; - QString m_filename ; + TQString m_filename ; bool m_bFilename ; void setHighlightMode() ; bool askSave() ; @@ -65,11 +66,11 @@ class CodeEditor : public QWidget }; - static const QPixmap* inactiveBreakpointPixmap(); - static const QPixmap* activeBreakpointPixmap(); - static const QPixmap* reachedBreakpointPixmap(); - static const QPixmap* disabledBreakpointPixmap(); - static const QPixmap* executionPointPixmap(); + static const TQPixmap* inactiveBreakpointPixmap(); + static const TQPixmap* activeBreakpointPixmap(); + static const TQPixmap* reachedBreakpointPixmap(); + static const TQPixmap* disabledBreakpointPixmap(); + static const TQPixmap* executionPointPixmap(); public slots: |