From b9c374725620ec064db7610132a8b8969fa405b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 4 Jul 2011 19:59:21 +0000 Subject: 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 --- src/kile/configcheckerdlg.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/kile/configcheckerdlg.h') 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 +#include #include #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 &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 &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: -- cgit v1.2.3