~ubuntu-branches/ubuntu/natty/digikam/natty

« back to all changes in this revision

Viewing changes to utilities/fuzzysearch/fuzzysearchview.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-08-26 19:25:16 UTC
  • mfrom: (1.2.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100826192516-mkbdww0h5v2x4yoy
Tags: 2:1.4.0-0ubuntu1
* New upstream bugfix release (LP: #626751)
* Install the file NEWS as upstream changelog because "ChangeLog" is
  too verbose.
* Don't copy the desktop .pot file to imageplugins, not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Date        : 2008-05-19
7
7
 * Description : Fuzzy search sidebar tab contents.
8
8
 *
9
 
 * Copyright (C) 2008-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
 
 * Copyright (C) 2008-2009 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
 
9
 * Copyright (C) 2008-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
10
 * Copyright (C) 2008-2010 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
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
42
42
 
43
43
class Album;
44
44
class FuzzySearchFolderView;
45
 
class FuzzySearchViewPriv;
46
45
class ImageInfo;
47
46
class LoadingDescription;
48
47
class SAlbum;
56
55
 
57
56
public:
58
57
 
59
 
    FuzzySearchView(SearchModel *searchModel,
60
 
                    SearchModificationHelper *searchModificationHelper,
61
 
                    QWidget *parent = 0);
 
58
    FuzzySearchView(SearchModel* searchModel,
 
59
                    SearchModificationHelper* searchModificationHelper,
 
60
                    QWidget* parent = 0);
62
61
    ~FuzzySearchView();
63
62
 
64
63
    SAlbum *currentAlbum() const;
65
 
    void setCurrentAlbum(SAlbum *album);
 
64
    void setCurrentAlbum(SAlbum* album);
66
65
 
67
66
    void setActive(bool val);
68
67
    void setImageInfo(const ImageInfo& info);
80
79
 
81
80
protected:
82
81
 
83
 
    void dragEnterEvent(QDragEnterEvent *e);
84
 
    void dropEvent(QDropEvent *e);
 
82
    void dragEnterEvent(QDragEnterEvent* e);
 
83
    void dropEvent(QDropEvent* e);
85
84
 
86
85
private Q_SLOTS:
87
86
 
120
119
    QWidget* setupSketchPanel();
121
120
    void     setupConnections();
122
121
 
123
 
 
124
122
private:
125
123
 
 
124
    class FuzzySearchViewPriv;
126
125
    FuzzySearchViewPriv* const d;
127
126
};
128
127