diff options
Diffstat (limited to 'src/kchmtreeviewitem.h')
-rw-r--r-- | src/kchmtreeviewitem.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/kchmtreeviewitem.h b/src/kchmtreeviewitem.h index 7dd7011..cc21870 100644 --- a/src/kchmtreeviewitem.h +++ b/src/kchmtreeviewitem.h @@ -22,8 +22,8 @@ #ifndef CTREEVIEWITEM_H #define CTREEVIEWITEM_H -#include <qlistview.h> -#include <qvaluevector.h> +#include <tqlistview.h> +#include <tqvaluevector.h> #include "libchmfile.h" @@ -31,70 +31,70 @@ @author Georgy Yunaev */ //! This is a list item used both in Index and Table Of Content trees -class KCHMIndTocItem : public QListViewItem +class KCHMIndTocItem : public TQListViewItem { public: - KCHMIndTocItem( QListViewItem* parent, QListViewItem* after, QString name, QString aurl, int image); - KCHMIndTocItem( QListView* parent, QListViewItem* after, QString name, QString url, int image); + KCHMIndTocItem( TQListViewItem* tqparent, TQListViewItem* after, TQString name, TQString aurl, int image); + KCHMIndTocItem( TQListView* tqparent, TQListViewItem* after, TQString name, TQString url, int image); - QString getUrl() const; + TQString getUrl() const; virtual void setOpen ( bool open ); private: - virtual void paintBranches ( QPainter * p, const QColorGroup & cg, int w, int y, int h ); - virtual void paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align ); - virtual const QPixmap * pixmap( int i ) const; + virtual void paintBranches ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h ); + virtual void paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align ); + virtual const TQPixmap * pixmap( int i ) const; - QString url; + TQString url; int image_number; }; -class KCMSearchTreeViewItem : public QListViewItem +class KCMSearchTreeViewItem : public TQListViewItem { public: - KCMSearchTreeViewItem (QListView* parent, QString name, QString loc, QString url) - : QListViewItem (parent, name, loc) + KCMSearchTreeViewItem (TQListView* tqparent, TQString name, TQString loc, TQString url) + : TQListViewItem (tqparent, name, loc) { this->url = url; } - QString getUrl() const { return url; } + TQString getUrl() const { return url; } private: - QString url; + TQString url; }; -class KCHMSingleTreeViewItem : public QListViewItem +class KCHMSingleTreeViewItem : public TQListViewItem { public: - KCHMSingleTreeViewItem (QListView* parent, QString name, QString url) - : QListViewItem (parent, name) + KCHMSingleTreeViewItem (TQListView* tqparent, TQString name, TQString url) + : TQListViewItem (tqparent, name) { this->url = url; } - QString getUrl() const { return url; } + TQString getUrl() const { return url; } private: - QString url; + TQString url; }; -class KCHMBookmarkTreeViewItem : public QListViewItem +class KCHMBookmarkTreeViewItem : public TQListViewItem { public: - KCHMBookmarkTreeViewItem (QListView* parent, QString n, QString u, int s) - : QListViewItem (parent, n), url(u), name(n), scroll_y(s) { menuid = 0; } + KCHMBookmarkTreeViewItem (TQListView* tqparent, TQString n, TQString u, int s) + : TQListViewItem (tqparent, n), url(u), name(n), scroll_y(s) { menuid = 0; } - QString url; - QString name; + TQString url; + TQString name; int scroll_y; int menuid; }; -void kchmFillListViewWithParsedData( QListView * list, const QValueVector< LCHMParsedEntry >& data, QMap<QString, KCHMIndTocItem*> * map ); +void kchmFillListViewWithParsedData( TQListView * list, const TQValueVector< LCHMParsedEntry >& data, TQMap<TQString, KCHMIndTocItem*> * map ); #endif |