diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 19:59:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 19:59:21 +0000 |
commit | b9c374725620ec064db7610132a8b8969fa405b9 (patch) | |
tree | 645c03144cac22f7b4fb5bd10985d389e8954290 /src/kile/kilelogwidget.h | |
parent | 71729070d61b36b96acd7fa9c34bba0cb8f58c3b (diff) | |
download | kile-b9c374725620ec064db7610132a8b8969fa405b9.tar.gz kile-b9c374725620ec064db7610132a8b8969fa405b9.zip |
TQt4 port kile
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kile@1239285 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kile/kilelogwidget.h')
-rw-r--r-- | src/kile/kilelogwidget.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/kile/kilelogwidget.h b/src/kile/kilelogwidget.h index 855ce58..4e9f779 100644 --- a/src/kile/kilelogwidget.h +++ b/src/kile/kilelogwidget.h @@ -17,9 +17,9 @@ #include <ktextedit.h> -class QString; -class QPopupMenu; -class QPoint; +class TQString; +class TQPopupMenu; +class TQPoint; class KileInfo; class KURL; @@ -29,30 +29,31 @@ namespace KileWidget class LogMsg : public KTextEdit { Q_OBJECT + TQ_OBJECT public: - LogMsg(KileInfo *info, QWidget *parent, const char *name=0); + LogMsg(KileInfo *info, TQWidget *tqparent, const char *name=0); ~LogMsg(); - void setReadOnly(bool r) { QTextEdit::setReadOnly(r); } //we don't want the greyed background + void setReadOnly(bool r) { TQTextEdit::setReadOnly(r); } //we don't want the greyed background public slots: void highlight(); //FIXME for compatibility, should remove it asap void highlight(uint l, int direction = 1); void highlightByIndex(int index, int size, int direction = 1); - void printMsg(int type, const QString & message, const QString &tool = "Kile" ); - void printProblem(int type, const QString & problem); + void printMsg(int type, const TQString & message, const TQString &tool = "Kile" ); + void printProblem(int type, const TQString & problem); void slotClicked(int, int); signals: - void fileOpen(const KURL &, const QString &); - void setLine(const QString &); - void showingErrorMessage(QWidget *); + void fileOpen(const KURL &, const TQString &); + void setLine(const TQString &); + void showingErrorMessage(TQWidget *); protected: - QPopupMenu* createPopupMenu (const QPoint & pos); + TQPopupMenu* createPopupMenu (const TQPoint & pos); protected slots: void handlePopup(int); |