From dacae0242e905268e9df9aed83f84e91b13a1749 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 11:53:10 -0500 Subject: Convert to TDE R14 API --- src/kbtransferdir.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/kbtransferdir.cpp') diff --git a/src/kbtransferdir.cpp b/src/kbtransferdir.cpp index 7104715..27316e8 100644 --- a/src/kbtransferdir.cpp +++ b/src/kbtransferdir.cpp @@ -20,14 +20,14 @@ #include "kbtransferdir.h" -KbTransferDir::KbTransferDir(QListView *taskview, QListViewItem *after, FtpSession *srcsession, FtpSession *dstsession, KbFileInfo *src, KbFileInfo *dst) : KbTransferItem(taskview, after, srcsession, dstsession, src, dst) +KbTransferDir::KbTransferDir(TQListView *taskview, TQListViewItem *after, FtpSession *srcsession, FtpSession *dstsession, KbFileInfo *src, KbFileInfo *dst) : KbTransferItem(taskview, after, srcsession, dstsession, src, dst) { - setPixmap(0, KGlobal::iconLoader()->loadIcon("folder",KIcon::Small)); + setPixmap(0, TDEGlobal::iconLoader()->loadIcon("folder",TDEIcon::Small)); } -KbTransferDir::KbTransferDir(QListViewItem *root, QListViewItem *after, FtpSession *srcsession, FtpSession *dstsession, KbFileInfo *src, KbFileInfo *dst) : KbTransferItem(root, after, srcsession, dstsession, src, dst) +KbTransferDir::KbTransferDir(TQListViewItem *root, TQListViewItem *after, FtpSession *srcsession, FtpSession *dstsession, KbFileInfo *src, KbFileInfo *dst) : KbTransferItem(root, after, srcsession, dstsession, src, dst) { - setPixmap(0, KGlobal::iconLoader()->loadIcon("folder",KIcon::Small)); + setPixmap(0, TDEGlobal::iconLoader()->loadIcon("folder",TDEIcon::Small)); } KbTransferDir::~KbTransferDir() @@ -41,11 +41,11 @@ int KbTransferDir::rtti() const void KbTransferDir::Info() { - qWarning("INFO: transfer dir from %s to %s", mp_srcsession->name(), mp_dstsession->name()); - qWarning("INFO: mp_src->fileName() = %s", mp_src->fileName().latin1()); - qWarning("INFO: mp_dst->fileName() = %s", mp_dst->fileName().latin1()); - qWarning("INFO: mp_src->dirPath() = %s", mp_src->dirPath(true).latin1()); - qWarning("INFO: mp_dst->dirPath() = %s", mp_dst->dirPath(true).latin1()); + tqWarning("INFO: transfer dir from %s to %s", mp_srcsession->name(), mp_dstsession->name()); + tqWarning("INFO: mp_src->fileName() = %s", mp_src->fileName().latin1()); + tqWarning("INFO: mp_dst->fileName() = %s", mp_dst->fileName().latin1()); + tqWarning("INFO: mp_src->dirPath() = %s", mp_src->dirPath(true).latin1()); + tqWarning("INFO: mp_dst->dirPath() = %s", mp_dst->dirPath(true).latin1()); } -- cgit v1.2.1