Commit b03fa88a authored by Henrique Pinto's avatar Henrique Pinto
Browse files

* Mark some constructors as explicit

svn path=/trunk/KDE/kdeutils/ark/; revision=694877
parent ee91900c
......@@ -41,7 +41,7 @@ namespace Kerfuffle
{
Q_OBJECT
public:
ReadOnlyArchiveInterface( const QString & filename, QObject *parent = 0 );
explicit ReadOnlyArchiveInterface( const QString & filename, QObject *parent = 0 );
virtual ~ReadOnlyArchiveInterface();
QString filename() const { return m_filename; }
......@@ -69,7 +69,7 @@ namespace Kerfuffle
{
Q_OBJECT
public:
ReadWriteArchiveInterface( const QString & filename, QObject *parent = 0 );
explicit ReadWriteArchiveInterface( const QString & filename, QObject *parent = 0 );
virtual ~ReadWriteArchiveInterface();
virtual bool isReadOnly() const;
......
......@@ -58,7 +58,7 @@ namespace Kerfuffle
{
Q_OBJECT
public:
InternalListingJob( ReadOnlyArchiveInterface *archive, QObject *parent = 0 );
explicit InternalListingJob( ReadOnlyArchiveInterface *archive, QObject *parent = 0 );
~InternalListingJob();
protected:
......@@ -142,7 +142,7 @@ namespace Kerfuffle
{
Q_OBJECT
public:
ArchiveJobHelper( ReadOnlyArchiveInterface *archive, QObject *parent = 0 );
explicit ArchiveJobHelper( ReadOnlyArchiveInterface *archive, QObject *parent = 0 );
~ArchiveJobHelper();
bool getTheListing();
......
......@@ -45,7 +45,7 @@ namespace Kerfuffle
{
Q_OBJECT
public:
ListJob( ReadOnlyArchiveInterface *interface, QObject *parent = 0 );
explicit ListJob( ReadOnlyArchiveInterface *interface, QObject *parent = 0 );
void start();
......
......@@ -32,7 +32,7 @@ class InfoPanel: public QFrame, Ui::InformationPanel
{
Q_OBJECT
public:
InfoPanel( ArchiveModel *model, QWidget *parent = 0 );
explicit InfoPanel( ArchiveModel *model, QWidget *parent = 0 );
~InfoPanel();
void setIndex( const QModelIndex & );
......
......@@ -32,7 +32,7 @@ class KArchiveInterface: public ReadWriteArchiveInterface
{
Q_OBJECT
public:
KArchiveInterface( const QString & filename, QObject *parent = 0 );
explicit KArchiveInterface( const QString & filename, QObject *parent = 0 );
~KArchiveInterface();
bool list();
......
......@@ -39,7 +39,7 @@ class LibArchiveInterface: public ReadOnlyArchiveInterface
{
Q_OBJECT
public:
LibArchiveInterface( const QString & filename, QObject *parent = 0 );
explicit LibArchiveInterface( const QString & filename, QObject *parent = 0 );
~LibArchiveInterface();
bool list();
......
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