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 /lib/widgets/propeditor/psizepolicyedit.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 'lib/widgets/propeditor/psizepolicyedit.h')
-rw-r--r-- | lib/widgets/propeditor/psizepolicyedit.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/widgets/propeditor/psizepolicyedit.h b/lib/widgets/propeditor/psizepolicyedit.h index 668359c2..36c26d1b 100644 --- a/lib/widgets/propeditor/psizepolicyedit.h +++ b/lib/widgets/propeditor/psizepolicyedit.h @@ -22,31 +22,31 @@ #include "propertywidget.h" -#include <qmap.h> +#include <tqmap.h> class KLineEdit; namespace PropertyLib{ /** -@short %Property editor for QSizePolicy values. +@short %Property editor for TQSizePolicy values. */ class PSizePolicyEdit : public PropertyWidget { Q_OBJECT public: - PSizePolicyEdit(MultiProperty* property, const QMap<QString, QVariant> &spValues, QWidget* parent=0, const char* name=0); + PSizePolicyEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, TQWidget* parent=0, const char* name=0); - virtual QVariant value() const; - virtual void drawViewer(QPainter* p, const QColorGroup& cg, const QRect& r, const QVariant& value); - virtual void setValue(const QVariant& value, bool emitChange); + virtual TQVariant value() const; + virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); + virtual void setValue(const TQVariant& value, bool emitChange); - QString findValueDescription(QVariant val) const; + TQString findValueDescription(TQVariant val) const; private: KLineEdit *m_edit; - QVariant m_value; - QMap<QString, QVariant> m_spValues; + TQVariant m_value; + TQMap<TQString, TQVariant> m_spValues; }; } |