summaryrefslogtreecommitdiffstats
path: root/src/kdocker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdocker.cpp')
-rw-r--r--src/kdocker.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/kdocker.cpp b/src/kdocker.cpp
index ded1643..b85198d 100644
--- a/src/kdocker.cpp
+++ b/src/kdocker.cpp
@@ -90,32 +90,32 @@ void KDocker::printVersion(void)
// Prints the CLI arguments. Does not return
void KDocker::printUsage(char optopt)
{
- if (optopt != 'h') qDebug(i18n("kdocker: invalid option -- %1").arg(optopt).local8Bit());
-
- qDebug(i18n("Usage: KDocker [options] command\n").local8Bit());
- qDebug(i18n("Docks any application into the system tray\n").local8Bit());
- qDebug(i18n("command \tCommand to execute\n").local8Bit());
- qDebug(i18n("Options").local8Bit());
- qDebug(i18n("-a \tShow author information").local8Bit());
- qDebug(i18n("-b \tDont warn about non-normal windows (blind mode)").local8Bit());
- qDebug(i18n("-d \tDisable session management").local8Bit());
- qDebug(i18n("-e \tEnable session management").local8Bit());
- qDebug(i18n("-f \tDock window that has the focus(active window)").local8Bit());
- qDebug(i18n("-h \tDisplay this help").local8Bit());
- qDebug(i18n("-i icon\tCustom dock Icon").local8Bit());
- qDebug(i18n("-l \tLaunch on startup").local8Bit());
- qDebug(i18n("-m \tKeep application window mapped (dont hide on dock)").local8Bit());
- qDebug(i18n("-o \tDock when obscured").local8Bit());
- qDebug(i18n("-p secs\tSet ballooning timeout (popup time)").local8Bit());
- qDebug(i18n("-q \tDisable ballooning title changes (quiet)").local8Bit());
- qDebug(i18n("-t \tRemove this application from the task bar").local8Bit());
- qDebug(i18n("-v \tDisplay version").local8Bit());
- qDebug(i18n("-w wid \tWindow id of the application to dock\n").local8Bit());
-
- qDebug(i18n("NOTE: Use -d for all startup scripts.\n").local8Bit());
-
- qDebug(i18n("Bugs and wishes to gramakri@uiuc.edu").local8Bit());
- qDebug(i18n("Project information at http://kdocker.sourceforge.net").local8Bit());
+ if (optopt != 'h') qDebug("%s", i18n("kdocker: invalid option -- %1").arg(optopt).local8Bit().data());
+
+ qDebug("%s", i18n("Usage: KDocker [options] command\n").local8Bit().data());
+ qDebug("%s", i18n("Docks any application into the system tray\n").local8Bit().data());
+ qDebug("%s", i18n("command \tCommand to execute\n").local8Bit().data());
+ qDebug("%s", i18n("Options").local8Bit().data());
+ qDebug("%s", i18n("-a \tShow author information").local8Bit().data());
+ qDebug("%s", i18n("-b \tDont warn about non-normal windows (blind mode)").local8Bit().data());
+ qDebug("%s", i18n("-d \tDisable session management").local8Bit().data());
+ qDebug("%s", i18n("-e \tEnable session management").local8Bit().data());
+ qDebug("%s", i18n("-f \tDock window that has the focus(active window)").local8Bit().data());
+ qDebug("%s", i18n("-h \tDisplay this help").local8Bit().data());
+ qDebug("%s", i18n("-i icon\tCustom dock Icon").local8Bit().data());
+ qDebug("%s", i18n("-l \tLaunch on startup").local8Bit().data());
+ qDebug("%s", i18n("-m \tKeep application window mapped (dont hide on dock)").local8Bit().data());
+ qDebug("%s", i18n("-o \tDock when obscured").local8Bit().data());
+ qDebug("%s", i18n("-p secs\tSet ballooning timeout (popup time)").local8Bit().data());
+ qDebug("%s", i18n("-q \tDisable ballooning title changes (quiet)").local8Bit().data());
+ qDebug("%s", i18n("-t \tRemove this application from the task bar").local8Bit().data());
+ qDebug("%s", i18n("-v \tDisplay version").local8Bit().data());
+ qDebug("%s", i18n("-w wid \tWindow id of the application to dock\n").local8Bit().data());
+
+ qDebug("%s", i18n("NOTE: Use -d for all startup scripts.\n").local8Bit().data());
+
+ qDebug("%s", i18n("Bugs and wishes to gramakri@uiuc.edu").local8Bit().data());
+ qDebug("%s", i18n("Project information at http://kdocker.sourceforge.net").local8Bit().data());
}
void KDocker::notifyPreviousInstance(Window prevInstance)