summaryrefslogtreecommitdiffstats
path: root/lib/widgets/kcomboview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/kcomboview.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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/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