messagelist
configurethemesdialog.cpp
Go to the documentation of this file.
274 ThemeListWidgetItem * ConfigureThemesDialog::Private::findThemeItemById( const QString &themeId )
292 ThemeListWidgetItem * ConfigureThemesDialog::Private::findThemeItemByName( const QString &name, Theme * skipTheme )
330 QString ConfigureThemesDialog::Private::uniqueNameForTheme( const QString& baseName, Theme * skipTheme )
371 ThemeListWidgetItem * item = dynamic_cast< ThemeListWidgetItem * >( mThemeList->currentItem() );
411 ThemeListWidgetItem *newItem = dynamic_cast< ThemeListWidgetItem * >(mThemeList->currentItem());
420 const QString filename = KFileDialog::getOpenFileName(QString(),QString::fromLatin1("*"),q,i18n("Import Theme"));
455 const QString filename = KFileDialog::getSaveFileName(QString(),QString::fromLatin1("*"),q,i18n("Export Theme"));
465 grp.writeEntry( QString::fromLatin1( "Set%1" ).arg( idx ), themeItem->theme()->saveToString() );
void newThemeButtonClicked()
Definition: configurethemesdialog.cpp:348
~ConfigureThemesDialog()
Definition: configurethemesdialog.cpp:174
The Row class defines a row of items inside a Column.
Definition: theme.h:466
QString uniqueNameForTheme(const QString &baseName, Core::Theme *skipTheme=0)
Definition: configurethemesdialog.cpp:330
void setVisibleByDefault(bool vbd)
Sets the "visible by default" tag for this column.
Definition: theme.h:718
The Column class defines a view column available inside this theme.
Definition: theme.h:564
void okButtonClicked()
Definition: configurethemesdialog.cpp:188
QPushButton * mExportThemeButton
Definition: configurethemesdialog_p.h:73
void generateUniqueId()
(Re)generates a (hopefully) unique identifier for this option set.
Definition: optionset.cpp:57
void resetColumnState()
Resets the column state (visibility and width) to their default values (the "visible by default" ones...
Definition: theme.cpp:725
void editedThemeNameChanged()
Definition: configurethemesdialog.cpp:233
bool loadFromString(const QString &data)
Attempts to unpack this configuration object from a string (that is likely to come out from a config ...
Definition: optionset.cpp:86
ThemeListWidget * mThemeList
Definition: configurethemesdialog_p.h:68
void commitEditor()
Definition: configurethemesdialog.cpp:212
void cloneThemeButtonClicked()
Definition: configurethemesdialog.cpp:369
QPushButton * mNewThemeButton
Definition: configurethemesdialog_p.h:70
void fillThemeList()
Definition: configurethemesdialog.cpp:248
ThemeListWidgetItem * findThemeItemByTheme(Core::Theme *set)
Definition: configurethemesdialog.cpp:312
ThemeListWidgetItem * findThemeItemByName(const QString &name, Core::Theme *skipTheme=0)
Definition: configurethemesdialog.cpp:292
void importThemeButtonClicked()
Definition: configurethemesdialog.cpp:418
void exportThemeButtonClicked()
Definition: configurethemesdialog.cpp:449
ThemeEditor * mEditor
Definition: configurethemesdialog_p.h:69
QPushButton * mCloneThemeButton
Definition: configurethemesdialog_p.h:71
QPushButton * mDeleteThemeButton
Definition: configurethemesdialog_p.h:72
void deleteThemeButtonClicked()
Definition: configurethemesdialog.cpp:392
void detach()
Detaches this object from the shared runtime data for columns.
Definition: theme.cpp:718
The Theme class defines the visual appearance of the MessageList.
Definition: theme.h:65
ConfigureThemesDialog *const q
Definition: configurethemesdialog_p.h:66
void selectTheme(const QString &themeId)
Definition: configurethemesdialog.cpp:179
Definition: themeeditor.h:202
ThemeListWidgetItem * findThemeItemById(const QString &themeId)
Definition: configurethemesdialog.cpp:274
void themeListItemClicked(QListWidgetItem *)
Definition: configurethemesdialog.cpp:258
QPushButton * mImportThemeButton
Definition: configurethemesdialog_p.h:74
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.