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

« back to all changes in this revision

Viewing changes to digikam/digikam/tagfilterview.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 : tags filter view
8
8
 *
9
9
 * Copyright (C) 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
56
56
    ~TagFilterView();
57
57
 
58
58
    void stateChanged(TagFilterViewItem*);
 
59
    void refresh();
59
60
 
60
61
signals:
61
62
 
62
63
    void signalProgressBarMode(int, const QString&);
63
64
    void signalProgressValue(int);
64
 
    void signalTagFilterMatch(bool);
 
65
    void signalTextTagFilterMatch(bool);
65
66
 
66
67
public slots:
67
68
 
68
 
    void slotTagFilterChanged(const QString&);
 
69
    void slotTextTagFilterChanged(const QString&);
 
70
 
 
71
    /** Reset all active tag filters */
 
72
    void slotResetTagFilters();
69
73
 
70
74
protected:
71
75
 
72
 
    QDragObject* dragObject();
73
 
    TagFilterViewItem* dragItem() const;
74
 
 
75
76
    bool acceptDrop(const QDropEvent *e) const;
76
77
    void contentsDropEvent(QDropEvent *e);
77
 
 
78
 
    void contentsMousePressEvent(QMouseEvent *e);
79
 
    void contentsMouseReleaseEvent(QMouseEvent *e);
80
 
    void contentsMouseMoveEvent(QMouseEvent *e);
 
78
    QDragObject* dragObject();
81
79
 
82
80
private slots:
83
81
 
93
91
    void slotGotThumbnailFromIcon(Album *album, const QPixmap& thumbnail);
94
92
    void slotThumbnailLost(Album *album);
95
93
    void slotReloadThumbnails();
 
94
    void slotRefresh(const QMap<int, int>&);
96
95
 
97
96
private:
98
97
 
104
103
    void setTagThumbnail(TAlbum *album);
105
104
    void toggleChildTags(TagFilterViewItem* tItem, bool b);
106
105
    void toggleParentTags(TagFilterViewItem* tItem, bool b);
107
 
    
 
106
 
108
107
private:
109
 
    
 
108
 
110
109
    TagFilterViewPrivate *d;
111
110
};
112
111