summaryrefslogtreecommitdiffstats
path: root/ksirc/dccManager.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
commit089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch)
treece014fb2326a80fcfafa2362b7ff88486aa17c96 /ksirc/dccManager.h
parent83677e35509b4dafac63b76995652bdf3b49f209 (diff)
downloadtdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz
tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksirc/dccManager.h')
-rw-r--r--ksirc/dccManager.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksirc/dccManager.h b/ksirc/dccManager.h
index ec5b9bbe..524c886f 100644
--- a/ksirc/dccManager.h
+++ b/ksirc/dccManager.h
@@ -28,7 +28,7 @@ class dccItem : public TQObject,
Q_OBJECT
TQ_OBJECT
public:
- enum dcctqStatus {
+ enum dccStatus {
dccRecving,
dccOpen,
dccWaitOnResume,
@@ -47,11 +47,11 @@ public:
dccSend
};
- dccItem( KListView *, dccManager *, enum dccType, const TQString &file, const TQString &who, enum dcctqStatus, unsigned int size );
- dccItem( KListViewItem *, dccManager *, enum dccType, const TQString &file, const TQString &who, enum dcctqStatus, unsigned int size );
+ dccItem( KListView *, dccManager *, enum dccType, const TQString &file, const TQString &who, enum dccStatus, unsigned int size );
+ dccItem( KListViewItem *, dccManager *, enum dccType, const TQString &file, const TQString &who, enum dccStatus, unsigned int size );
virtual ~dccItem();
- void changetqStatus(enum dcctqStatus);
+ void changeStatus(enum dccStatus);
void setReceivedBytes(int bytes);
void setWhoPostfix(const TQString &post);
@@ -60,7 +60,7 @@ public:
const TQString who() { return m_who; }
const TQString file() { return m_file; }
- enum dcctqStatus status() { return m_status; }
+ enum dccStatus status() { return m_status; }
enum dccType type() { return m_type; }
double getPercent() { return m_percent; }
@@ -71,7 +71,7 @@ signals:
void itemRenamed(dccItem *, TQString oldNick, TQString oldFile);
protected:
- TQString enumTotqStatus(enum dcctqStatus);
+ TQString enumToStatus(enum dccStatus);
virtual void okRename ( int col );
virtual void cancelRename ( int col );
@@ -84,7 +84,7 @@ private:
TQString m_post;
int m_percent;
unsigned int m_size;
- enum dcctqStatus m_status;
+ enum dccStatus m_status;
const enum dccType m_type;
time_t m_stime;
time_t m_lasttime;
@@ -102,9 +102,9 @@ public:
dccManager( TQWidget *parent = 0, const char *name = 0 );
~dccManager();
- dccItem *newSendItem(TQString file, TQString who, enum dccItem::dcctqStatus, unsigned int size);
- dccItem *newGetItem(TQString file, TQString who, enum dccItem::dcctqStatus, unsigned int size);
- dccItem *newChatItem(TQString who, enum dccItem::dcctqStatus);
+ dccItem *newSendItem(TQString file, TQString who, enum dccItem::dccStatus, unsigned int size);
+ dccItem *newGetItem(TQString file, TQString who, enum dccItem::dccStatus, unsigned int size);
+ dccItem *newChatItem(TQString who, enum dccItem::dccStatus);
void doChanged() { emit changed(false, TQString("dcc activity")); };