summaryrefslogtreecommitdiffstats
path: root/src/gui/combobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/combobox.h')
-rw-r--r--src/gui/combobox.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/combobox.h b/src/gui/combobox.h
index d02dbb8..98a411b 100644
--- a/src/gui/combobox.h
+++ b/src/gui/combobox.h
@@ -16,34 +16,34 @@
#include <kcombobox.h>
-#include <qvariant.h>
-#include <qvaluelist.h>
+#include <tqvariant.h>
+#include <tqvaluelist.h>
-class QString;
+class TQString;
namespace Tellico {
namespace GUI {
/**
- * A combobox for mapping a QVariant to each item.
+ * A combobox for mapping a TQVariant to each item.
*
* @author Robby Stephenson
*/
class ComboBox : public KComboBox {
public:
- ComboBox(QWidget* parent_);
+ ComboBox(TQWidget* tqparent_);
void clear();
- const QVariant& currentData() const;
- const QVariant& data(uint index) const;
- void insertItem(const QString& string, const QVariant& datum, int index = -1);
- void insertItems(const QStringList& strings, const QValueList<QVariant>& data, int index = -1);
+ const TQVariant& currentData() const;
+ const TQVariant& data(uint index) const;
+ void insertItem(const TQString& string, const TQVariant& datum, int index = -1);
+ void insertItems(const TQStringList& strings, const TQValueList<TQVariant>& data, int index = -1);
// set current item to match data
- void setCurrentData(const QVariant& data);
+ void setCurrentData(const TQVariant& data);
private:
- QValueList<QVariant> m_data;
+ TQValueList<TQVariant> m_data;
};
} // end namespace