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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
kcmdesignerfields.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
5  Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 
23 #ifndef KORG_KCMDESIGNERFIELDS_H
24 #define KORG_KCMDESIGNERFIELDS_H
25 
26 #include <KCModule>
27 
28 class KComponentData;
29 
30 class QLabel;
31 class QPushButton;
32 class QTreeWidget;
33 class QTreeWidgetItem;
34 
35 class KCMDesignerFields : public KCModule
36 {
37  Q_OBJECT
38  public:
39  explicit KCMDesignerFields( const KComponentData &instance, QWidget *parent=0,
40  const QVariantList &args=QVariantList() );
41 
42  virtual void load();
43  virtual void save();
44  virtual void defaults();
45 
46  protected:
47  void loadUiFiles();
48  void loadActivePages( const QStringList & );
49  QStringList saveActivePages();
50 
51  virtual QString localUiDir() = 0;
52  virtual QString uiPath() = 0;
53  virtual void writeActivePages( const QStringList & ) = 0;
54  virtual QStringList readActivePages() = 0;
55  virtual QString applicationName() = 0;
56 
57  private Q_SLOTS:
58  void updatePreview();
59  void itemClicked( QTreeWidgetItem * );
60  void startDesigner();
61  void rebuildList();
62  void deleteFile();
63  void importFile();
64  void delayedInit();
65  void showWhatsThis( const QString &href );
66 
67  private:
68  void initGUI();
69 
70  QTreeWidget *mPageView;
71  QLabel *mPagePreview;
72  QLabel *mPageDetails;
73  QPushButton *mDeleteButton;
74  QPushButton *mImportButton;
75  QPushButton *mDesignerButton;
76 };
77 
78 #endif
KCMDesignerFields::KCMDesignerFields
KCMDesignerFields(const KComponentData &instance, QWidget *parent=0, const QVariantList &args=QVariantList())
Definition: kcmdesignerfields.cpp:136
KCMDesignerFields::writeActivePages
virtual void writeActivePages(const QStringList &)=0
KCMDesignerFields::loadActivePages
void loadActivePages(const QStringList &)
Definition: kcmdesignerfields.cpp:235
QWidget
KCMDesignerFields::loadUiFiles
void loadUiFiles()
Definition: kcmdesignerfields.cpp:213
KCMDesignerFields::defaults
virtual void defaults()
Definition: kcmdesignerfields.cpp:283
KCMDesignerFields::uiPath
virtual QString uiPath()=0
KCMDesignerFields::save
virtual void save()
Definition: kcmdesignerfields.cpp:278
KCMDesignerFields::saveActivePages
QStringList saveActivePages()
Definition: kcmdesignerfields.cpp:260
KCMDesignerFields::applicationName
virtual QString applicationName()=0
KCMDesignerFields::localUiDir
virtual QString localUiDir()=0
KCMDesignerFields::load
virtual void load()
Definition: kcmdesignerfields.cpp:251
KCModule
KCMDesignerFields
Definition: kcmdesignerfields.h:35
KCMDesignerFields::readActivePages
virtual QStringList readActivePages()=0
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

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