~ubuntu-branches/ubuntu/hardy/kdebase-workspace/hardy-backports

« back to all changes in this revision

Viewing changes to plasma/applets/icon/icon.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-01-06 18:18:37 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080106181837-20dc8x9sru3seyup
Tags: 4:4.0.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <plasma/applet.h>
27
27
 
28
28
class KPropertiesDialog;
 
29
class QGraphicsItem;
 
30
class QGraphicsSceneMouseEvent;
 
31
class QEvent;
29
32
 
30
33
namespace Plasma
31
34
{
54
57
    protected:
55
58
        void dropEvent(QGraphicsSceneDragDropEvent *event);
56
59
        void saveState(KConfigGroup *cg) const;
 
60
        bool sceneEventFilter ( QGraphicsItem * watched, QEvent * event );
 
61
        void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
57
62
 
58
63
    protected slots:
59
64
        void acceptedPropertiesDialog();
60
65
        void propertiesDialogClosed();
61
66
 
62
67
    private:
 
68
        //dropUrls from DolphinDropController
 
69
        void dropUrls(const KUrl::List& urls,
 
70
                      const KUrl& destination,
 
71
                      Qt::KeyboardModifiers modifier);
 
72
        void connectMouseSlots();
 
73
 
63
74
        Plasma::Icon* m_icon;
64
75
        QString m_text;
65
76
        KPropertiesDialog *m_dialog;