diff options
Diffstat (limited to 'noatun-plugins/oblique/tree.h')
-rw-r--r-- | noatun-plugins/oblique/tree.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/noatun-plugins/oblique/tree.h b/noatun-plugins/oblique/tree.h index 0d53732..f059931 100644 --- a/noatun-plugins/oblique/tree.h +++ b/noatun-plugins/oblique/tree.h @@ -4,7 +4,7 @@ #ifndef TREE_H #define TREE_H -#include <qwidget.h> +#include <tqwidget.h> #include <klistview.h> #include "base.h" @@ -23,8 +23,8 @@ class TreeItem : public KListViewItem bool mHidden:1; public: - TreeItem(Tree *parent, QueryGroup *group, const File &file, const QString &p=0); - TreeItem(TreeItem *parent, QueryGroup *group, const File &file, const QString &p=0); + TreeItem(Tree *parent, QueryGroup *group, const File &file, const TQString &p=0); + TreeItem(TreeItem *parent, QueryGroup *group, const File &file, const TQString &p=0); ~TreeItem(); QueryGroup *group() { return mGroup; } @@ -38,7 +38,7 @@ public: TreeItem *nextSibling() { return static_cast<TreeItem*>(KListViewItem::nextSibling()); } // for gdb, which sucks. - QString presentation() const; + TQString presentation() const; File file() { return mFile; } void setFile(File file) { mFile = file; } @@ -56,9 +56,9 @@ public: **/ TreeItem *nextPlayable(); - void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int align); + void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int align); - virtual int compare(QListViewItem * i, int col, bool) const; + virtual int compare(TQListViewItem * i, int col, bool) const; /** * open my parents so that I'm visible, if I'm playing or @@ -67,7 +67,7 @@ public: **/ void autoExpand(); bool userOpened() const { return mUserOpened; } - bool hideIfNoMatch(const QString &match); + bool hideIfNoMatch(const TQString &match); void setHidden(bool on); @@ -92,18 +92,18 @@ Q_OBJECT TreeItem *mCurrent; FileMenu *lastMenu; Slice *mSlice; - QString mFileOfQuery; + TQString mFileOfQuery; friend class TreeItem; int mPlayableItemCount; // used by the friendship - QPtrList<TreeItem> mAutoExpanded; + TQPtrList<TreeItem> mAutoExpanded; unsigned int mAutoExpanding; Loader *mLoader; public: - Tree(Oblique *oblique, QWidget *parent=0); + Tree(Oblique *oblique, TQWidget *parent=0); ~Tree(); TreeItem *firstChild(); TreeItem *find(File item); @@ -111,7 +111,7 @@ public: Query *query() { return &mQuery; } Oblique *oblique() { return mOblique; } Slice *slice() { return mSlice; } - QString fileOfQuery() const { return mFileOfQuery; } + TQString fileOfQuery() const { return mFileOfQuery; } void clear(); @@ -125,11 +125,11 @@ public: bool autoExpanding() const { return mAutoExpanding; } void deleted(TreeItem *item); - bool setSchema(const QString &name); + bool setSchema(const TQString &name); protected: - virtual QDragObject *dragObject(); - void movableDropEvent(QListViewItem* parent, QListViewItem* afterme); + virtual TQDragObject *dragObject(); + void movableDropEvent(TQListViewItem* parent, TQListViewItem* afterme); public slots: void insert(TreeItem *replace, File file); @@ -147,15 +147,15 @@ public slots: * or it will not be displayed * (used for Jump) **/ - void setLimit(const QString &text); + void setLimit(const TQString &text); private slots: - void contextMenu(KListView* l, QListViewItem* i, const QPoint& p); - void play(QListViewItem *item); + void contextMenu(KListView* l, TQListViewItem* i, const TQPoint& p); + void play(TQListViewItem *item); void destroyLoader(); - void dropped(QPtrList<QListViewItem> &items, QPtrList<QListViewItem> &, QPtrList<QListViewItem> &afterNow); + void dropped(TQPtrList<TQListViewItem> &items, TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &afterNow); signals: void selected(TreeItem *); @@ -185,7 +185,7 @@ private: **/ void remove(TreeItem *, const File &file); - void limitHide(TreeItem *i, const QString &text); + void limitHide(TreeItem *i, const TQString &text); void reload(); }; |