summaryrefslogtreecommitdiff
path: root/src/pluginlist.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-09-08 20:37:23 +0200
committerTannin <devnull@localhost>2014-09-08 20:37:23 +0200
commit9daeb9479bd2675d0feef1e1f7bffb3f73361e30 (patch)
tree7c6190555677aee74366d1541ad6f2c8b4d50bd9 /src/pluginlist.h
parent07bae15d7cdb831f97719c940c411ba40dba8929 (diff)
- re-enabled building of loot_cli and started developing against the new api
- extended set of default categories - more tolerand bbcode parser - added a few colors for the bbcode parser - more fixes to qt5 compatibility - started work on ability to unloading (and thus re-loading) of plugins - names of plugins are no longer localizable (because those names are also used to store settings) - added settings to disable individual diagnosis settings - path of dependencies is now configured in a .pri file instead of environment variablees - bugfix: if the modid-input is canceled, the id was saved as -1 and wasn't re-requested from the user - bugfix: moving files with the SHFileOperation-Api didn't update the vfs correctly (still not perfect but better) - bugfix: attempt to remove the deleter-file seems to have caused error messages for some users - bugfix: fixed a couple of cases that might have caused the tutorial to hang
Diffstat (limited to 'src/pluginlist.h')
-rw-r--r--src/pluginlist.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/pluginlist.h b/src/pluginlist.h
index 67d1b640..8c06fefd 100644
--- a/src/pluginlist.h
+++ b/src/pluginlist.h
@@ -26,15 +26,16 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#include <QListWidget>
#include <QTimer>
#include <QTemporaryFile>
+#ifndef Q_MOC_RUN
#include <boost/signals2.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
+#endif
#include <vector>
#include <map>
#include "pdll.h"
#include <BOSS-API.h>
-
template <class C>
class ChangeBracket {
public:
@@ -212,6 +213,11 @@ public:
void refreshLoadOrder();
+ void disconnectSlots() {
+ m_PluginMoved.disconnect_all_slots();
+ m_Refreshed.disconnect_all_slots();
+ }
+
public:
virtual PluginState state(const QString &name) const;
@@ -333,13 +339,11 @@ private:
mutable QTimer m_SaveTimer;
SignalRefreshed m_Refreshed;
+ SignalPluginMoved m_PluginMoved;
QTemporaryFile m_TempFile;
- SignalPluginMoved m_PluginMoved;
};
-
-
#endif // PLUGINLIST_H