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

« back to all changes in this revision

Viewing changes to libs/plasma/desktoptoolbox_p.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-03-03 11:37:30 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080303113730-ppdchskh93rr77le
Tags: 4:4.0.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <QGraphicsItem>
24
24
#include <QObject>
 
25
#include <QTime>
25
26
 
26
27
#include <KIcon>
27
28
 
47
48
    bool isToolEnabled(const QString &tool) const;
48
49
    QGraphicsItem* tool(const QString &tool) const;
49
50
 
 
51
    void showToolbox();
 
52
    void hideToolbox();
 
53
 
50
54
protected:
51
55
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
52
56
    void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
59
63
private:
60
64
    KIcon m_icon;
61
65
    EmptyGraphicsItem *m_toolBacker;
62
 
    const int m_size;
 
66
    QTime m_stopwatch;
 
67
    KIcon m_iconSelected;
 
68
    int m_size;
63
69
    bool m_hidden;
64
70
    bool m_showing;
65
71
    Plasma::Phase::AnimId m_animId;