From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/widgets/propeditor/pcombobox.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'lib/widgets/propeditor/pcombobox.h') diff --git a/lib/widgets/propeditor/pcombobox.h b/lib/widgets/propeditor/pcombobox.h index c74869f3..71deb388 100644 --- a/lib/widgets/propeditor/pcombobox.h +++ b/lib/widgets/propeditor/pcombobox.h @@ -20,9 +20,9 @@ #ifndef PCOMBOBOX_H #define PCOMBOBOX_H -#include +#include -#include +#include #include "propertywidget.h" @@ -37,22 +37,22 @@ class PComboBox: public PropertyWidget{ Q_OBJECT public: /**This constructor is used for read-only selection combo. It provides a value from valueList*/ - PComboBox(MultiProperty *property, const QMap &list, QWidget *parent = 0, const char *name = 0); + PComboBox(MultiProperty *property, const TQMap &list, TQWidget *parent = 0, const char *name = 0); /**This constructor is used for read-write selection combo. It provides a value from valueList*/ - PComboBox(MultiProperty *property, const QMap &list, bool rw, QWidget *parent = 0, const char *name = 0); + PComboBox(MultiProperty *property, const TQMap &list, bool rw, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ - virtual QVariant value() const; + virtual TQVariant value() const; /**Sets the value shown in the editor widget. Set emitChange to false if you don't want to emit propertyChanged signal.*/ - virtual void setValue(const QVariant &value, bool emitChange=true); + virtual void setValue(const TQVariant &value, bool emitChange=true); /**Sets the list of possible values shown in the editor widget. This method does not emit propertyChanged signal. Reimplemented because combobox is used to display possible values from valueList.*/ - virtual void setValueList(const QMap &valueList); + virtual void setValueList(const TQMap &valueList); protected: - QString findDescription(const QVariant &value); + TQString findDescription(const TQVariant &value); protected slots: void updateProperty(int val); @@ -62,9 +62,9 @@ private: void init(bool rw = false); /** map*/ - QMap m_valueList; + TQMap m_valueList; - QComboBox *m_edit; + TQComboBox *m_edit; }; } -- cgit v1.2.3