OpenMW
Classes | Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
Launcher::DataFilesPage Class Reference

#include <datafilespage.hpp>

List of all members.

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 &current)
void slotProfileRenamed (const QString &previous, const QString &current)
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 &current, bool savePrevious)
void removeProfile (const QString &profile)
bool showDeleteMessageBox (const QString &text)
void addProfile (const QString &profile, bool setAsCurrent)
void checkForDefaultProfile ()

Private Attributes

ContentSelectorView::ContentSelectormSelector
Ui::DataFilesPage ui
QMenu * mContextMenu
Files::ConfigurationManagermCfgMgr
GameSettingsmGameSettings
LauncherSettingsmLauncherSettings
QString mDataLocal

Constructor & Destructor Documentation

Launcher::DataFilesPage::DataFilesPage ( Files::ConfigurationManager cfg,
GameSettings gameSettings,
LauncherSettings launcherSettings,
QWidget *  parent = 0 
) [explicit]

Member Function Documentation

void Launcher::DataFilesPage::addProfile ( const QString &  profile,
bool  setAsCurrent 
) [private]
QAbstractItemModel * Launcher::DataFilesPage::profilesModel ( ) const
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]
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]

Member Data Documentation

Ui::DataFilesPage Launcher::DataFilesPage::ui [private]

The documentation for this class was generated from the following files: