Commit 8241682b authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Add --fullscreen command line option

Add option to go into full screen mode via command line.

FEATURE: 312378
REVIEW: 109042
FIXED-IN: 4.11
parent 6ab5e1ae
......@@ -304,6 +304,9 @@ MainWindow* Application::processWindowArgs(KCmdLineArgs* args)
if (args->isSet("hide-menubar")) {
if (args->isSet("fullscreen")) {
// override default tabbbar visibility
// FIXME: remove those magic number
......@@ -157,7 +157,6 @@ private slots:
void activeViewTitleChanged(ViewProperties*);
void profileListChanged(const QList<QAction*>& actions);
void viewFullScreen(bool fullScreen);
void configureNotifications();
void setSaveGeometryOnExit(bool visible);
......@@ -172,6 +171,9 @@ private slots:
void applyKonsoleSettings();
public slots:
void viewFullScreen(bool fullScreen);
void correctStandardShortcuts();
void rememberMenuAccelerators();
......@@ -175,6 +175,7 @@ void fillCommandLineOptions(KCmdLineOptions& options)
options.add("hide-menubar", ki18nc("@info:shell", "Hide the menubar, overriding the default setting"));
options.add("show-tabbar", ki18nc("@info:shell", "Show the tabbar, overriding the default setting"));
options.add("hide-tabbar", ki18nc("@info:shell", "Hide the tabbar, overriding the default setting"));
options.add("fullscreen", ki18nc("@info:shell", "Start Konsole in fullscreen mode"));
ki18nc("@info:shell", "Disable transparent backgrounds, even if the system"
" supports them."));
Supports Markdown
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