cppcheck: more explicit contructors
This commit is contained in:
@@ -70,7 +70,7 @@ public:
|
||||
* dialogs.
|
||||
*/
|
||||
|
||||
CurveEditorGroup(Glib::ustring& curveDir, Glib::ustring groupLabel = "");
|
||||
explicit CurveEditorGroup(Glib::ustring& curveDir, Glib::ustring groupLabel = "");
|
||||
~CurveEditorGroup() override;
|
||||
void newLine();
|
||||
void curveListComplete();
|
||||
|
||||
@@ -400,7 +400,7 @@ protected:
|
||||
void set_none();
|
||||
|
||||
public:
|
||||
MyFileChooserButton(const Glib::ustring &title, Gtk::FileChooserAction action=Gtk::FILE_CHOOSER_ACTION_OPEN);
|
||||
explicit MyFileChooserButton(const Glib::ustring &title, Gtk::FileChooserAction action=Gtk::FILE_CHOOSER_ACTION_OPEN);
|
||||
|
||||
sigc::signal<void> &signal_selection_changed();
|
||||
sigc::signal<void> &signal_file_set();
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
type_signal_item_selected signal_item_selected();
|
||||
Gtk::Grid* buttonGroup; // this is the widget to be packed
|
||||
|
||||
PopUpCommon (Gtk::Button* button, const Glib::ustring& label = "");
|
||||
explicit PopUpCommon (Gtk::Button* button, const Glib::ustring& label = "");
|
||||
virtual ~PopUpCommon ();
|
||||
bool addEntry (const Glib::ustring& fileName, const Glib::ustring& label);
|
||||
int getEntryCount () const;
|
||||
|
||||
@@ -38,11 +38,11 @@ protected:
|
||||
public:
|
||||
RTImage ();
|
||||
RTImage (RTImage &other);
|
||||
RTImage (Glib::RefPtr<Gdk::Pixbuf> &pixbuf);
|
||||
RTImage (Cairo::RefPtr<Cairo::ImageSurface> &surf);
|
||||
RTImage(Cairo::RefPtr<Cairo::ImageSurface> other);
|
||||
RTImage (Glib::RefPtr<RTImage> &other);
|
||||
RTImage (const Glib::ustring& fileName, const Glib::ustring& rtlFileName = Glib::ustring());
|
||||
explicit RTImage (Glib::RefPtr<Gdk::Pixbuf> &pixbuf);
|
||||
explicit RTImage (Cairo::RefPtr<Cairo::ImageSurface> &surf);
|
||||
explicit RTImage(Cairo::RefPtr<Cairo::ImageSurface> other);
|
||||
explicit RTImage (Glib::RefPtr<RTImage> &other);
|
||||
explicit RTImage (const Glib::ustring& fileName, const Glib::ustring& rtlFileName = Glib::ustring());
|
||||
|
||||
void setImage (const Glib::ustring& fileName, const Glib::ustring& rtlFileName = Glib::ustring());
|
||||
void changeImage (const Glib::ustring& imageName);
|
||||
|
||||
@@ -30,7 +30,7 @@ class RTSurface :
|
||||
{
|
||||
public:
|
||||
RTSurface();
|
||||
RTSurface(const Glib::ustring& fileName, const Glib::ustring& rtlFileName = {});
|
||||
explicit RTSurface(const Glib::ustring& fileName, const Glib::ustring& rtlFileName = {});
|
||||
|
||||
void setImage(const Glib::ustring& fileName, const Glib::ustring& rtlFileName = {});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user