mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-15 21:29:58 +02:00
re-enable the possibility to define the path of elements collections.
Add variables for common and custom elements collections, to avoid multiple access to QSettings and so reduce the loading of collections. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5462 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -86,6 +86,7 @@ class QETApp : public QETSingleApplication
|
||||
static QString customElementsDir();
|
||||
static QString commonElementsDirN();
|
||||
static QString customElementsDirN();
|
||||
static void resetUserElementsDir();
|
||||
static QString commonTitleBlockTemplatesDir();
|
||||
static QString customTitleBlockTemplatesDir();
|
||||
static bool registerProject(QETProject *);
|
||||
@@ -185,6 +186,8 @@ class QETApp : public QETSingleApplication
|
||||
static RecentFiles *m_projects_recent_files;
|
||||
static RecentFiles *m_elements_recent_files;
|
||||
static TitleBlockTemplate *default_titleblock_template_;
|
||||
static QString m_user_common_elements_dir;
|
||||
static QString m_user_custom_elements_dir;
|
||||
|
||||
public slots:
|
||||
void systray(QSystemTrayIcon::ActivationReason);
|
||||
|
||||
Reference in New Issue
Block a user