summaryrefslogtreecommitdiffstats
path: root/src/kbitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:53:10 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:53:10 -0500
commitdacae0242e905268e9df9aed83f84e91b13a1749 (patch)
tree26c8dc7f37d040f54265a3471834309a1e248538 /src/kbitem.cpp
parent0d218fd2db1810aafd86f7fc8761c75128f3fcb8 (diff)
downloadkasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.tar.gz
kasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.zip
Convert to TDE R14 API
Diffstat (limited to 'src/kbitem.cpp')
-rw-r--r--src/kbitem.cpp12
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);
}