diff options
| author | Tannin <devnull@localhost> | 2014-06-16 21:49:57 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-06-16 21:49:57 +0200 |
| commit | 484749e612489336e5bfbe50ddc3cbe307069d4c (patch) | |
| tree | 296dc49d05a82c4b331f734ef1caa906a0dc5162 /src/mainwindow.h | |
| parent | 6d3f88b330f680459146ff1304c4752ffdbd1263 (diff) | |
- added pseudo-categories to filter for mo-managed vs. unmanaged mods
- deleted mods are now moved to the recycle bin instead of being deleted permanently
- reduced modinfo dialog for foreign mods
- foreign mods are now displayed with a pseudo-category
- added a signal when a plugin is moved
- bugfix: refreshing of directory structure for mods with bsas didn't work correctly when enabling a mod and on changing display of foreign mods
- bugfix: one mod in the list was assigned the same priority on the directory structure as the data directory
- bugfix: conflicts tab in the mod info dialog offered the hide option for files in bsas
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index da6f4330..ddbb7d6a 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -99,7 +99,6 @@ public: void readSettings(); bool addProfile(); - void refreshLists(); void refreshBSAList(); void refreshDataTree(); void refreshSaveList(); @@ -127,7 +126,7 @@ public: void addPrimaryCategoryCandidates(QMenu *primaryCategoryMenu, ModInfo::Ptr info); - void saveArchiveList(); + bool saveArchiveList(); void createStdoutPipe(HANDLE *stdOutRead, HANDLE *stdOutWrite); std::string readFromPipe(HANDLE stdOutRead); @@ -135,8 +134,12 @@ public: HANDLE startApplication(const QString &executable, const QStringList &args = QStringList(), const QString &cwd = "", const QString &profile = ""); + void updateModInDirectoryStructure(unsigned int index, ModInfo::Ptr modInfo); + public slots: + void refreshLists(); + void displayColumnSelection(const QPoint &pos); void externalMessage(const QString &message); @@ -260,8 +263,6 @@ private: void setCategoryListVisible(bool visible); - void updateProblemsButton(); - SaveGameGamebryo *getSaveGame(const QString &name); SaveGameGamebryo *getSaveGame(QListWidgetItem *item); @@ -287,6 +288,10 @@ private: std::set<QString> enabledArchives(); + void scheduleUpdateButton(); + + void updateModActiveState(int index, bool active); + private: static const unsigned int PROBLEM_PLUGINSNOTLOADED = 1; @@ -356,6 +361,7 @@ private: bool m_ArchivesInit; QTimer m_CheckBSATimer; QTimer m_SaveMetaTimer; + QTimer m_UpdateProblemsTimer; QTime m_StartTime; SaveGameInfoWidget *m_CurrentSaveView; @@ -478,7 +484,6 @@ private slots: void modlistChanged(int row); void nxmUpdatesAvailable(const std::vector<int> &modIDs, QVariant userData, QVariant resultData, int requestID); -// void nxmEndorsementToggled(int, QVariant, QVariant resultData, int); void nxmDownloadURLs(int modID, int fileID, QVariant userData, QVariant resultData, int requestID); void nxmRequestFailed(int modID, int fileID, QVariant userData, int requestID, const QString &errorString); @@ -510,6 +515,9 @@ private slots: void startExeAction(); void checkBSAList(); + + void updateProblemsButton(); + void saveModMetas(); void updateStyle(const QString &style); @@ -551,9 +559,9 @@ private slots: void delayedRemove(); void requestDownload(const QUrl &url, QNetworkReply *reply); - void profileRefresh(); private slots: // ui slots + void profileRefresh(); // actions void on_actionAdd_Profile_triggered(); void on_actionInstallMod_triggered(); |
