~ubuntu-branches/ubuntu/lucid/kde4libs/lucid-updates

« back to all changes in this revision

Viewing changes to plasma/framesvg.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-01-19 20:32:41 UTC
  • mfrom: (1.1.42 upstream)
  • Revision ID: james.westby@ubuntu.com-20100119203241-6qlz4p6emiawose6
Tags: 4:4.3.95-0ubuntu1
* New upstream release candidate:
  - Remove kubuntu_71_knewstuff_crashes.diff, applied upstream
  - Remove kubuntu_72_popupapplet_crash_fix.diff, applied upstream
  - Refresh kubuntu_70_dbusmenu.diff
  - Bump RUNTIME_DEPS value in debian/rules to 4.3.90
  - Update .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
{
78
78
    Q_OBJECT
79
79
 
80
 
    friend class Applet;
 
80
    Q_FLAGS(EnabledBorders)
 
81
    Q_PROPERTY(EnabledBorders enabledBorders READ enabledBorders WRITE setEnabledBorders)
81
82
 
82
83
    public:
83
84
        /**
115
116
         * Sets what borders should be painted
116
117
         * @arg flags borders we want to paint
117
118
         */
118
 
        Q_INVOKABLE void setEnabledBorders(const EnabledBorders borders);
 
119
        void setEnabledBorders(const EnabledBorders borders);
119
120
 
120
121
        /**
121
122
         * Convenience method to get the enabled borders
122
123
         * @return what borders are painted
123
124
         */
124
 
        Q_INVOKABLE EnabledBorders enabledBorders() const;
 
125
        EnabledBorders enabledBorders() const;
125
126
 
126
127
        /**
127
128
         * Resize the frame maintaining the same border size
259
260
 
260
261
    private:
261
262
        FrameSvgPrivate *const d;
 
263
        friend class Applet;
262
264
 
263
265
        Q_PRIVATE_SLOT(d, void updateSizes())
264
266
        Q_PRIVATE_SLOT(d, void updateNeeded())