summaryrefslogtreecommitdiffstats
path: root/kget/transferlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/transferlist.cpp')
-rw-r--r--kget/transferlist.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kget/transferlist.cpp b/kget/transferlist.cpp
index bf54cb87..9de03889 100644
--- a/kget/transferlist.cpp
+++ b/kget/transferlist.cpp
@@ -52,8 +52,8 @@ static int defaultColumnWidth[] = {
};
-TransferList::TransferList(TQWidget * parent, const char *name)
- : KListView(parent, name)
+TransferList::TransferList(TQWidget * tqparent, const char *name)
+ : KListView(tqparent, name)
{
// enable selection of more than one item
setSelectionMode( TQListView::Extended );
@@ -75,7 +75,7 @@ TransferList::TransferList(TQWidget * parent, const char *name)
jobid=1;
- // initial layout
+ // initial tqlayout
KConfig *config = KGlobal::config();
config->setGroup("ListView");
if ( config->readListEntry("ColumnWidths").isEmpty() )
@@ -96,11 +96,11 @@ TransferList::TransferList(TQWidget * parent, const char *name)
animTry.setAutoDelete(true);
for (int i = 0; i < 8; i++) {
curPix = new TQPixmap();
- curPix->load(locate("appdata", connectPath.arg(i)));
+ curPix->load(locate("appdata", connectPath.tqarg(i)));
animConn.append(curPix);
curPix = new TQPixmap();
- curPix->load(locate("appdata", tryPath.arg(i)));
+ curPix->load(locate("appdata", tryPath.tqarg(i)));
animTry.append(curPix);
}
}
@@ -182,14 +182,14 @@ void TransferList::moveToEnd(Transfer * item)
}
-bool TransferList::updateStatus(int counter)
+bool TransferList::updatetqStatus(int counter)
{
bool isTransfer = false;
TransferIterator it(this);
for (; it.current(); ++it) {
- isTransfer |= it.current()->updateStatus(counter);
+ isTransfer |= it.current()->updatetqStatus(counter);
}
return isTransfer;
@@ -202,7 +202,7 @@ bool TransferList::areTransfersQueuedOrScheduled()
if (childCount() > 0) {
for (; it.current(); ++it) {
- if ((it.current()->getMode() == Transfer::MD_QUEUED)|| \
+ if ((it.current()->getMode() == Transfer::MD_TQUEUED)|| \
(it.current()->getMode() == Transfer::MD_SCHEDULED))
return true;
}
@@ -211,7 +211,7 @@ bool TransferList::areTransfersQueuedOrScheduled()
}
-Transfer * TransferList::find(const KURL& _src)
+Transfer * TransferList::tqfind(const KURL& _src)
{
TransferIterator it(this);
@@ -229,7 +229,7 @@ void TransferList::readTransfers(const KURL& file)
{
TQString tmpFile;
- if (KIO::NetAccess::download(file, tmpFile, (TQWidget*)parent())) {
+ if (KIO::NetAccess::download(file, tmpFile, (TQWidget*)tqparent())) {
KSimpleConfig config(tmpFile);
config.setGroup("Common");