summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <[email protected]>2017-12-30 21:29:43 -0500
committerKurt Hindenburg <[email protected]>2017-12-30 21:29:43 -0500
commit2ffcca1c906ed038abb40f5d08fb86c521436a6e (patch)
tree2dbb3d2af2e73305e6197b75e0624101171fe1c4
parent64be7b6240dc191df917bff6167f2da4fe7b620e (diff)
move methods which are not slots
-rw-r--r--src/SessionController.h6
-rw-r--r--src/TerminalDisplay.h39
2 files changed, 23 insertions, 22 deletions
diff --git a/src/SessionController.h b/src/SessionController.h
index 9dde556..4bded8b 100644
--- a/src/SessionController.h
+++ b/src/SessionController.h
@@ -289,9 +289,6 @@ private Q_SLOTS:
void zmodemDownload();
void zmodemUpload();
- /* Returns true if called within a KPart; false if called within Konsole. */
- bool isKonsolePart() const;
-
// update actions related with selected text
void updateCopyAction(const QString &selectedText);
void updateWebSearchMenu();
@@ -310,6 +307,9 @@ private:
void setFindNextPrevEnabled(bool enabled);
void listenForScreenWindowUpdates();
+ /* Returns true if called within a KPart; false if called within Konsole. */
+ bool isKonsolePart() const;
+
private:
void updateSessionIcon();
diff --git a/src/TerminalDisplay.h b/src/TerminalDisplay.h
index 750eb4e..7a9aa53 100644
--- a/src/TerminalDisplay.h
+++ b/src/TerminalDisplay.h
@@ -528,6 +528,26 @@ public:
void printContent(QPainter &painter, bool friendly);
+ /**
+ * Gets the background of the display
+ * @see setBackgroundColor(), setColorTable(), setForegroundColor()
+ */
+ QColor getBackgroundColor() const;
+
+ bool bracketedPasteMode() const;
+
+ /**
+ * Returns true if the flow control warning box is enabled.
+ * See outputSuspended() and setFlowControlWarningEnabled()
+ */
+ bool flowControlWarningEnabled() const
+ {
+ return _flowControlWarningEnabled;
+ }
+
+ /** See setUsesMouse() */
+ bool usesMouse() const;
+
public Q_SLOTS:
/**
* Scrolls current ScreenWindow
@@ -574,15 +594,6 @@ public Q_SLOTS:
*/
void setFlowControlWarningEnabled(bool enabled);
/**
- * Returns true if the flow control warning box is enabled.
- * See outputSuspended() and setFlowControlWarningEnabled()
- */
- bool flowControlWarningEnabled() const
- {
- return _flowControlWarningEnabled;
- }
-
- /**
* Causes the widget to display or hide a message informing the user that terminal
* output has been suspended (by using the flow control key combination Ctrl+S)
*
@@ -608,11 +619,7 @@ public Q_SLOTS:
*/
void setUsesMouse(bool usesMouse);
- /** See setUsesMouse() */
- bool usesMouse() const;
-
void setBracketedPasteMode(bool bracketedPasteMode);
- bool bracketedPasteMode() const;
/**
* Shows a notification that a bell event has occurred in the terminal.
@@ -621,12 +628,6 @@ public Q_SLOTS:
void bell(const QString &message);
/**
- * Gets the background of the display
- * @see setBackgroundColor(), setColorTable(), setForegroundColor()
- */
- QColor getBackgroundColor() const;
-
- /**
* Sets the background of the display to the specified color.
* @see setColorTable(), getBackgroundColor(), setForegroundColor()
*/