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

« back to all changes in this revision

Viewing changes to digikamcameraclient/cameraui/camerafolderitem.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  : camerafolderitem.h
 
3
 * Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
 
4
 * Date  : 2003-01-23
 
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 CAMERAFOLDERITEM_H
 
23
#define CAMERAFOLDERITEM_H
 
24
 
 
25
#include <klistview.h>
 
26
#include <qstring.h>
 
27
 
 
28
class CameraFolderItem : public KListViewItem
 
29
{
 
30
public:
 
31
 
 
32
    CameraFolderItem(KListView* parent,
 
33
                     const QString& name);
 
34
 
 
35
    CameraFolderItem(KListViewItem* parent,
 
36
                     const QString& folderName,
 
37
                     const QString& folderPath);
 
38
 
 
39
    ~CameraFolderItem();
 
40
 
 
41
    QString folderName();
 
42
    QString folderPath();
 
43
    bool    isVirtualFolder();
 
44
    void    changeCount(int val);
 
45
    void    setCount(int val);
 
46
    int     count();
 
47
    
 
48
private:
 
49
 
 
50
    QString folderName_;
 
51
    QString folderPath_;
 
52
    QString name_;
 
53
    bool    virtualFolder_;
 
54
    int     count_;
 
55
 
 
56
    
 
57
};
 
58
 
 
59
#endif /* CAMERAFOLDERITEM_H */