summaryrefslogtreecommitdiff
path: root/src/pluginlist.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-03-27 20:48:33 +0100
committerTannin <devnull@localhost>2013-03-27 20:48:33 +0100
commite0eb97922d5ef4a1448e76f13374ebfda7fda403 (patch)
tree00f32ad3f680e51a210bee8155624d71f608bb15 /src/pluginlist.h
parent74c75e60d67b66a63225239c1f6b1403662857aa (diff)
- added hooks for getFileVersion* functions
- automatic donwload retry - support for storing multiple download urls - improved "query info" functionality - some cleanup to download manager code - external fomod installer dialog are now brought to front - added shell... functions to have windows handle problematic situations - added visual clue when filters are active - esps are now automatically activated when installing a mod - added option to never endorse a mod - added "previous" and "next" buttons to mod info dialog - improved the way messagedialog text is shortened - coloring in mod info dialog now visible in other color schemes - plugin list is now saved automatically - vanilla bsas are now enabled even if they are not listed in the ini file - bugfix: setting mod to maximum now doesn't try to place the mod below overwrite
Diffstat (limited to 'src/pluginlist.h')
-rw-r--r--src/pluginlist.h11
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