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 2ffcca1c authored by Kurt Hindenburg's avatar Kurt Hindenburg

move methods which are not slots

parent 64be7b62
......@@ -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();
......
......@@ -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
......@@ -573,15 +593,6 @@ public Q_SLOTS:
* stop key (Ctrl+S) are pressed.
*/
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.
......@@ -620,12 +627,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()
......
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