~3v1n0/unity/overlay-border-scale

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/LauncherEntryRemote.h

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
  gboolean CountVisible();
53
53
  gboolean ProgressVisible();
54
54
  gboolean Urgent();
 
55
  /// Update this instance using details from another:
 
56
  void Update(LauncherEntryRemote* other);
 
57
  /// Update this instance from a GVariant property iterator.
 
58
  void Update(GVariantIter* prop_iter);
 
59
  /// Set a new DBus name. This destroys the current quicklist.
 
60
  void SetDBusName(const gchar* dbus_name);
55
61
 
56
62
  sigc::signal<void, LauncherEntryRemote*, const gchar* > dbus_name_changed;   // gives the old name as arg
57
63
  sigc::signal<void, LauncherEntryRemote*> emblem_changed;
81
87
  gboolean _progress_visible;
82
88
  gboolean _urgent;
83
89
 
84
 
  void SetDBusName(const gchar* dbus_name);
85
90
  void SetEmblem(const gchar* emblem);
86
91
  void SetCount(gint64 count);
87
92
  void SetProgress(gdouble progress);
88
93
  void SetQuicklistPath(const gchar* dbus_path);
89
94
  void SetQuicklist(DbusmenuClient* quicklist);
90
 
 
91
95
  void SetEmblemVisible(gboolean visible);
92
96
  void SetCountVisible(gboolean visible);
93
97
  void SetProgressVisible(gboolean visible);
94
 
 
95
98
  void SetUrgent(gboolean urgent);
96
 
 
97
 
  void Update(LauncherEntryRemote* other);
98
 
  void Update(GVariantIter* prop_iter);
99
 
 
100
 
  friend class LauncherEntryRemoteModel;
101
99
};
102
100
 
103
101
#endif // LAUNCHER_ENTRY_REMOTE_H