/usr/include/scribus/scribusapp.h is in scribus 1.4.0.dfsg+r17300-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | /*
For general Scribus (>=1.3.2) copyright and licensing information please refer
to the COPYING file provided with the program. Following this notice may exist
a copyright and/or license notice that predates the release of Scribus 1.3.2
for which a new license (GPL+exception) is in place.
*/
/***************************************************************************
begin : May 2005
copyright : (C) 2005 by Craig Bradney
email : cbradney@zip.com.au
***************************************************************************/
/***************************************************************************
* *
* ScMW program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef SCRIBUSAPP_H
#define SCRIBUSAPP_H
#include <QApplication>
#include <QString>
#include "scribusapi.h"
class ScribusCore;
class ScribusMainWindow;
class SCRIBUS_API ScribusQApp : public QApplication
{
Q_OBJECT
public:
ScribusQApp( int & argc, char ** argv );
~ScribusQApp();
int init();
void initLang();
void parseCommandLine();
void changeGUILanguage(const QString & lang);
/*!
\author Franz Schmid
\author Alessandro Rimoldi
\date Mon Feb 9 14:07:46 CET 2004
\brief If the lang argument is empty, returns the value in the locales
The lang is always a two character code, except for "en_GB" where
the whole string is returned. For all the other locales starting
with "en", no locale is returned.
(Inspired from Klocale.cpp)
\param lang QString a two letter string describing the lang environement
\retval QStringList A string describing the language environement
*/
QStringList getLang(QString lang);
/*!
\author Franz Schmid
\author Alessandro Rimoldi
\date Mon Feb 9 14:07:46 CET 2004
\brief Loads the translations for Scribus and for the Plugins
\param langs QString a two letter string describing the lang environement
*/
void installTranslators(const QStringList & langs);
const ScribusCore* core() {return m_ScCore;}
static bool useGUI;
void neverSplash(bool splashOff);
bool neverSplashExists();
const QString& currGUILanguage() {return GUILang;};
private:
ScribusCore* m_ScCore;
void showHeader();
void showVersion();
/*!
\author Franz Schmid
\author Alessandro Rimoldi
\date Mon Feb 9 14:07:46 CET 2004
\brief If no argument specified the lang, returns the one in the locales
*/
void showUsage();
/*!
\author Craig Bradney
\date Wed Nov 18 2004
\brief Instantiates the Language Manager and prints installed languages with brief instructions around
*/
void showAvailLangs();
QString lang;
QString GUILang;
bool showSplash;
bool showFontInfo;
bool showProfileInfo;
bool swapDialogButtonOrder;
//! \brief If is there user given prefs file...
QString prefsUserFile;
QList<QString> filesToLoad;
QString fileName;
protected:
virtual bool event(QEvent *event);
};
#endif
|