Applet() public method

Returns the Plasma.Applet associated with this script component
public Applet ( ) : Applet
return Applet
 //        [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 PopupApplet(AppletScript parent)
     : base(parent)
 {
     popupApplet = (Plasma.PopupApplet) parent.Applet();
 }