Several small code improvements
This commit is contained in:
parent
90b389035e
commit
9b654768aa
|
@ -44,14 +44,14 @@ class ProgressDialog final : public finalcut::FDialog
|
||||||
// Constructor
|
// Constructor
|
||||||
explicit ProgressDialog (finalcut::FWidget* = nullptr);
|
explicit ProgressDialog (finalcut::FWidget* = nullptr);
|
||||||
|
|
||||||
// Copy constructor
|
// Disable copy constructor
|
||||||
ProgressDialog (const ProgressDialog&) = default;
|
ProgressDialog (const ProgressDialog&) = delete;
|
||||||
|
|
||||||
// Destructor
|
// Destructor
|
||||||
~ProgressDialog() override;
|
~ProgressDialog() override;
|
||||||
|
|
||||||
// Assignment operator (=)
|
// Disable assignment operator (=)
|
||||||
ProgressDialog& operator = (const ProgressDialog&) = default;
|
ProgressDialog& operator = (const ProgressDialog&) = delete;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Event handlers
|
// Event handlers
|
||||||
|
|
|
@ -166,14 +166,14 @@ class Window final : public finalcut::FDialog
|
||||||
// Constructor
|
// Constructor
|
||||||
explicit Window (finalcut::FWidget* = nullptr);
|
explicit Window (finalcut::FWidget* = nullptr);
|
||||||
|
|
||||||
// Copy constructor
|
// Disable copy constructor
|
||||||
Window (const Window&) = default;
|
Window (const Window&) = delete;
|
||||||
|
|
||||||
// Destructor
|
// Destructor
|
||||||
~Window() override;
|
~Window() override;
|
||||||
|
|
||||||
// Assignment operator (=)
|
// Disable assignment operator (=)
|
||||||
Window& operator = (const Window&) = default;
|
Window& operator = (const Window&) = delete;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Typedefs
|
// Typedefs
|
||||||
|
|
Loading…
Reference in New Issue