diff options
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;  };  } | 
