Commit 0fa3b2a5 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

SVN_SILENT Fix coding style of some constructor declarations.

svn path=/trunk/KDE/kdeutils/ark/; revision=1143228
parent 0fe5af94
......@@ -37,6 +37,7 @@
namespace Kerfuffle
{
Job::Job(ReadOnlyArchiveInterface *interface, QObject *parent)
: KJob(parent)
, m_interface(interface)
......@@ -181,9 +182,8 @@ QString ListJob::subfolderName() const
return m_subfolderName;
}
ExtractJob::ExtractJob(const QList<QVariant>& files, const QString& destinationDir,
ExtractionOptions options, ReadOnlyArchiveInterface *interface, QObject *parent)
: Job(interface, parent), m_files(files), m_destinationDir(destinationDir), m_options(options)
ExtractJob::ExtractJob(const QList<QVariant>& files, const QString& destinationDir, ExtractionOptions options, ReadOnlyArchiveInterface *interface, QObject *parent)
: Job(interface, parent), m_files(files), m_destinationDir(destinationDir), m_options(options)
{
}
......@@ -266,6 +266,7 @@ void DeleteJob::doWork()
m_interface->finished(ret);
}
}
} // namespace Kerfuffle
#include "jobs.moc"
......@@ -41,6 +41,7 @@
namespace Kerfuffle
{
class ThreadExecution;
class KERFUFFLE_EXPORT Job : public KJob, public ArchiveObserver
......@@ -110,9 +111,7 @@ class KERFUFFLE_EXPORT ExtractJob : public Job
Q_OBJECT
public:
ExtractJob(const QList<QVariant> & files, const QString&
destinationDir, ExtractionOptions options,
ReadOnlyArchiveInterface *interface, QObject *parent = 0);
ExtractJob(const QList<QVariant> & files, const QString& destinationDir, ExtractionOptions options, ReadOnlyArchiveInterface *interface, QObject *parent = 0);
public slots:
virtual void doWork();
......@@ -129,9 +128,7 @@ class KERFUFFLE_EXPORT AddJob : public Job
Q_OBJECT
public:
AddJob(const QStringList & files, const CompressionOptions& options,
ReadWriteArchiveInterface *interface, QObject *parent = 0
);
AddJob(const QStringList& files, const CompressionOptions& options, ReadWriteArchiveInterface *interface, QObject *parent = 0);
public slots:
virtual void doWork();
......@@ -147,8 +144,7 @@ class KERFUFFLE_EXPORT DeleteJob : public Job
Q_OBJECT
public:
DeleteJob(const QList<QVariant>& files, ReadWriteArchiveInterface
*interface, QObject *parent = 0);
DeleteJob(const QList<QVariant>& files, ReadWriteArchiveInterface *interface, QObject *parent = 0);
public slots:
virtual void doWork();
......@@ -156,6 +152,7 @@ public slots:
private:
QList<QVariant> m_files;
};
} // namespace Kerfuffle
#endif // JOBS_H
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