~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/utilities/cameragui/camerafolderview.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.2.15 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080717202539-6n7dtirbkoo7qvhd
Tags: 2:0.9.4-1
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * Description : A widget to display a list of camera folders.
8
8
 * 
9
9
 * Copyright (C) 2003-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
10
 
 * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
10
 * Copyright (C) 2006-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
11
 *
12
12
 * This program is free software; you can redistribute it
13
13
 * and/or modify it under the terms of the GNU General
28
28
// Qt includes.
29
29
 
30
30
#include <qstring.h>
 
31
#include <qlistview.h>
31
32
 
32
33
// KDE includes.
33
34
 
34
 
#include <klistview.h>
35
35
#include <kiconloader.h>
36
36
 
37
37
namespace Digikam
40
40
class CameraFolderItem;
41
41
class CameraFolderViewPriv;
42
42
 
43
 
class CameraFolderView : public KListView
 
43
class CameraFolderView : public QListView
44
44
{
45
45
    Q_OBJECT
46
46
 
51
51
 
52
52
    void addVirtualFolder(const QString& name, const QPixmap& pixmap=SmallIcon("camera"));
53
53
    void addRootFolder(const QString& folder, int nbItems, const QPixmap& pixmap=SmallIcon("folder"));
54
 
    
 
54
 
55
55
    CameraFolderItem* addFolder(const QString& folder, const QString& subFolder, int nbItems, 
56
56
                                const QPixmap& pixmap=SmallIcon("folder"));
57
57
 
65
65
signals:
66
66
 
67
67
    void signalFolderChanged(CameraFolderItem*);
68
 
    void signalCleared();    
69
 
    
 
68
    void signalCleared();
 
69
 
70
70
private slots:
71
71
 
72
72
    void slotCurrentChanged(QListViewItem*);