Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

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"

Include dependency graph for scribusapp.cpp:

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"
ScribusQAppScQApp
ScribusCoreScCore


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"

Definition at line 58 of file scribusapp.cpp.

Referenced by ScribusQApp::parseCommandLine().

#define ARG_DISPLAY_QT   "-display"

Definition at line 80 of file scribusapp.cpp.

Referenced by ScribusQApp::parseCommandLine().

#define ARG_DISPLAY_SHORT   "-d"

Definition at line 72 of file scribusapp.cpp.

Referenced by ScribusQApp::parseCommandLine().

#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"

Definition at line 57 of file scribusapp.cpp.

Referenced by ScribusQApp::parseCommandLine().

#define ARG_NOGUI_SHORT   "-g"

Definition at line 71 of file scribusapp.cpp.

Referenced by ScribusQApp::parseCommandLine().

#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.

Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.