Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d66e5465 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Use Q_DISABLE_COPY to disable copy constructors

parent 6e78f453
......@@ -85,6 +85,8 @@ private Q_SLOTS:
void saveColorScheme();
private:
Q_DISABLE_COPY(ColorSchemeEditor)
void setupColorTable(const ColorScheme *table);
bool _isNewScheme;
......
......@@ -78,6 +78,8 @@ private Q_SLOTS:
}
private:
Q_DISABLE_COPY(CopyInputDialog)
// Checks or unchecks selected sessions. If there are no
// selected items then all sessions are checked or unchecked
void setSelectionChecked(bool checked);
......
......@@ -188,6 +188,8 @@ private Q_SLOTS:
void delayedPreviewActivate();
private:
Q_DISABLE_COPY(EditProfileDialog)
// initialize various pages of the dialog
void setupGeneralPage(const Profile::Ptr profile);
void setupTabsPage(const Profile::Ptr profile);
......
......@@ -168,6 +168,8 @@ protected:
void getLineColumn(int position, int &startLine, int &startColumn);
private:
Q_DISABLE_COPY(Filter)
QMultiHash<int, HotSpot *> _hotspots;
QList<HotSpot *> _hotspotList;
......@@ -408,6 +410,8 @@ public:
const QVector<LineProperty> &lineProperties);
private:
Q_DISABLE_COPY(TerminalImageFilterChain)
QString *_buffer;
QList<int> *_linePositions;
};
......
......@@ -147,6 +147,8 @@ private Q_SLOTS:
void updateButtonsAccordingToReverseSearchSetting();
private:
Q_DISABLE_COPY(IncrementalSearchBar)
QLineEdit *_searchEdit;
QAction *_caseSensitive;
QAction *_regExpression;
......
......@@ -86,6 +86,8 @@ private Q_SLOTS:
void addNewEntry();
private:
Q_DISABLE_COPY(KeyBindingEditor)
void setupKeyBindingTable(const KeyboardTranslator *translator);
Ui::KeyBindingEditor *_ui;
......
......@@ -45,6 +45,8 @@ public:
void focusRemoteTabTitleText();
private:
Q_DISABLE_COPY(RenameTabDialog)
Ui::RenameTabDialog *_ui;
};
}
......
......@@ -706,6 +706,8 @@ private Q_SLOTS:
void sessionAttributeRequest(int id);
private:
Q_DISABLE_COPY(Session)
// checks that the binary 'program' is available and can be executed
// returns the binary name if available or an empty string otherwise
static QString checkProgram(const QString &program);
......
......@@ -294,6 +294,8 @@ private Q_SLOTS:
void updateWebSearchMenu();
private:
Q_DISABLE_COPY(SessionController)
// begins the search
// text - pattern to search for
// direction - value from SearchHistoryTask::SearchDirection enum to specify
......
......@@ -769,6 +769,8 @@ private Q_SLOTS:
void dismissOutputSuspendedMessage();
private:
Q_DISABLE_COPY(TerminalDisplay)
// -- Drawing helpers --
// divides the part of the display specified by 'rect' into
......
......@@ -441,6 +441,8 @@ Q_SIGNALS:
void closeTab(ViewContainer *self, QWidget *activeView);
private:
Q_DISABLE_COPY(TabbedViewContainer)
void dynamicTabBarVisibility();
void setTabBarVisible(bool visible);
void setTabActivity(int index, bool activity);
......
......@@ -62,6 +62,8 @@ protected:
void dropEvent(QDropEvent *event) Q_DECL_OVERRIDE;
private:
Q_DISABLE_COPY(ViewContainerTabBar)
// show the indicator arrow which shows where a dropped tab will
// be inserted at 'index'
void setDropIndicator(int index, bool drawDisabled = false);
......
......@@ -51,6 +51,8 @@ private Q_SLOTS:
void slotUser1Clicked();
private:
Q_DISABLE_COPY(ZModemDialog)
void delayedDestruct();
KTextEdit *_textEdit;
QDialogButtonBox *mButtonBox;
......
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