상속: 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();
 }
예제 #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");
 }
예제 #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*)"));
 }
예제 #4
0
파일: tiger.cs 프로젝트: KDE/kimono
 public Main(AppletScript parent)
     : base(parent)
 {
 }
예제 #5
0
 public PopupApplet(AppletScript parent)
     : base(parent)
 {
     popupApplet = (Plasma.PopupApplet) parent.Applet();
 }