summaryrefslogtreecommitdiffstats
path: root/lib/widgets/kcomboview.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/kcomboview.h')
-rw-r--r--lib/widgets/kcomboview.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/widgets/kcomboview.h b/lib/widgets/kcomboview.h
index cb08e158..e0230b52 100644
--- a/lib/widgets/kcomboview.h
+++ b/lib/widgets/kcomboview.h
@@ -29,7 +29,7 @@ KComboView class.
*/
/**
-KComboView - a combo with a QListView as a popup widget.
+KComboView - a combo with a TQListView as a popup widget.
KComboView provides text completion.
@sa QComboView for a description.
*/
@@ -38,11 +38,11 @@ KComboView provides text completion.
///This can be used to insert own KCompletion-implementations
class CustomCompleter : public KCompletion {
public:
- virtual void addItem (const QString &item) {
+ virtual void addItem (const TQString &item) {
KCompletion::addItem( item );
}
- virtual void removeItem (const QString &item) {
+ virtual void removeItem (const TQString &item) {
KCompletion::removeItem( item );
}
@@ -57,14 +57,14 @@ class KComboView: public QComboView
Q_OBJECT
public:
///The combo-view takes the ownership of the completer and deletes it on destruction
- KComboView( bool rw, int defaultWidth = 100, QWidget* parent=0, const char* name=0, CustomCompleter* completer = new CustomCompleter() );
+ KComboView( bool rw, int defaultWidth = 100, TQWidget* parent=0, const char* name=0, CustomCompleter* completer = new CustomCompleter() );
virtual ~KComboView();
- virtual void addItem(QListViewItem *it);
- virtual void removeItem(QListViewItem *it);
- virtual void renameItem(QListViewItem *it, const QString &newName);
+ virtual void addItem(TQListViewItem *it);
+ virtual void removeItem(TQListViewItem *it);
+ virtual void renameItem(TQListViewItem *it, const TQString &newName);
- virtual void setDefaultText(const QString &text);
+ virtual void setDefaultText(const TQString &text);
virtual void clear();
@@ -74,7 +74,7 @@ private:
CustomCompleter* m_comp;
int m_defaultWidth;
- QString m_defaultText;
+ TQString m_defaultText;
};
#endif