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/pcombobox.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/pcombobox.h')
| -rw-r--r-- | lib/widgets/propeditor/pcombobox.h | 20 | 
1 files changed, 10 insertions, 10 deletions
| 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 <qmap.h> +#include <tqmap.h> -#include <qcombobox.h> +#include <tqcombobox.h>  #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<QString, QVariant> &list, QWidget *parent = 0, const char *name = 0); +    PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &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<QString, QVariant> &list, bool rw, QWidget *parent = 0, const char *name = 0); +    PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &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<QString, QVariant> &valueList); +    virtual void setValueList(const TQMap<TQString, TQVariant> &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<description, value>*/ -    QMap<QString, QVariant> m_valueList; +    TQMap<TQString, TQVariant> m_valueList; -    QComboBox *m_edit; +    TQComboBox *m_edit;  };  } | 
