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

kalarm

resourceconfigdialog.h

Go to the documentation of this file.
00001 /*
00002  *  resourceconfigdialog.h  -  KAlarm resource configuration dialog
00003  *  Program:  kalarm
00004  *  Copyright © 2006 by David Jarvie <software@astrojar.org.uk>
00005  *  Based on configdialog.cpp in kdelibs/kresources,
00006  *  Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
00007  *  Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
00008  *
00009  *  This program is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  This program is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License along
00020  *  with this program; if not, write to the Free Software Foundation, Inc.,
00021  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00022  */
00023 
00024 #ifndef RESOURCECONFIGDIALOG_H
00025 #define RESOURCECONFIGDIALOG_H
00026 
00027 #include <kdialog.h>
00028 
00029 class KLineEdit;
00030 class QCheckBox;
00031 
00032 namespace KRES {
00033   class ConfigWidget;
00034 }
00035 class AlarmResource;
00036 
00037 class ResourceConfigDialog : public KDialog
00038 {
00039     Q_OBJECT
00040   public:
00041     // Resource=0: create new resource
00042     ResourceConfigDialog(QWidget *parent, AlarmResource* resource);
00043 
00044     void setInEditMode(bool value);
00045 
00046   protected Q_SLOTS:
00047     void accept();
00048     void setReadOnly(bool value);
00049     void slotNameChanged(const QString &text);
00050 
00051   private:
00052     KRES::ConfigWidget *mConfigWidget;
00053     AlarmResource* mResource;
00054 
00055     KLineEdit *mName;
00056     QCheckBox *mReadOnly;
00057 };
00058 
00059 #endif

kalarm

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal