diff options
Diffstat (limited to 'src/kbitem.cpp')
-rw-r--r-- | src/kbitem.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbitem.cpp b/src/kbitem.cpp index 5978496..5082e0f 100644 --- a/src/kbitem.cpp +++ b/src/kbitem.cpp @@ -15,13 +15,13 @@ #define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE -#include <qdatetime.h> +#include <ntqdatetime.h> #include "kbfileinfo.h" #include "kbitem.h" -KbItem::KbItem(KbFileInfo kfi, QListView* parent, QListViewItem* after) : QListViewItem(parent, after) +KbItem::KbItem(KbFileInfo kfi, TQListView* parent, TQListViewItem* after) : TQListViewItem(parent, after) { m_file = kfi.fileName(); m_path = kfi.dirPath(), @@ -30,11 +30,11 @@ KbItem::KbItem(KbFileInfo kfi, QListView* parent, QListViewItem* after) : QListV m_date_int = kfi.DateInt(); setText(0, m_file); - setText(1, QString::number(m_size)); + setText(1, TQString::number(m_size)); setText(2, m_date); } -KbItem::KbItem(QListView* parent, QListViewItem* after) : QListViewItem(parent, after) +KbItem::KbItem(TQListView* parent, TQListViewItem* after) : TQListViewItem(parent, after) { } @@ -42,7 +42,7 @@ KbItem::~KbItem() { } -int KbItem::compare(QListViewItem * i, int col, bool ascending) const +int KbItem::compare(TQListViewItem * i, int col, bool ascending) const { if ((this->rtti() == 1001) && (i->rtti() == 1002)) { @@ -71,6 +71,6 @@ int KbItem::compare(QListViewItem * i, int col, bool ascending) const if (x < y) return -1; if (x > y) return 1; } - return QListViewItem::compare(i, col, ascending); + return TQListViewItem::compare(i, col, ascending); } |