diff options
Diffstat (limited to 'kftpgrabber/src/widgets/listviewitem.h')
-rw-r--r-- | kftpgrabber/src/widgets/listviewitem.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kftpgrabber/src/widgets/listviewitem.h b/kftpgrabber/src/widgets/listviewitem.h index b9edc23..0feb435 100644 --- a/kftpgrabber/src/widgets/listviewitem.h +++ b/kftpgrabber/src/widgets/listviewitem.h @@ -36,34 +36,34 @@ #ifndef KFTPWIDGETSLISTVIEWITEM_H #define KFTPWIDGETSLISTVIEWITEM_H -#include <klistview.h> +#include <tdelistview.h> -#include <qmap.h> -#include <qcolor.h> +#include <ntqmap.h> +#include <ntqcolor.h> namespace KFTPWidgets { /** - * This class is a simple QListViewItem replacement that supports displaying + * This class is a simple TQListViewItem replacement that supports displaying * richtext. * * @author Jernej Kos */ -class ListViewItem : public KListViewItem +class ListViewItem : public TDEListViewItem { public: - ListViewItem(QListView *parent); + ListViewItem(TQListView *parent); - void setRichText(int col, const QString &text); - QString richText(int col) { return m_richText[col]; } + void setRichText(int col, const TQString &text); + TQString richText(int col) { return m_richText[col]; } - void setTextColor(int col, QColor color) { m_colors[col] = color; } + void setTextColor(int col, TQColor color) { m_colors[col] = color; } - void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment); + void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment); void setup(); private: - QMap<int, QString> m_richText; - QMap<int, QColor> m_colors; + TQMap<int, TQString> m_richText; + TQMap<int, TQColor> m_colors; }; } |