KCal Library
resourcecachedconfig.h
00001 /* 00002 This file is part of the kcal library. 00003 00004 Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this library; see the file COPYING.LIB. If not, write to 00018 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 Boston, MA 02110-1301, USA. 00020 */ 00021 #ifndef KCAL_RESOURCECACHEDCONFIG_H 00022 #define KCAL_RESOURCECACHEDCONFIG_H 00023 00024 #include <QtGui/QWidget> 00025 #include "kcal_export.h" 00026 00027 namespace KCal { 00028 00029 class ResourceCached; 00030 00036 class KCAL_EXPORT_DEPRECATED ResourceCachedReloadConfig : public QWidget 00037 { 00038 Q_OBJECT 00039 public: 00040 explicit ResourceCachedReloadConfig( QWidget *parent = 0 ); 00041 ~ResourceCachedReloadConfig(); 00042 public Q_SLOTS: 00043 void loadSettings( ResourceCached *resource ); 00044 void saveSettings( ResourceCached *resource ); 00045 00046 protected Q_SLOTS: 00047 void slotIntervalToggled( bool ); 00048 00049 private: 00050 //@cond PRIVATE 00051 Q_DISABLE_COPY( ResourceCachedReloadConfig ) 00052 class Private; 00053 Private *const d; 00054 //@endcond 00055 }; 00056 00062 class KCAL_EXPORT_DEPRECATED ResourceCachedSaveConfig : public QWidget 00063 { 00064 Q_OBJECT 00065 public: 00066 explicit ResourceCachedSaveConfig( QWidget *parent = 0 ); 00067 ~ResourceCachedSaveConfig(); 00068 00069 public Q_SLOTS: 00070 void loadSettings( ResourceCached *resource ); 00071 void saveSettings( ResourceCached *resource ); 00072 00073 protected Q_SLOTS: 00074 void slotIntervalToggled( bool ); 00075 00076 private: 00077 //@cond PRIVATE 00078 Q_DISABLE_COPY( ResourceCachedSaveConfig ) 00079 class Private; 00080 Private *const d; 00081 //@endcond 00082 }; 00083 00084 } 00085 00086 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:19:48 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:19:48 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.