Update comments for the copy assignment operator

This commit is contained in:
Markus Gans 2020-04-15 23:44:08 +02:00
parent 7d4de8e46f
commit fd92d7f4d8
63 changed files with 83 additions and 83 deletions

View File

@ -62,7 +62,7 @@ class FClassName
// Destructor
~FClassName();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FClassName& operator = (const FClassName&) = delete;
// Overloaded operators

View File

@ -49,7 +49,7 @@ class Background final : public finalcut::FDialog
// Destructor
~Background();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Background& operator = (const Background&) = delete;
private:

View File

@ -48,7 +48,7 @@ class CheckList final : public finalcut::FDialog
// Destructor
~CheckList() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
CheckList& operator = (const CheckList&) = delete;
private:

View File

@ -88,7 +88,7 @@ class Listbox final : public FDialog
// Destructor
~Listbox() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Listbox& operator = (const Listbox&) = delete;
private:

View File

@ -48,7 +48,7 @@ class Listview final : public finalcut::FDialog
// Destructor
~Listview() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Listview& operator = (const Listview&) = delete;
private:

View File

@ -43,7 +43,7 @@ class Menu final : public finalcut::FDialog
// Destructor
~Menu() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Menu& operator = (const Menu&) = delete;
private:

View File

@ -45,7 +45,7 @@ class ColorChooser final : public finalcut::FWidget
// Destructor
~ColorChooser() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
ColorChooser& operator = (const ColorChooser&) = delete;
// Accessors
@ -184,7 +184,7 @@ class Brushes final : public finalcut::FWidget
// Destructor
~Brushes() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Brushes& operator = (const Brushes&) = delete;
// Accessor
@ -323,7 +323,7 @@ class MouseDraw final : public finalcut::FDialog
// Destructor
~MouseDraw() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
MouseDraw& operator = (const MouseDraw&) = delete;
// Methods

View File

@ -43,7 +43,7 @@ class Scrollview final : public finalcut::FScrollView
// Destructor
~Scrollview() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Scrollview& operator = (const Scrollview&) = delete;
// Mutator

View File

@ -46,7 +46,7 @@ class AttribDlg final : public finalcut::FDialog
// Destructor
~AttribDlg() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
AttribDlg& operator = (const AttribDlg&) = delete;
// Methods

View File

@ -54,7 +54,7 @@ class Transparent final : public finalcut::FDialog
// Destructor
~Transparent() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Transparent& operator = (const Transparent&) = delete;
private:
@ -152,7 +152,7 @@ class MainWindow final : public finalcut::FDialog
// Destructor
~MainWindow() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
MainWindow& operator = (const MainWindow&) = delete;
private:

View File

@ -131,7 +131,7 @@ class Treeview final : public finalcut::FDialog
// Destructor
~Treeview() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Treeview& operator = (const Treeview&) = delete;
private:

View File

@ -50,7 +50,7 @@ class ProgressDialog final : public finalcut::FDialog
// Destructor
~ProgressDialog() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
ProgressDialog& operator = (const ProgressDialog&) = delete;
private:
@ -193,7 +193,7 @@ class TextWindow final : public finalcut::FDialog
// Destructor
~TextWindow() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
TextWindow& operator = (const TextWindow&) = delete;
// Method
@ -259,7 +259,7 @@ class MyDialog final : public finalcut::FDialog
// Destructor
~MyDialog() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
MyDialog& operator = (const MyDialog&) = delete;
private:

View File

@ -43,7 +43,7 @@ class Watch final : public finalcut::FDialog
// Destructor
~Watch() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Watch& operator = (const Watch&) = delete;
// Method

View File

@ -44,7 +44,7 @@ class SmallWindow final : public finalcut::FDialog
// Destructor
~SmallWindow() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
SmallWindow& operator = (const SmallWindow&) = delete;
private:
@ -172,7 +172,7 @@ class Window final : public finalcut::FDialog
// Destructor
~Window() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
Window& operator = (const Window&) = delete;
private:
@ -187,7 +187,7 @@ class Window final : public finalcut::FDialog
// Disable copy constructor
win_data (const win_data&) = delete;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
win_data& operator = (const win_data&) = delete;
// Data members

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2015-2019 Markus Gans *
* Copyright 2015-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -48,7 +48,7 @@ public:
// Disable copy constructor
emptyFString (const emptyFString&) = delete;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
emptyFString& operator = (const emptyFString&) = delete;
static bool isNull();

View File

@ -98,7 +98,7 @@ class FApplication : public FWidget
// Destructor
~FApplication() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FApplication& operator = (const FApplication&) = delete;
// Accessors

View File

@ -70,7 +70,7 @@ class FButton : public FWidget
// Destructor
~FButton() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FButton& operator = (const FButton&) = delete;
// Overloaded operator

View File

@ -74,7 +74,7 @@ class FButtonGroup : public FScrollView
// Destructor
~FButtonGroup() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FButtonGroup& operator = (const FButtonGroup&) = delete;
// Accessor

View File

@ -74,7 +74,7 @@ class FCheckBox : public FToggleButton
// Destructor
~FCheckBox() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FCheckBox& operator = (const FCheckBox&) = delete;
// Accessor

View File

@ -74,7 +74,7 @@ class FCheckMenuItem : public FMenuItem
// Destructor
~FCheckMenuItem() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FCheckMenuItem& operator = (const FCheckMenuItem&) = delete;
// Accessor

View File

@ -64,7 +64,7 @@ class FColorPair
// Destructor
~FColorPair() = default;
// Assignment operator (=)
// copy assignment operator (=)
FColorPair& operator = (const FColorPair& pair)
{
fg_color = pair.fg_color;

View File

@ -79,7 +79,7 @@ class FDropDownListBox : public FWindow
// Destructor
~FDropDownListBox () override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FDropDownListBox& operator = (const FDropDownListBox&) = delete;
// Accessors
@ -141,7 +141,7 @@ class FComboBox : public FWidget
// Destructor
~FComboBox() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FComboBox& operator = (const FComboBox&) = delete;
// Overloaded operators

View File

@ -87,7 +87,7 @@ class FDialog : public FWindow
// Destructor
~FDialog() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FDialog& operator = (const FDialog&) = delete;
// Accessors

View File

@ -80,7 +80,7 @@ class FDialogListMenu : public FMenu
// Destructor
~FDialogListMenu() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FDialogListMenu& operator = (const FDialogListMenu&) = delete;
// Accessors

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2014-2019 Markus Gans *
* Copyright 2014-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -330,7 +330,7 @@ class FUserEvent : public FEvent // timer event
~FUserEvent();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FUserEvent& operator = (const FUserEvent&) = delete;
int getUserId() const;

View File

@ -108,7 +108,7 @@ class FFileDialog : public FDialog
// Destructor
~FFileDialog() override;
// Assignment operator (=)
// copy assignment operator (=)
FFileDialog& operator = (const FFileDialog&);
// Accessors

View File

@ -95,7 +95,7 @@ class FKeyboard final
// Destructor
~FKeyboard();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FKeyboard& operator = (const FKeyboard&) = delete;
// Accessors

View File

@ -75,7 +75,7 @@ class FLabel : public FWidget
// Destructor
~FLabel() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FLabel& operator = (const FLabel&) = delete;
// Overloaded operators

View File

@ -91,7 +91,7 @@ class FLineEdit : public FWidget
// Destructor
~FLineEdit() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FLineEdit& operator = (const FLineEdit&) = delete;
// Overloaded operators

View File

@ -77,7 +77,7 @@ class FListBoxItem
// Destructor
virtual ~FListBoxItem();
// Assignment operator (=)
// copy copy assignment operator (=)
FListBoxItem& operator = (const FListBoxItem&);
// Accessors
@ -156,7 +156,7 @@ class FListBox : public FWidget
// Destructor
~FListBox() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FListBox& operator = (const FListBox&) = delete;
// Accessors

View File

@ -80,7 +80,7 @@ class FListViewItem : public FObject
// Destructor
~FListViewItem() override;
// Assignment operator (=)
// copy assignment operator (=)
FListViewItem& operator = (const FListViewItem&);
// Accessors
@ -274,7 +274,7 @@ class FListView : public FWidget
// Destructor
~FListView() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FListView& operator = (const FListView&) = delete;
// Accessors

View File

@ -81,7 +81,7 @@ class FMenu : public FWindow, public FMenuList
// Destructor
~FMenu() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FMenu& operator = (const FMenu&) = delete;
// Accessors

View File

@ -79,7 +79,7 @@ class FMenuBar : public FWindow, public FMenuList
// Destructor
~FMenuBar() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FMenuBar& operator = (const FMenuBar&) = delete;
// Accessors

View File

@ -84,7 +84,7 @@ class FMenuItem : public FWidget
// Destructor
~FMenuItem() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FMenuItem& operator = (const FMenuItem&) = delete;
// Accessors

View File

@ -67,7 +67,7 @@ class FMenuList
// Destructor
virtual ~FMenuList();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FMenuList& operator = (const FMenuList&) = delete;
// Accessors

View File

@ -97,7 +97,7 @@ class FMessageBox : public FDialog
// Destructor
~FMessageBox() override;
// Assignment operator (=)
// copy assignment operator (=)
FMessageBox& operator = (const FMessageBox&);
// Accessor

View File

@ -454,7 +454,7 @@ class FMouseControl
// Destructor
virtual ~FMouseControl();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FMouseControl& operator = (const FMouseControl&) = delete;
// Accessors

View File

@ -85,7 +85,7 @@ class FObject
// Destructor
virtual ~FObject();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FObject& operator = (const FObject&) = delete;
// Accessors

View File

@ -123,7 +123,7 @@ class FOptiAttr final
// Destructor
~FOptiAttr();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FOptiAttr& operator = (const FOptiAttr&) = delete;
// Accessors

View File

@ -74,7 +74,7 @@ class FRadioButton : public FToggleButton
// Destructor
~FRadioButton() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FRadioButton& operator = (const FRadioButton&) = delete;
// Accessor

View File

@ -74,7 +74,7 @@ class FRadioMenuItem : public FMenuItem
// Destructor
~FRadioMenuItem() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FRadioMenuItem& operator = (const FRadioMenuItem&) = delete;
// Accessor

View File

@ -94,7 +94,7 @@ class FScrollbar : public FWidget
// Destructor
~FScrollbar() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FScrollbar& operator = (const FScrollbar&) = delete;
// Accessors

View File

@ -76,7 +76,7 @@ class FScrollView : public FWidget
// Destructor
~FScrollView() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FScrollView& operator = (const FScrollView&) = delete;
// Accessors

View File

@ -74,7 +74,7 @@ class FSpinBox : public FWidget
// Destructor
~FSpinBox() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FSpinBox& operator = (const FSpinBox&) = delete;
// Accessors

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2019 Markus Gans *
* Copyright 2019-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -60,7 +60,7 @@ class FStartOptions final
// Destructor
~FStartOptions();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FStartOptions& operator = (const FStartOptions&) = delete;
// Accessors

View File

@ -83,7 +83,7 @@ class FStatusKey : public FWidget
// Destructor
~FStatusKey() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FStatusKey& operator = (const FStatusKey&) = delete;
// Accessors
@ -192,7 +192,7 @@ class FStatusBar : public FWindow
// Destructor
~FStatusBar() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FStatusBar& operator = (const FStatusBar&) = delete;
// Accessors

View File

@ -62,7 +62,7 @@ class FStyle
// Destructor
~FStyle() = default;
// Assignment operator (=)
// copy assignment operator (=)
FStyle& operator = (const FStyle& style)
{
attribute = style.attribute;

View File

@ -74,7 +74,7 @@ class FSwitch : public FToggleButton
// Destructor
~FSwitch() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FSwitch& operator = (const FSwitch&) = delete;
// Accessor

View File

@ -169,7 +169,7 @@ class FTerm final
// Destructor
~FTerm();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTerm& operator = (const FTerm&) = delete;
// Accessors

View File

@ -67,7 +67,7 @@ class FTermData final
~FTermData()
{ }
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermData& operator = (const FTermData&) = delete;
// Accessors

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2018-2019 Markus Gans *
* Copyright 2018-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -60,7 +60,7 @@ class FTermDebugData final
// Destructor
~FTermDebugData() = default;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermDebugData& operator = (const FTermDebugData&) = delete;
// Accessors

View File

@ -87,7 +87,7 @@ class FTermDetection final
// Destructor
~FTermDetection();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermDetection& operator = (const FTermDetection&) = delete;
// Accessor

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2018-2019 Markus Gans *
* Copyright 2018-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -91,7 +91,7 @@ class FTermFreeBSD final
// Destructor
~FTermFreeBSD() = default;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermFreeBSD& operator = (const FTermFreeBSD&) = delete;
// Accessors

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2018-2019 Markus Gans *
* Copyright 2018-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -89,7 +89,7 @@ class FTermLinux final
// Destructor
~FTermLinux();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermLinux& operator = (const FTermLinux&) = delete;
// Accessors

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2018-2019 Markus Gans *
* Copyright 2018-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -83,7 +83,7 @@ class FTermOpenBSD final
// Destructor
~FTermOpenBSD();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermOpenBSD& operator = (const FTermOpenBSD&) = delete;
// Accessor

View File

@ -3,7 +3,7 @@
* *
* This file is part of the Final Cut widget toolkit *
* *
* Copyright 2018-2019 Markus Gans *
* Copyright 2018-2020 Markus Gans *
* *
* The Final Cut is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public License *
@ -59,7 +59,7 @@ class FTermXTerminal final
// Destructor
~FTermXTerminal();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermXTerminal& operator = (const FTermXTerminal&) = delete;
// Mutators

View File

@ -78,7 +78,7 @@ class FTextView : public FWidget
// Destructor
~FTextView() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTextView& operator = (const FTextView&) = delete;
// Overloaded operators

View File

@ -75,7 +75,7 @@ class FToggleButton : public FWidget
// Destructor
~FToggleButton() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FToggleButton& operator = (const FToggleButton&) = delete;
// Accessors

View File

@ -76,7 +76,7 @@ class FToolTip : public FWindow
// Destructor
~FToolTip () override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FToolTip& operator = (const FToolTip&) = delete;
// Accessors

View File

@ -126,7 +126,7 @@ class FVTerm
// Destructor
virtual ~FVTerm();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FVTerm& operator = (const FVTerm&) = delete;
// Overloaded operators
@ -519,7 +519,7 @@ struct FVTerm::FTermArea // define virtual terminal character properties
// Destructor
~FTermArea() = default;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FTermArea& operator = (const FTermArea&) = delete;
// Data members

View File

@ -180,7 +180,7 @@ class FWidget : public FVTerm, public FObject
// Destructor
~FWidget() override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FWidget& operator = (const FWidget&) = delete;
// Accessors

View File

@ -79,7 +79,7 @@ class FWindow : public FWidget
// Destructor
~FWindow () override;
// Disable assignment operator (=)
// Disable copy assignment operator (=)
FWindow& operator = (const FWindow&) = delete;
// Accessors

View File

@ -62,7 +62,7 @@ class SGRoptimizer final
// Destructor
~SGRoptimizer();
// Disable assignment operator (=)
// Disable copy assignment operator (=)
SGRoptimizer& operator = (const SGRoptimizer&) = delete;
// Method