// [Q_PROPERTY("Qt::WindowFlags", "windowFlags")] // public uint WindowFlags { // get { return applet.WindowFlags; } // set { applet.WindowFlags = value; } // } // [Q_PROPERTY("QString", "windowTitle")] // public string WindowTitle { // get { return applet.WindowTitle; } // set { applet.WindowTitle = value; } // } public QGraphicsWidget(AppletScript parent) : base(parent) { appletScript = parent; applet = parent.Applet(); appletType = applet.GetType(); }
public ExtenderTutorial(AppletScript parent) : base(parent) { //We want to collapse into an icon when put into a panel. //If you don't call this function, you can display another //widget, or draw something yourself. SetPopupIcon("extendertutorial"); }
public Applet(AppletScript parent) : base(parent) { Connect(applet, SIGNAL("releaseVisualFocus()"), this, SIGNAL("releaseVisualFocus()")); Connect(applet, SIGNAL("geometryChanged()"), this, SIGNAL("geometryChanged()")); Connect(applet, SIGNAL("configNeedsSaving()"), this, SIGNAL("configNeedsSaving()")); Connect(applet, SIGNAL("activate()"), this, SIGNAL("activate()")); Connect(applet, SIGNAL("extenderItemRestored(Plasma::ExtenderItem*)"), this, SLOT("initExtenderItem(Plasma::ExtenderItem*)")); }
public Main(AppletScript parent) : base(parent) { }
public PopupApplet(AppletScript parent) : base(parent) { popupApplet = (Plasma.PopupApplet) parent.Applet(); }