mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-24 19:00:00 +01:00
Ajout d'une option d'execution --config-dir pour redefinir le dossier de configuration (et donc la collection d'elements perso)
Cette option d'execution peut etre desactivee avec l'option de compilation QET_ALLOW_OVERRIDE_CD_OPTION Correction pour l'impression sous Windows git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@211 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
8
qetapp.h
8
qetapp.h
@@ -33,10 +33,18 @@ class QETApp : public QApplication {
|
||||
static QString realPath(const QString &);
|
||||
static QString symbolicPath(const QString &);
|
||||
#ifdef QET_ALLOW_OVERRIDE_CED_OPTION
|
||||
public:
|
||||
static void overrideCommonElementsDir(const QString &);
|
||||
private:
|
||||
static QString common_elements_dir;
|
||||
#endif
|
||||
#ifdef QET_ALLOW_OVERRIDE_CD_OPTION
|
||||
public:
|
||||
static void overrideConfigDir(const QString &);
|
||||
private:
|
||||
static QString config_dir;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
bool event(QEvent *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user