~unity-2d-team/unity-2d/natty

« back to all changes in this revision

Viewing changes to launcher/UnityApplications/launchermenu.h

  • Committer: Tarmac
  • Author(s): Olivier Tilloy
  • Date: 2011-05-18 11:16:44 UTC
  • mfrom: (549.1.11 custom-quicklists-dynamic)
  • Revision ID: ubuntu.builder@gmail.com-20110518111644-3xl2y9pavugt6p6e
[launcher] Support dynamic shortcuts in the quicklists.

Dynamic shortcuts are exposed over D-Bus by the application through the use of libunity.
See https://wiki.ubuntu.com/Unity/LauncherAPI#Dynamic%20Quicklist%20entries for documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    Q_INVOKABLE void hide();
56
56
    Q_INVOKABLE void hideWithDelay(int delay);
57
57
 
 
58
    void insertActionBeforeTitle(QAction* action);
 
59
    QAction* insertSeparatorBeforeTitle();
 
60
 
58
61
protected:
59
62
    void resizeEvent(QResizeEvent* event);
60
63
    void leaveEvent(QEvent* event);