~ubuntu-branches/ubuntu/oneiric/digikam/oneiric

« back to all changes in this revision

Viewing changes to digikam/addtagslineedit.h

  • Committer: Bazaar Package Importer
  • Author(s): Rohan Garg
  • Date: 2011-01-25 15:54:05 UTC
  • mfrom: (3.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20110125155405-cn810n9ufqcqdqab
Tags: 2:1.8.0-1ubuntu1
* Merge with debian, remaining changes
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Date        : 2010-06-12
7
7
 * Description : Special line edit for adding or creatingtags
8
8
 *
9
 
 * Copyright (C) 2010 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
 
9
 * Copyright (C) 2010-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10
10
 *
11
11
 * This program is free software; you can redistribute it
12
12
 * and/or modify it under the terms of the GNU General
24
24
#ifndef ADDTAGSLINEEDIT_H
25
25
#define ADDTAGSLINEEDIT_H
26
26
 
27
 
// Qt includes
28
 
 
29
27
// KDE includes
30
28
 
31
29
#include <kcompletionbox.h>
54
52
    TagModel* model() const;
55
53
};
56
54
 
 
55
// -------------------------------------------------------------------------------
 
56
 
57
57
class TaggingAction
58
58
{
59
59
public:
82
82
 
83
83
    bool operator==(const TaggingAction& other)
84
84
    {
85
 
        return m_type == other.m_type &&
86
 
               m_tagId == other.m_tagId &&
 
85
        return m_type    == other.m_type  &&
 
86
               m_tagId   == other.m_tagId &&
87
87
               m_tagName == other.m_tagName;
88
88
    }
89
89
 
127
127
    QString m_tagName;
128
128
};
129
129
 
130
 
// ---------------------------------------------------------------------------------------
131
 
 
132
 
class AddTagsCompletionBoxPriv;
 
130
// -------------------------------------------------------------------------------
133
131
 
134
132
class AddTagsCompletionBox : public KCompletionBox
135
133
{
203
201
 
204
202
private:
205
203
 
 
204
    class AddTagsCompletionBoxPriv;
206
205
    AddTagsCompletionBoxPriv* const d;
207
206
};
208
207
 
209
 
// ---------------------------------------------------------------------------------------
210
 
 
211
 
class AddTagsLineEditPriv;
 
208
// -------------------------------------------------------------------------------
212
209
 
213
210
class AddTagsLineEdit : public KLineEdit
214
211
{
249
246
 
250
247
private:
251
248
 
 
249
    class AddTagsLineEditPriv;
252
250
    AddTagsLineEditPriv* const d;
253
251
};
254
252