diff options
Diffstat (limited to 'src/abakuslistview.h')
-rw-r--r-- | src/abakuslistview.h | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/src/abakuslistview.h b/src/abakuslistview.h index f0b9c4c..190c198 100644 --- a/src/abakuslistview.h +++ b/src/abakuslistview.h @@ -28,12 +28,13 @@ class KPopupMenu; class ListView : public KListView { Q_OBJECT + TQ_OBJECT public: - ListView(QWidget *parent, const char *name = 0); + ListView(TQWidget *tqparent, const char *name = 0); protected: - virtual QDragObject *dragObject(); + virtual TQDragObject *dragObject(); /** * Used to enable fancy popup handling support in subclasses. Subclasses @@ -47,7 +48,7 @@ class ListView : public KListView * If using the popup menu handling, the subclass needs to return a * translated string of the form "Remove selected <itemtype>". */ - virtual QString removeItemString() const; + virtual TQString removeItemString() const; /** * If using the popup menu handling, the subclass needs to return a @@ -55,7 +56,7 @@ class ListView : public KListView * also appending a " (%n <itemtype>s), which you can use the @p count * parameter for. */ - virtual QString removeAllItemsString(unsigned count) const; + virtual TQString removeAllItemsString(unsigned count) const; protected slots: /** @@ -63,7 +64,7 @@ class ListView : public KListView * function to remove the selected item, which is passed in as a * parameter. */ - virtual void removeSelectedItem(QListViewItem *item); + virtual void removeSelectedItem(TQListViewItem *item); /** * If using the popup menu handling, the subclass needs to reimplement this @@ -75,10 +76,10 @@ class ListView : public KListView * If using the popup menu handling, this function may be called to * determine whether the selected item given by @p item is removable. */ - virtual bool isItemRemovable(QListViewItem *item) const; + virtual bool isItemRemovable(TQListViewItem *item) const; private slots: - void rightClicked(QListViewItem *item, const QPoint &pt); + void rightClicked(TQListViewItem *item, const TQPoint &pt); void removeSelected(); private: @@ -92,7 +93,7 @@ class ListView : public KListView class ValueListViewItem : public KListViewItem { public: - ValueListViewItem (QListView *listView, const QString &name, const Abakus::number_t &value); + ValueListViewItem (TQListView *listView, const TQString &name, const Abakus::number_t &value); // Will cause the list item to rethink the text. void valueChanged(); @@ -110,17 +111,18 @@ class ValueListViewItem : public KListViewItem class VariableListView : public ListView { Q_OBJECT + TQ_OBJECT public: - VariableListView(QWidget *parent, const char *name = 0); + VariableListView(TQWidget *tqparent, const char *name = 0); protected: - virtual QString removeItemString() const; - virtual QString removeAllItemsString(unsigned count) const; - virtual bool isItemRemovable(QListViewItem *item) const; + virtual TQString removeItemString() const; + virtual TQString removeAllItemsString(unsigned count) const; + virtual bool isItemRemovable(TQListViewItem *item) const; protected slots: - virtual void removeSelectedItem(QListViewItem *item); + virtual void removeSelectedItem(TQListViewItem *item); virtual void removeAllItems(); }; @@ -130,17 +132,18 @@ class VariableListView : public ListView class FunctionListView : public ListView { Q_OBJECT + TQ_OBJECT public: - FunctionListView(QWidget *parent, const char *name = 0); + FunctionListView(TQWidget *tqparent, const char *name = 0); protected: - virtual QString removeItemString() const; - virtual QString removeAllItemsString(unsigned count) const; - virtual bool isItemRemovable(QListViewItem *item) const; + virtual TQString removeItemString() const; + virtual TQString removeAllItemsString(unsigned count) const; + virtual bool isItemRemovable(TQListViewItem *item) const; protected slots: - virtual void removeSelectedItem(QListViewItem *item); + virtual void removeSelectedItem(TQListViewItem *item); virtual void removeAllItems(); }; |