diff options
| author | Tannin <devnull@localhost> | 2015-03-09 12:34:34 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-03-09 12:34:34 +0100 |
| commit | 7a1ae9b0f1560c9eda32e032796fbb3fd56ff236 (patch) | |
| tree | dea71435ac1042cb008fcd9f7b1ec57e6ea91227 /src/pluginlist.h | |
| parent | d45ebf134819e1559718681becca9c4139fb7151 (diff) | |
| parent | db2954e8eb41da715b9e7d79a72e225797401413 (diff) | |
Merge with branch1.2
Diffstat (limited to 'src/pluginlist.h')
| -rw-r--r-- | src/pluginlist.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/src/pluginlist.h b/src/pluginlist.h index 729c6f8b..7be2df28 100644 --- a/src/pluginlist.h +++ b/src/pluginlist.h @@ -26,6 +26,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QListWidget>
#include <QTimer>
#include <QTemporaryFile>
+#pragma warning(push)
+#pragma warning(disable: 4100)
#ifndef Q_MOC_RUN
#include <boost/signals2.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
@@ -33,7 +35,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <vector>
#include <map>
#include "pdll.h"
-#include <BOSS-API.h>
template <class C>
@@ -96,7 +97,7 @@ public: *
* @param parent parent object
**/
- PluginList(QObject *parent = NULL);
+ PluginList(QObject *parent = nullptr);
~PluginList();
@@ -263,16 +264,13 @@ signals: **/
void esplist_changed();
- /**
- * @brief emitted when the plugin list should be saved
- */
- void saveTimer();
+ void writePluginsList();
private:
struct ESPInfo {
- ESPInfo(const QString &name, bool enabled, FILETIME time, const QString &originName, const QString &fullPath, bool hasIni);
+ ESPInfo(const QString &name, bool enabled, const QString &originName, const QString &fullPath, bool hasIni);
QString m_Name;
QString m_FullPath;
bool m_Enabled;
@@ -311,8 +309,6 @@ private: void setPluginPriority(int row, int &newPriority);
void changePluginPriority(std::vector<int> rows, int newPriority);
- void startSaveTime();
-
void testMasters();
private:
@@ -337,14 +333,13 @@ private: QTextCodec *m_Utf8Codec;
QTextCodec *m_LocalCodec;
- mutable QTimer m_SaveTimer;
-
SignalRefreshed m_Refreshed;
SignalPluginMoved m_PluginMoved;
QTemporaryFile m_TempFile;
-
};
+#pragma warning(pop)
+
#endif // PLUGINLIST_H
|
