[Konversation-devel] [Bug 132094] show DCC SEND status events in channel
Shintaro Matsuoka
shin at shoegazed.org
Thu Jul 1 16:18:42 CEST 2010
https://bugs.kde.org/show_bug.cgi?id=132094
--- Comment #4 from Shintaro Matsuoka <shin shoegazed org> 2010-07-01 16:18:39 ---
commit 38154d1acd12daebdb59b172f9f7f39878d80ba8
Author: Shintaro Matsuoka <shin at shoegazed.org>
Date: Mon Aug 14 21:26:09 2006 +0000
slot/signal connection fix: put a notification into the current view
correctly when a dcc transfer is finished.
CCBUG: 132094
svn path=/trunk/extragear/network/konversation/; revision=573102
diff --git a/src/dcctransfer.h b/src/dcctransfer.h
index ca6e0aa..04d92f1 100644
--- a/src/dcctransfer.h
+++ b/src/dcctransfer.h
@@ -98,7 +98,7 @@ class DccTransfer : public QObject, public KListViewItem
void closeDetailDialog();
signals:
- void done( const QString& filename, DccTransfer::DccStatus status =
DccTransfer::Done, const QString& errorMessage = QString::null );
+ void done( const QString& filename, int status = DccTransfer::Done,
const QString& errorMessage = QString::null );
void statusChanged( const DccTransfer* item );
public slots:
diff --git a/src/server.cpp b/src/server.cpp
index a9febf7..67d4765 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1766,7 +1766,7 @@ void Server::addDccSend(const QString &recipient,KURL
fileURL, const QString &al
connect(newDcc,SIGNAL (sendReady(const QString&,const QString&,const
QString&,const QString&,unsigned long)),
this,SLOT (dccSendRequest(const QString&,const QString&,const
QString&,const QString&,unsigned long)) );
- connect(newDcc,SIGNAL (done(const QString&,DccTransfer::DccStatus,const
QString&)),this,SLOT (dccSendDone(const QString&,int,const QString&)) );
+ connect(newDcc,SIGNAL (done(const QString&,int,const QString&)),this,SLOT
(dccSendDone(const QString&,int,const QString&)) );
connect(newDcc,SIGNAL (statusChanged(const DccTransfer* )), this,
SLOT(dccStatusChanged(const DccTransfer*)) );
newDcc->start();
@@ -1801,7 +1801,7 @@ void Server::addDccGet(const QString &sourceNick, const
QStringList &dccArgument
connect(newDcc,SIGNAL (resumeRequest(const QString&,const QString&,const
QString&,KIO::filesize_t)),this,
SLOT (dccResumeGetRequest(const QString&,const QString&,const
QString&,KIO::filesize_t)) );
- connect(newDcc,SIGNAL (done(const QString&,DccTransfer::DccStatus,const
QString&)),
+ connect(newDcc,SIGNAL (done(const QString&,int,const QString&)),
this,SLOT (dccGetDone(const QString&,int,const QString&)) );
connect(newDcc,SIGNAL (statusChanged(const DccTransfer* )), this,
SLOT(dccStatusChanged(const DccTransfer*)) );
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Konversation-devel
mailing list