Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 93870f22 authored by Wolfgang Bauer's avatar Wolfgang Bauer

Rename slot DataSourceFactory::open()

On some (32bit) systems, open may be #define'd to open64 when the moc
file is generated, which breaks the compilation.
Renaming the slot to slotOpen() should avoid this problem.

BUG: 386948
parent 136bd66c
......@@ -221,7 +221,7 @@ void DataSourceFactory::start()
if (checkLocalFile()) {
if (!m_putJob) {
m_putJob = KIO::open(m_dest, QIODevice::WriteOnly | QIODevice::ReadOnly);
connect(m_putJob, SIGNAL(open(KIO::Job*)), this, SLOT(open(KIO::Job*)));
connect(m_putJob, SIGNAL(open(KIO::Job*)), this, SLOT(slotOpen(KIO::Job*)));
connect(m_putJob, SIGNAL(destroyed(QObject*)), this, SLOT(slotPutJobDestroyed(QObject*)));
m_startTried = true;
......@@ -305,7 +305,7 @@ void DataSourceFactory::slotRemovedFile()
void DataSourceFactory::open(KIO::Job *job)
void DataSourceFactory::slotOpen(KIO::Job *job)
qCDebug(KGET_DEBUG) << "File opened" << this;
......@@ -209,7 +209,7 @@ class KGET_EXPORT DataSourceFactory : public QObject
void slotOffset(KIO::Job *job, KIO::filesize_t offset);
void slotDataWritten(KIO::Job *job, KIO::filesize_t offset);
void slotPercent(KJob *job, ulong percent);
void open(KIO::Job *job);
void slotOpen(KIO::Job *job);
void speedChanged();
* Kills the putjob and starts the moving of files
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment