summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-05-25 15:39:45 +0200
committerTannin <devnull@localhost>2014-05-25 15:39:45 +0200
commitcf0a1bc2be22c8784fd098e00e05e46373afe602 (patch)
tree3f2140aae72dbebb1ef5c475eb019bb246f469d2 /src/mainwindow.h
parent48c8cca578c415152e64b3c3a6e1523dbc76b4d8 (diff)
- files in bsas are now only displayed in the data tab if they are managed by mo
- number of problems detected by MO is now displayed as a badge on the icon - rephrased the explanation text on the Archives tab. unchecked plugin-loaded bsas no longer prompt a warning - bsa extraction is now handled in a plugin - added a way for plugins to react to mod installation - re-enabled the automatic fix for asset order problems - bugfix: In some cases when a download wasn't started successfully the download urls weren't stored in the meta file so no resume was possible - bugfix: MO tried to resume downloads when it didn't have and download urls - bugfix: downloads couldn't be paused if the download was already broken on the network layer - bugfix: download managear did not recognize a file as downloaded if the download completed before signals were hooked up - bugfix: in-place file replacement was re-broken
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 910e243a..bbbbea2f 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -90,6 +90,7 @@ private:
};
typedef boost::signals2::signal<bool (const QString&), SignalCombinerAnd> SignalAboutToRunApplication;
+ typedef boost::signals2::signal<void (const QString&)> SignalModInstalled;
public:
explicit MainWindow(const QString &exeName, QSettings &initSettings, QWidget *parent = 0);
@@ -251,7 +252,7 @@ private:
bool extractProgress(QProgressDialog &extractProgress, int percentage, std::string fileName);
- bool checkForProblems();
+ int checkForProblems();
int getBinaryExecuteInfo(const QFileInfo &targetInfo, QFileInfo &binaryInfo, QString &arguments);
QTreeWidgetItem *addFilterItem(QTreeWidgetItem *root, const QString &name, int categoryID);
@@ -284,6 +285,8 @@ private:
QMenu *modListContextMenu();
+ std::set<QString> managedArchives();
+
private:
static const unsigned int PROBLEM_PLUGINSNOTLOADED = 1;
@@ -366,6 +369,7 @@ private:
QFile m_PluginsCheck;
SignalAboutToRunApplication m_AboutToRun;
+ SignalModInstalled m_ModInstalled;
QString m_CurrentLanguage;
std::vector<QTranslator*> m_Translators;
@@ -588,6 +592,7 @@ private slots: // ui slots
void on_actionCopy_Log_to_Clipboard_triggered();
void on_categoriesAndBtn_toggled(bool checked);
void on_categoriesOrBtn_toggled(bool checked);
+ void on_managedArchiveLabel_linkHovered(const QString &link);
};