OpenMW
|
#include <datafilespage.hpp>
Classes | |
class | PathIterator |
Public Slots | |
void | slotProfileChanged (int index) |
Signals | |
void | signalProfileChanged (int index) |
Public Member Functions | |
DataFilesPage (Files::ConfigurationManager &cfg, GameSettings &gameSettings, LauncherSettings &launcherSettings, QWidget *parent=0) | |
QAbstractItemModel * | profilesModel () const |
int | profilesIndex () const |
void | saveSettings (const QString &profile="") |
void | loadSettings () |
Private Slots | |
void | slotProfileChangedByUser (const QString &previous, const QString ¤t) |
void | slotProfileRenamed (const QString &previous, const QString ¤t) |
void | slotProfileDeleted (const QString &item) |
void | on_newProfileAction_triggered () |
void | on_deleteProfileAction_triggered () |
Private Member Functions | |
void | setPluginsCheckstates (Qt::CheckState state) |
void | buildView () |
void | setupDataFiles () |
void | setupConfig () |
void | readConfig () |
void | setProfile (int index, bool savePrevious) |
void | setProfile (const QString &previous, const QString ¤t, bool savePrevious) |
void | removeProfile (const QString &profile) |
bool | showDeleteMessageBox (const QString &text) |
void | addProfile (const QString &profile, bool setAsCurrent) |
void | checkForDefaultProfile () |
Private Attributes | |
ContentSelectorView::ContentSelector * | mSelector |
Ui::DataFilesPage | ui |
QMenu * | mContextMenu |
Files::ConfigurationManager & | mCfgMgr |
GameSettings & | mGameSettings |
LauncherSettings & | mLauncherSettings |
QString | mDataLocal |
Launcher::DataFilesPage::DataFilesPage | ( | Files::ConfigurationManager & | cfg, |
GameSettings & | gameSettings, | ||
LauncherSettings & | launcherSettings, | ||
QWidget * | parent = 0 |
||
) | [explicit] |
void Launcher::DataFilesPage::addProfile | ( | const QString & | profile, |
bool | setAsCurrent | ||
) | [private] |
void Launcher::DataFilesPage::buildView | ( | ) | [private] |
void Launcher::DataFilesPage::checkForDefaultProfile | ( | ) | [private] |
void Launcher::DataFilesPage::on_deleteProfileAction_triggered | ( | ) | [private, slot] |
void Launcher::DataFilesPage::on_newProfileAction_triggered | ( | ) | [private, slot] |
int Launcher::DataFilesPage::profilesIndex | ( | ) | const |
QAbstractItemModel * Launcher::DataFilesPage::profilesModel | ( | ) | const |
void Launcher::DataFilesPage::readConfig | ( | ) | [private] |
void Launcher::DataFilesPage::removeProfile | ( | const QString & | profile | ) | [private] |
void Launcher::DataFilesPage::saveSettings | ( | const QString & | profile = "" | ) |
void Launcher::DataFilesPage::setPluginsCheckstates | ( | Qt::CheckState | state | ) | [private] |
void Launcher::DataFilesPage::setProfile | ( | int | index, |
bool | savePrevious | ||
) | [private] |
void Launcher::DataFilesPage::setProfile | ( | const QString & | previous, |
const QString & | current, | ||
bool | savePrevious | ||
) | [private] |
void Launcher::DataFilesPage::setupConfig | ( | ) | [private] |
void Launcher::DataFilesPage::setupDataFiles | ( | ) | [private] |
bool Launcher::DataFilesPage::showDeleteMessageBox | ( | const QString & | text | ) | [private] |
void Launcher::DataFilesPage::signalProfileChanged | ( | int | index | ) | [signal] |
void Launcher::DataFilesPage::slotProfileChanged | ( | int | index | ) | [slot] |
void Launcher::DataFilesPage::slotProfileChangedByUser | ( | const QString & | previous, |
const QString & | current | ||
) | [private, slot] |
void Launcher::DataFilesPage::slotProfileDeleted | ( | const QString & | item | ) | [private, slot] |
void Launcher::DataFilesPage::slotProfileRenamed | ( | const QString & | previous, |
const QString & | current | ||
) | [private, slot] |
QMenu* Launcher::DataFilesPage::mContextMenu [private] |
QString Launcher::DataFilesPage::mDataLocal [private] |
Ui::DataFilesPage Launcher::DataFilesPage::ui [private] |