~ubuntu-branches/ubuntu/edgy/digikam/edgy-proposed

« back to all changes in this revision

Viewing changes to digikamcameraclient/cameraui/camerasettings.h

  • Committer: Bazaar Package Importer
  • Author(s): Paul Telford
  • Date: 2004-09-23 17:21:39 UTC
  • Revision ID: james.westby@ubuntu.com-20040923172139-3b3ji0dvomon3lod
Tags: upstream-0.6.2
ImportĀ upstreamĀ versionĀ 0.6.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 * File  : camerasettings.h
 
3
 * Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
 
4
 * Date  : 2003-02-12
 
5
 * Description : 
 
6
 * 
 
7
 * Copyright 2003 by Renchi Raju
 
8
 
 
9
 * This program is free software; you can redistribute it
 
10
 * and/or modify it under the terms of the GNU General
 
11
 * Public License as published bythe Free Software Foundation;
 
12
 * either version 2, or (at your option)
 
13
 * any later version.
 
14
 * 
 
15
 * This program is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 * GNU General Public License for more details.
 
19
 * 
 
20
 * ============================================================ */
 
21
 
 
22
#ifndef CAMERASETTINGS_H
 
23
#define CAMERASETTINGS_H
 
24
 
 
25
class KConfig;
 
26
 
 
27
class CameraSettings
 
28
{
 
29
public:
 
30
 
 
31
    CameraSettings();
 
32
    ~CameraSettings();
 
33
 
 
34
    void readSettings();
 
35
    void saveSettings();
 
36
 
 
37
    void setShowFolders(bool val);
 
38
    bool getShowFolders() const;
 
39
 
 
40
    void setDefaultIconSize(int val);
 
41
    int  getDefaultIconSize() const;
 
42
    
 
43
private:
 
44
 
 
45
    void init();
 
46
 
 
47
    bool showFolders_;
 
48
    int  iconSize_;
 
49
 
 
50
    KConfig* config;
 
51
};
 
52
 
 
53
#endif /* CAMERASETTINGS_H */