scribusapp.cpp File Reference
#include <iostream>#include <cstdlib>#include <QString>#include <QFont>#include <QTranslator>#include <QFileInfo>#include <QFile>#include <QDir>#include <QTextCodec>#include <QLocale>#include <QTextStream>#include "scribusapp.h"#include "scribuscore.h"#include "scpaths.h"#include "prefsfile.h"#include "langmgr.h"#include "prefsmanager.h"#include "commonstrings.h"#include "upgradechecker.h"

Go to the source code of this file.
Defines | |
| #define | ARG_VERSION "--version" |
| #define | ARG_HELP "--help" |
| #define | ARG_LANG "--lang" |
| #define | ARG_AVAILLANG "--langs-available" |
| #define | ARG_NOSPLASH "--no-splash" |
| #define | ARG_NEVERSPLASH "--never-splash" |
| #define | ARG_NOGUI "--no-gui" |
| #define | ARG_DISPLAY "--display" |
| #define | ARG_FONTINFO "--font-info" |
| #define | ARG_PROFILEINFO "--profile-info" |
| #define | ARG_SWAPDIABUTTONS "--swap-buttons" |
| #define | ARG_PREFS "--prefs" |
| #define | ARG_UPGRADECHECK "--upgradecheck" |
| #define | ARG_VERSION_SHORT "-v" |
| #define | ARG_HELP_SHORT "-h" |
| #define | ARG_LANG_SHORT "-l" |
| #define | ARG_AVAILLANG_SHORT "-la" |
| #define | ARG_NOSPLASH_SHORT "-ns" |
| #define | ARG_NEVERSPLASH_SHORT "-nns" |
| #define | ARG_NOGUI_SHORT "-g" |
| #define | ARG_DISPLAY_SHORT "-d" |
| #define | ARG_FONTINFO_SHORT "-fi" |
| #define | ARG_PROFILEINFO_SHORT "-pi" |
| #define | ARG_SWAPDIABUTTONS_SHORT "-sb" |
| #define | ARG_PREFS_SHORT "-pr" |
| #define | ARG_UPGRADECHECK_SHORT "-u" |
| #define | ARG_DISPLAY_QT "-display" |
Functions | |
| static void | printArgLine (QTextStream &ts, const char *smallArg, const char *fullArg, const QString desc) |
| Format an arguments line for printing Helper procedure. | |
Variables | |
| const char | ARG_CONSOLE [] = "--console" |
| const char | ARG_CONSOLE_SHORT [] = "-cl" |
| ScribusQApp * | ScQApp |
| ScribusCore * | ScCore |
Define Documentation
| #define ARG_AVAILLANG "--langs-available" |
Definition at line 54 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_AVAILLANG_SHORT "-la" |
Definition at line 68 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_DISPLAY "--display" |
| #define ARG_DISPLAY_QT "-display" |
| #define ARG_DISPLAY_SHORT "-d" |
| #define ARG_FONTINFO "--font-info" |
Definition at line 59 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_FONTINFO_SHORT "-fi" |
Definition at line 73 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_HELP "--help" |
Definition at line 52 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_HELP_SHORT "-h" |
Definition at line 66 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_LANG "--lang" |
Definition at line 53 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_LANG_SHORT "-l" |
Definition at line 67 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_NEVERSPLASH "--never-splash" |
Definition at line 56 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_NEVERSPLASH_SHORT "-nns" |
Definition at line 70 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_NOGUI "--no-gui" |
| #define ARG_NOGUI_SHORT "-g" |
| #define ARG_NOSPLASH "--no-splash" |
Definition at line 55 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_NOSPLASH_SHORT "-ns" |
Definition at line 69 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_PREFS "--prefs" |
Definition at line 62 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_PREFS_SHORT "-pr" |
Definition at line 76 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_PROFILEINFO "--profile-info" |
Definition at line 60 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_PROFILEINFO_SHORT "-pi" |
Definition at line 74 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_SWAPDIABUTTONS "--swap-buttons" |
Definition at line 61 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_SWAPDIABUTTONS_SHORT "-sb" |
Definition at line 75 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_UPGRADECHECK "--upgradecheck" |
Definition at line 63 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_UPGRADECHECK_SHORT "-u" |
Definition at line 77 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_VERSION "--version" |
Definition at line 51 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
| #define ARG_VERSION_SHORT "-v" |
Definition at line 65 of file scribusapp.cpp.
Referenced by ScribusQApp::parseCommandLine(), and ScribusQApp::showUsage().
Function Documentation
| static void printArgLine | ( | QTextStream & | ts, | |
| const char * | smallArg, | |||
| const char * | fullArg, | |||
| const QString | desc | |||
| ) | [static] |
Format an arguments line for printing Helper procedure.
Definition at line 386 of file scribusapp.cpp.
Referenced by ScribusQApp::showUsage().
Variable Documentation
| const char ARG_CONSOLE[] = "--console" |
| const char ARG_CONSOLE_SHORT[] = "-cl" |
Definition at line 45 of file main_nix.cpp.
Definition at line 47 of file main_nix.cpp.
