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/configcheckerdlg.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/configcheckerdlg.h')
-rw-r--r-- | src/kile/configcheckerdlg.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/kile/configcheckerdlg.h b/src/kile/configcheckerdlg.h index 74e8bf0..9d56298 100644 --- a/src/kile/configcheckerdlg.h +++ b/src/kile/configcheckerdlg.h @@ -16,14 +16,14 @@ #ifndef KILEDIALOG_CONFIGCHECKER_H #define KILEDIALOG_CONFIGCHECKER_H -#include <qsimplerichtext.h> +#include <tqsimplerichtext.h> #include <kdialogbase.h> #include "configtester.h" -class QLabel; -class QPainter; +class TQLabel; +class TQPainter; class KProgress; class KListBox; @@ -32,26 +32,27 @@ class ConfigCheckerWidget; namespace KileDialog { - class ResultItem : public QListBoxItem + class ResultItem : public TQListBoxItem { public: - ResultItem(KListBox *lb, const QString &tool, int status, const QValueList<ConfigTest> &tests); - int width(const QListBox *) const { return m_richText->widthUsed(); } - int height(const QListBox *) const { return m_richText->height(); } + ResultItem(KListBox *lb, const TQString &tool, int status, const TQValueList<ConfigTest> &tests); + int width(const TQListBox *) const { return m_richText->widthUsed(); } + int height(const TQListBox *) const { return m_richText->height(); } protected: - void paint(QPainter *); + void paint(TQPainter *); private: - QSimpleRichText *m_richText; + TQSimpleRichText *m_richText; }; class ConfigChecker : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - ConfigChecker(QWidget* parent = 0); + ConfigChecker(TQWidget* tqparent = 0); ~ConfigChecker(); public slots: @@ -64,7 +65,7 @@ namespace KileDialog private: KProgress* progressBar(); - QLabel* label(); + TQLabel* label(); KListBox* listBox(); private: |