Inheritance: Plasma.ScriptEngine, IDisposable
 //        [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();
 }
Esempio n. 2
0
 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");
 }
Esempio n. 3
0
 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*)"));
 }
Esempio n. 4
0
File: tiger.cs Progetto: KDE/kimono
 public Main(AppletScript parent)
     : base(parent)
 {
 }
Esempio n. 5
0
 public PopupApplet(AppletScript parent)
     : base(parent)
 {
     popupApplet = (Plasma.PopupApplet) parent.Applet();
 }