summaryrefslogtreecommitdiffstats
path: root/ksirc/dccManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/dccManager.cpp')
-rw-r--r--ksirc/dccManager.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksirc/dccManager.cpp b/ksirc/dccManager.cpp
index cbf63109..47763faa 100644
--- a/ksirc/dccManager.cpp
+++ b/ksirc/dccManager.cpp
@@ -22,7 +22,7 @@
#define COL_CPS 4
#define COL_PER 5
-dccItem::dccItem( KListView *parent, dccManager *manager, enum dccType type, const TQString &file, const TQString& who, enum dcctqStatus status, unsigned int size )
+dccItem::dccItem( KListView *parent, dccManager *manager, enum dccType type, const TQString &file, const TQString& who, enum dccStatus status, unsigned int size )
: TQObject(), KListViewItem(parent), m_who(who), m_file(file), m_type(type)
{
m_percent = 0;
@@ -34,7 +34,7 @@ dccItem::dccItem( KListView *parent, dccManager *manager, enum dccType type, con
setText(COL_FILE, file);
setText(COL_WHO, who);
- setText(COL_STAT, enumTotqStatus(status));
+ setText(COL_STAT, enumToStatus(status));
if(m_type == dccChat)
setText(COL_SIZE, "");
else
@@ -43,7 +43,7 @@ dccItem::dccItem( KListView *parent, dccManager *manager, enum dccType type, con
}
-dccItem::dccItem( KListViewItem *parent, dccManager *manager, enum dccType type, const TQString &file, const TQString& who, enum dcctqStatus status, unsigned int size )
+dccItem::dccItem( KListViewItem *parent, dccManager *manager, enum dccType type, const TQString &file, const TQString& who, enum dccStatus status, unsigned int size )
: TQObject(), KListViewItem(parent), m_who(who), m_file(file), m_type(type)
{
m_percent = 0;
@@ -54,7 +54,7 @@ dccItem::dccItem( KListViewItem *parent, dccManager *manager, enum dccType type,
setText(COL_FILE, file);
setText(COL_WHO, who);
- setText(COL_STAT, enumTotqStatus(status));
+ setText(COL_STAT, enumToStatus(status));
if(type != dccChat)
setText(COL_SIZE, TQString("%1").tqarg(size));
setText(COL_PER, "");
@@ -65,7 +65,7 @@ dccItem::~dccItem()
{
}
-TQString dccItem::enumTotqStatus(enum dcctqStatus status)
+TQString dccItem::enumToStatus(enum dccStatus status)
{
TQString str;
switch(status){
@@ -121,10 +121,10 @@ void dccItem::changeWho(const TQString &who) {
m_who = who;
}
-void dccItem::changetqStatus(enum dcctqStatus status)
+void dccItem::changeStatus(enum dccStatus status)
{
m_manager->doChanged();
- setText(COL_STAT, enumTotqStatus(status));
+ setText(COL_STAT, enumToStatus(status));
m_status = status;
emit statusChanged(this);
}
@@ -228,7 +228,7 @@ dccManager::~dccManager()
{
}
-dccItem *dccManager::newSendItem(TQString file, TQString who, enum dccItem::dcctqStatus status, unsigned int size)
+dccItem *dccManager::newSendItem(TQString file, TQString who, enum dccItem::dccStatus status, unsigned int size)
{
emit changed(false, i18n("dcc activity"));
dccItem *it = new dccItem(m_sendit, this, dccItem::dccSend, file, who, status, size);
@@ -237,7 +237,7 @@ dccItem *dccManager::newSendItem(TQString file, TQString who, enum dccItem::dcct
return it;
}
-dccItem *dccManager::newGetItem(TQString file, TQString who, enum dccItem::dcctqStatus status, unsigned int size)
+dccItem *dccManager::newGetItem(TQString file, TQString who, enum dccItem::dccStatus status, unsigned int size)
{
emit changed(false, i18n("dcc activity"));
dccItem *it = new dccItem(m_getit, this, dccItem::dccGet, file, who, status, size);
@@ -247,7 +247,7 @@ dccItem *dccManager::newGetItem(TQString file, TQString who, enum dccItem::dcctq
}
-dccItem *dccManager::newChatItem(TQString who, enum dccItem::dcctqStatus status)
+dccItem *dccManager::newChatItem(TQString who, enum dccItem::dccStatus status)
{
emit changed(false, i18n("dcc activity"));
dccItem *it = new dccItem(m_chatit, this, dccItem::dccChat, "", who, status, 0);