diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-02 06:40:27 +0000 |
commit | 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch) | |
tree | 18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/gui/boolfieldwidget.h | |
parent | 1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff) | |
download | tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip |
TQt4 port tellico
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/boolfieldwidget.h')
-rw-r--r-- | src/gui/boolfieldwidget.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gui/boolfieldwidget.h b/src/gui/boolfieldwidget.h index 81af5a6..0181f31 100644 --- a/src/gui/boolfieldwidget.h +++ b/src/gui/boolfieldwidget.h @@ -17,8 +17,8 @@ #include "fieldwidget.h" #include "../datavectors.h" -class QCheckBox; -class QString; +class TQCheckBox; +class TQString; namespace Tellico { namespace GUI { @@ -28,22 +28,23 @@ namespace Tellico { */ class BoolFieldWidget : public FieldWidget { Q_OBJECT + TQ_OBJECT public: - BoolFieldWidget(Data::FieldPtr field, QWidget* parent, const char* name=0); + BoolFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); virtual ~BoolFieldWidget() {} - virtual QString text() const; - virtual void setText(const QString& text); + virtual TQString text() const; + virtual void setText(const TQString& text); public slots: virtual void clear(); protected: - virtual QWidget* widget(); + virtual TQWidget* widget(); private: - QCheckBox* m_checkBox; + TQCheckBox* m_checkBox; }; } // end GUI namespace |