• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messagelist

  • sources
  • kde-4.12
  • kdepim
  • messagelist
  • utils
configurethemesdialog_p.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright 2008 Szymon Tomasz Stefanek <pragma@kvirc.net>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  *
19  *******************************************************************************/
20 
21 #ifndef __MESSAGELIST_UTILS_CONFIGURETHEMESDIALOG_P_H__
22 #define __MESSAGELIST_UTILS_CONFIGURETHEMESDIALOG_P_H__
23 
24 #include "utils/configurethemesdialog.h"
25 
26 namespace MessageList
27 {
28 
29 namespace Core
30 {
31 
32 class Theme;
33 
34 }
35 
36 namespace Utils
37 {
38 
39 class ThemeEditor;
40 class ThemeListWidget;
41 class ThemeListWidgetItem;
42 
43 class ConfigureThemesDialog::Private
44 {
45 public:
46  Private( ConfigureThemesDialog *owner )
47  : q( owner ) { }
48 
49  void fillThemeList();
50  QString uniqueNameForTheme( const QString& baseName, Core::Theme * skipTheme = 0 );
51  ThemeListWidgetItem * findThemeItemByName( const QString &name, Core::Theme * skipTheme = 0 );
52  ThemeListWidgetItem * findThemeItemByTheme( Core::Theme * set );
53  ThemeListWidgetItem * findThemeItemById( const QString &themeId );
54  void commitEditor();
55 
56  void themeListItemClicked(QListWidgetItem*);
57  void newThemeButtonClicked();
58  void cloneThemeButtonClicked();
59  void deleteThemeButtonClicked();
60  void editedThemeNameChanged();
61  void okButtonClicked();
62  void exportThemeButtonClicked();
63  void importThemeButtonClicked();
64 
65 
66  ConfigureThemesDialog * const q;
67 
68  ThemeListWidget *mThemeList;
69  ThemeEditor *mEditor;
70  QPushButton *mNewThemeButton;
71  QPushButton *mCloneThemeButton;
72  QPushButton *mDeleteThemeButton;
73  QPushButton *mExportThemeButton;
74  QPushButton *mImportThemeButton;
75 
76 };
77 
78 } // namespace Utils
79 
80 } // namespace MessageList
81 
82 #endif
MessageList::Utils::ConfigureThemesDialog::Private::newThemeButtonClicked
void newThemeButtonClicked()
Definition: configurethemesdialog.cpp:348
MessageList::Utils::ConfigureThemesDialog::Private::uniqueNameForTheme
QString uniqueNameForTheme(const QString &baseName, Core::Theme *skipTheme=0)
Definition: configurethemesdialog.cpp:330
MessageList::Utils::ConfigureThemesDialog::Private
Definition: configurethemesdialog_p.h:43
configurethemesdialog.h
MessageList::Utils::ConfigureThemesDialog::Private::okButtonClicked
void okButtonClicked()
Definition: configurethemesdialog.cpp:188
MessageList::Utils::ConfigureThemesDialog::Private::mExportThemeButton
QPushButton * mExportThemeButton
Definition: configurethemesdialog_p.h:73
MessageList::Utils::ConfigureThemesDialog::Private::editedThemeNameChanged
void editedThemeNameChanged()
Definition: configurethemesdialog.cpp:233
MessageList::Utils::ConfigureThemesDialog::Private::mThemeList
ThemeListWidget * mThemeList
Definition: configurethemesdialog_p.h:68
MessageList::Utils::ConfigureThemesDialog::Private::commitEditor
void commitEditor()
Definition: configurethemesdialog.cpp:212
MessageList::Utils::ConfigureThemesDialog::Private::cloneThemeButtonClicked
void cloneThemeButtonClicked()
Definition: configurethemesdialog.cpp:369
MessageList::Utils::ConfigureThemesDialog::Private::mNewThemeButton
QPushButton * mNewThemeButton
Definition: configurethemesdialog_p.h:70
MessageList::Utils::ConfigureThemesDialog::Private::fillThemeList
void fillThemeList()
Definition: configurethemesdialog.cpp:248
MessageList::Utils::ConfigureThemesDialog::Private::findThemeItemByTheme
ThemeListWidgetItem * findThemeItemByTheme(Core::Theme *set)
Definition: configurethemesdialog.cpp:312
MessageList::Utils::ConfigureThemesDialog::Private::findThemeItemByName
ThemeListWidgetItem * findThemeItemByName(const QString &name, Core::Theme *skipTheme=0)
Definition: configurethemesdialog.cpp:292
MessageList::Utils::ConfigureThemesDialog::Private::importThemeButtonClicked
void importThemeButtonClicked()
Definition: configurethemesdialog.cpp:418
MessageList::Utils::ConfigureThemesDialog::Private::exportThemeButtonClicked
void exportThemeButtonClicked()
Definition: configurethemesdialog.cpp:449
MessageList::Utils::ConfigureThemesDialog::Private::mEditor
ThemeEditor * mEditor
Definition: configurethemesdialog_p.h:69
MessageList::Utils::ConfigureThemesDialog::Private::mCloneThemeButton
QPushButton * mCloneThemeButton
Definition: configurethemesdialog_p.h:71
MessageList::Utils::ConfigureThemesDialog::Private::mDeleteThemeButton
QPushButton * mDeleteThemeButton
Definition: configurethemesdialog_p.h:72
MessageList::Utils::ConfigureThemesDialog::Private::deleteThemeButtonClicked
void deleteThemeButtonClicked()
Definition: configurethemesdialog.cpp:392
MessageList::Utils::ConfigureThemesDialog::Private::Private
Private(ConfigureThemesDialog *owner)
Definition: configurethemesdialog_p.h:46
MessageList::Core::Theme
The Theme class defines the visual appearance of the MessageList.
Definition: theme.h:65
MessageList::Utils::ConfigureThemesDialog
Definition: configurethemesdialog.h:45
MessageList::Utils::ConfigureThemesDialog::Private::q
ConfigureThemesDialog *const q
Definition: configurethemesdialog_p.h:66
MessageList::Utils::ThemeEditor
Definition: themeeditor.h:202
MessageList::Utils::ConfigureThemesDialog::Private::findThemeItemById
ThemeListWidgetItem * findThemeItemById(const QString &themeId)
Definition: configurethemesdialog.cpp:274
MessageList::Utils::ConfigureThemesDialog::Private::themeListItemClicked
void themeListItemClicked(QListWidgetItem *)
Definition: configurethemesdialog.cpp:258
MessageList::Utils::ConfigureThemesDialog::Private::mImportThemeButton
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

KDE's Doxygen guidelines are available online.

messagelist

Skip menu "messagelist"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal