1 | /* |
2 | This file is part of the kcal library. |
3 | |
4 | Copyright (c) 2002 Tobias Koenig <tokoe@kde.org> |
5 | Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.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 KCAL_RESOURCELOCALDIRCONFIG_H |
24 | #define KCAL_RESOURCELOCALDIRCONFIG_H |
25 | |
26 | #include "kcal_export.h" |
27 | |
28 | #include "kresources/resource.h" |
29 | #include "kresources/configwidget.h" |
30 | |
31 | namespace KCal { |
32 | |
33 | /** |
34 | @brief |
35 | Configuration widget for local dir resource. |
36 | |
37 | @see ResourceLocalDir |
38 | */ |
39 | class KCAL_DEPRECATED_EXPORT ResourceLocalDirConfig : public KRES::ConfigWidget |
40 | { |
41 | Q_OBJECT |
42 | public: |
43 | explicit ResourceLocalDirConfig( QWidget *parent = 0 ); |
44 | ~ResourceLocalDirConfig(); |
45 | |
46 | public Q_SLOTS: |
47 | virtual void loadSettings( KRES::Resource *resource ); |
48 | virtual void saveSettings( KRES::Resource *resource ); |
49 | |
50 | private: |
51 | //@cond PRIVATE |
52 | Q_DISABLE_COPY( ResourceLocalDirConfig ) |
53 | class Private; |
54 | Private *const d; |
55 | //@endcond |
56 | }; |
57 | |
58 | } |
59 | |
60 | #endif |
61 | |