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

« back to all changes in this revision

Viewing changes to plasma/applets/tasks/taskitemlayout.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman, Alessandro Ghersi, Scott Kitterman
  • Date: 2010-01-03 17:28:14 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100103172814-332x7l2g2z24f6vb
Tags: 4:4.3.4-0ubuntu1~karmic1
[ Alessandro Ghersi ]
* New upstream release
  - Bump build-deps
  - Add kubuntu_99_krunner_webshortcuts.diff (LP: #489024)

[ Scott Kitterman ]
* Add missing depends on python-kde4 (>= 4:4.2.0) to kdebase-workspace-data
  (LP: #446180)

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
/**
44
44
 * A Layout for the expanded group
45
45
 */
46
 
class TaskItemLayout : public QGraphicsGridLayout
 
46
class TaskItemLayout : public QObject, public QGraphicsGridLayout
47
47
{
 
48
    Q_OBJECT
 
49
 
48
50
public:
49
51
    TaskItemLayout(TaskGroupItem * parent, Tasks *applet);
50
52
    ~TaskItemLayout();
81
83
    void setOrientation(Plasma::FormFactor orientation);
82
84
 
83
85
private:
84
 
    //void calculatePreferredRowSize();
85
 
    bool remove(AbstractTaskItem* item);
86
 
 
87
86
    void adjustStretch();
88
87
    void updatePreferredSize();
89
88
 
 
89
private Q_SLOTS:
 
90
    bool remove(AbstractTaskItem* item);
 
91
 
 
92
private:
90
93
    bool m_hasSpacer;
91
94
    QGraphicsWidget *m_spacer;
92
95