~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/database/dbactiontype.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu 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
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
class DIGIKAM_EXPORT DBActionType
44
44
{
45
45
public:
46
 
        DBActionType();
47
 
        DBActionType(const DBActionType &actionType);
48
 
        ~DBActionType();
49
 
 
50
 
        /**
51
 
         * Returns the wrapped object.
52
 
         */
53
 
        QVariant getActionValue();
54
 
 
55
 
        /**
56
 
         * Sets the wrapped object.
57
 
         */
58
 
        void setActionValue(QVariant actionValue);
59
 
 
60
 
        /**
61
 
         * Returns true, if the entry is an value element.
62
 
         * Returns false, if the entry should be used as field entry.
63
 
         */
64
 
        bool isValue() const;
65
 
 
66
 
        /**
67
 
         * Sets the DBAction mode:
68
 
         * true, if the entry is an value element.
69
 
         * false, if the entry should be used as field entry.
70
 
         */
71
 
        void setValue(bool isValue);
 
46
    DBActionType();
 
47
    DBActionType(const DBActionType& actionType);
 
48
    ~DBActionType();
 
49
 
 
50
    /**
 
51
     * Returns the wrapped object.
 
52
     */
 
53
    QVariant getActionValue();
 
54
 
 
55
    /**
 
56
     * Sets the wrapped object.
 
57
     */
 
58
    void setActionValue(QVariant actionValue);
 
59
 
 
60
    /**
 
61
     * Returns true, if the entry is an value element.
 
62
     * Returns false, if the entry should be used as field entry.
 
63
     */
 
64
    bool isValue() const;
 
65
 
 
66
    /**
 
67
     * Sets the DBAction mode:
 
68
     * true, if the entry is an value element.
 
69
     * false, if the entry should be used as field entry.
 
70
     */
 
71
    void setValue(bool isValue);
72
72
 
73
73
private:
74
 
        bool     m_isValue;
75
 
        QVariant m_ActionValue;
 
74
    bool     m_isValue;
 
75
    QVariant m_ActionValue;
76
76
};
77
77
 
78
78
}  // namespace Digikam