diff options
| author | Tannin <devnull@localhost> | 2013-03-27 21:04:27 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-03-27 21:04:27 +0100 |
| commit | b4220cf2f4e1998299517490244a48f7ec2b0235 (patch) | |
| tree | 251c975507250eabd6c8a541b6c345cbf72288a7 /src/pluginlist.h | |
| parent | 10485e15e4de3e1a6c30733ad2d4850591d31509 (diff) | |
| parent | e0eb97922d5ef4a1448e76f13374ebfda7fda403 (diff) | |
Merge with branch1.0
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 |
