diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/designer/outputwindow.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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/outputwindow.h')
-rw-r--r-- | kdevdesigner/designer/outputwindow.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kdevdesigner/designer/outputwindow.h b/kdevdesigner/designer/outputwindow.h index e61c92c0..c1f196c5 100644 --- a/kdevdesigner/designer/outputwindow.h +++ b/kdevdesigner/designer/outputwindow.h @@ -27,10 +27,10 @@ #ifndef OUTPUTWINDOW_H #define OUTPUTWINDOW_H -#include <qtabwidget.h> -#include <qstringlist.h> -#include <qvaluelist.h> -#include <qlistview.h> +#include <tqtabwidget.h> +#include <tqstringlist.h> +#include <tqvaluelist.h> +#include <tqlistview.h> struct DesignerOutputDock; class QTextEdit; @@ -41,19 +41,19 @@ class ErrorItem : public QListViewItem public: enum Type { Error, Warning }; - ErrorItem( QListView *parent, QListViewItem *after, const QString &message, int line, - const QString &locationString, QObject *locationObject ); + ErrorItem( TQListView *parent, TQListViewItem *after, const TQString &message, int line, + const TQString &locationString, TQObject *locationObject ); - void paintCell( QPainter *, const QColorGroup & cg, + void paintCell( TQPainter *, const TQColorGroup & cg, int column, int width, int alignment ); void setRead( bool b ) { read = b; repaint(); } - QObject *location() const { return object; } + TQObject *location() const { return object; } int line() const { return text( 2 ).toInt(); } private: - QObject *object; + TQObject *object; Type type; bool read; @@ -64,13 +64,13 @@ class OutputWindow : public QTabWidget Q_OBJECT public: - OutputWindow( QWidget *parent ); + OutputWindow( TQWidget *parent ); ~OutputWindow(); - void setErrorMessages( const QStringList &errors, const QValueList<uint> &lines, - bool clear, const QStringList &locations, - const QObjectList &locationObjects ); - void appendDebug( const QString& ); + void setErrorMessages( const TQStringList &errors, const TQValueList<uint> &lines, + bool clear, const TQStringList &locations, + const TQObjectList &locationObjects ); + void appendDebug( const TQString& ); void clearErrorMessages(); void clearDebug(); void showDebugTab(); @@ -82,14 +82,14 @@ public: static QtMsgHandler oldMsgHandler; private slots: - void currentErrorChanged( QListViewItem *i ); + void currentErrorChanged( TQListViewItem *i ); private: void setupError(); void setupDebug(); - QTextEdit *debugView; - QListView *errorView; + TQTextEdit *debugView; + TQListView *errorView; DesignerOutputDock *iface; |