diff options
| author | Tannin <devnull@localhost> | 2013-03-29 10:12:34 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-03-29 10:12:34 +0100 |
| commit | a47d9717884953b18b4b29e596d3e5a7d766e56e (patch) | |
| tree | 565a3f1371ff9727d31d01590f105496294570d3 /src/pluginlist.h | |
| parent | 10485e15e4de3e1a6c30733ad2d4850591d31509 (diff) | |
| parent | 59d6b7840b1e7fdbb7475010273047b7bb185d3a (diff) | |
Merge with default
Diffstat (limited to 'src/pluginlist.h')
| -rw-r--r-- | src/pluginlist.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/pluginlist.h b/src/pluginlist.h index a46fd4d5..d2d699d5 100644 --- a/src/pluginlist.h +++ b/src/pluginlist.h @@ -22,6 +22,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QString> #include <QListWidget> +#include <QTimer> #include <vector> #include <directoryentry.h> @@ -162,6 +163,11 @@ signals: **/ void esplist_changed(); + /** + * @brief emitted when the plugin list should be saved + */ + void saveTimer(); + private: void refreshLoadOrder(); @@ -175,6 +181,8 @@ private: void setPluginPriority(int row, int &newPriority); void changePluginPriority(std::vector<int> rows, int newPriority); + void startSaveTime(); + private: struct ESPInfo { @@ -212,9 +220,10 @@ private: std::map<QString, int> m_LockedOrder; QString m_CurrentProfile; - mutable bool m_Modified; QFontMetrics m_FontMetrics; + mutable QTimer m_SaveTimer; + }; #endif // PLUGINLIST_H |
