Krazy fix: explicit constructor

wilder-portage
Jekyll Wu 13 years ago
parent 7656ce515a
commit 966a20eb63
  1. 2
      src/History.h
  2. 2
      src/PrintOptions.h
  3. 2
      src/Profile.h

@ -356,7 +356,7 @@ public:
class HistoryTypeFile : public HistoryType
{
public:
HistoryTypeFile(const QString& fileName = QString());
explicit HistoryTypeFile(const QString& fileName = QString());
virtual bool isEnabled() const;
virtual int maximumLineCount() const;

@ -31,7 +31,7 @@ class PrintOptions : public QWidget, private Ui::PrintOptions
Q_OBJECT
public:
PrintOptions(QWidget* parent = 0);
explicit PrintOptions(QWidget* parent = 0);
~PrintOptions();
public slots:

@ -588,7 +588,7 @@ public:
typedef KSharedPtr<ProfileGroup> Ptr;
/** Construct a new profile group, which is hidden by default. */
ProfileGroup(Profile::Ptr parent = Profile::Ptr());
explicit ProfileGroup(Profile::Ptr parent = Profile::Ptr());
/** Add a profile to the group. Calling setProperty() will update this
* profile. When creating a group, add the profiles to the group then

Loading…
Cancel
Save