diff options
Diffstat (limited to 'src/kbtaskview.cpp')
-rw-r--r-- | src/kbtaskview.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kbtaskview.cpp b/src/kbtaskview.cpp index d1f6cc1..83f62bb 100644 --- a/src/kbtaskview.cpp +++ b/src/kbtaskview.cpp @@ -11,16 +11,16 @@ // -#include <klocale.h> +#include <tdelocale.h> -#include <qptrlist.h> -#include <qevent.h> +#include <ntqptrlist.h> +#include <ntqevent.h> #include "kbtaskview.h" #include "kbfileinfo.h" #include "kbtransferitem.h" -KbTaskView::KbTaskView(QWidget *parent, const char *name) +KbTaskView::KbTaskView(TQWidget *parent, const char *name) : KListView(parent, name) { addColumn(i18n("Task")); @@ -30,22 +30,22 @@ KbTaskView::KbTaskView(QWidget *parent, const char *name) addColumn(i18n("Remaining")); setRootIsDecorated(true); - setSelectionMode(QListView::Extended); + setSelectionMode(TQListView::Extended); setDragEnabled(true); setAcceptDrops(true); - //connect(this, SIGNAL(doubleClicked(QListViewItem*, const QPoint&, int)), - // this, SLOT(SLOT_DoubleClicked(QListViewItem*, const QPoint&, int))); + //connect(this, SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), + // this, SLOT(SLOT_DoubleClicked(TQListViewItem*, const TQPoint&, int))); } KbTaskView::~KbTaskView() { } -QListViewItem* KbTaskView::LastChild() +TQListViewItem* KbTaskView::LastChild() { - QListViewItem* last = NULL; - QListViewItem* it = lastItem(); + TQListViewItem* last = NULL; + TQListViewItem* it = lastItem(); while (it) { last = it; @@ -54,11 +54,11 @@ QListViewItem* KbTaskView::LastChild() return last; } -void KbTaskView::SLOT_DoubleClicked(QListViewItem* item, const QPoint&, int) +void KbTaskView::SLOT_DoubleClicked(TQListViewItem* item, const TQPoint&, int) { KbTransferItem *kti = static_cast<KbTransferItem*>(item); - qWarning("src: %s|%s", kti->SrcFileInfo()->filePath().latin1(), kti->SrcFileInfo()->fileName().latin1()); - qWarning("dst: %s|%s", kti->DstFileInfo()->filePath().latin1(), kti->DstFileInfo()->fileName().latin1()); + tqWarning("src: %s|%s", kti->SrcFileInfo()->filePath().latin1(), kti->SrcFileInfo()->fileName().latin1()); + tqWarning("dst: %s|%s", kti->DstFileInfo()->filePath().latin1(), kti->DstFileInfo()->fileName().latin1()); } #include "kbtaskview.moc" |