~saviq/unity-2d/unmaximize-on-drag

« back to all changes in this revision

Viewing changes to panel/applets/appname/windowhelper.h

  • Committer: Michał Sawicz
  • Date: 2011-05-15 16:20:04 UTC
  • Revision ID: michal@sawicz.net-20110515162004-918caw3l3dy9lc5o
Signal the window manager that the window is to be moved when titlebar
is dragged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
// Qt
28
28
#include <QObject>
 
29
#include <QPoint>
29
30
 
30
31
struct WindowHelperPrivate;
31
32
class WindowHelper : public QObject
44
45
    void close();
45
46
    void minimize();
46
47
    void unmaximize();
 
48
    void drag(QPoint* pos);
47
49
 
48
50
private Q_SLOTS:
49
51
    void update();