• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Signals | Public Member Functions | Protected Member Functions | List of all members
KPanelAppMenu Class Reference

#include <kpanelappmenu.h>

Inheritance diagram for KPanelAppMenu:
DCOPObject

Signals

void activated (int id)
 

Public Member Functions

 KPanelAppMenu (const TQString &title, TQObject *parent=0, const char *name=0)
 
 KPanelAppMenu (const TQPixmap &icon, const TQString &title, TQObject *parent, const char *name)
 
 KPanelAppMenu (TQObject *parent, const char *name)
 
 ~KPanelAppMenu ()
 
int insertItem (const TQString &text, int id=-1)
 
int insertItem (const TQPixmap &icon, const TQString &text, int id=-1)
 
KPanelAppMenu * insertMenu (const TQPixmap &icon, const TQString &text, int id=-1)
 
void clear ()
 
bool process (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
 
- Public Member Functions inherited from DCOPObject
 DCOPObject (TQObject *obj)
 
 DCOPObject (const TQCString &objId)
 
TQCString objId () const
 
bool setObjId (const TQCString &objId)
 
virtual bool process (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
 
virtual bool processDynamic (const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
 
virtual QCStringList functionsDynamic ()
 
virtual QCStringList interfacesDynamic ()
 
virtual QCStringList interfaces ()
 
virtual QCStringList functions ()
 
void emitDCOPSignal (const TQCString &signal, const TQByteArray &data)
 
bool connectDCOPSignal (const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot, bool Volatile)
 
bool disconnectDCOPSignal (const TQCString &sender, const TQCString &senderObj, const TQCString &signal, const TQCString &slot)
 
DCOPClient * callingDcopClient ()
 

Protected Member Functions

void init (const TQPixmap &icon, const TQString &title)
 

Additional Inherited Members

- Static Public Member Functions inherited from DCOPObject
static bool hasObject (const TQCString &objId)
 
static DCOPObject * find (const TQCString &objId)
 
static TQPtrList< DCOPObject > match (const TQCString &partialId)
 
static TQCString objectName (TQObject *obj)
 

Detailed Description

DCop client menu class for the Kicker panel that will insert a submenu into the TDE menu.

Author
Daniel M. Duley mosfe.nosp@m.t@kd.nosp@m.e.org

Definition at line 37 of file kpanelappmenu.h.

Constructor & Destructor Documentation

◆ KPanelAppMenu() [1/3]

KPanelAppMenu::KPanelAppMenu ( const TQString &  title,
TQObject *  parent = 0,
const char *  name = 0 
)

Constructs a new menu with the given title.

Definition at line 38 of file kpanelappmenu.cpp.

◆ KPanelAppMenu() [2/3]

KPanelAppMenu::KPanelAppMenu ( const TQPixmap &  icon,
const TQString &  title,
TQObject *  parent,
const char *  name 
)

Same as above, but with an icon for the submenu item.

Definition at line 45 of file kpanelappmenu.cpp.

◆ KPanelAppMenu() [3/3]

KPanelAppMenu::KPanelAppMenu ( TQObject *  parent,
const char *  name 
)

Constructs a new (sub)menu with a given id.

Definition at line 54 of file kpanelappmenu.cpp.

◆ ~KPanelAppMenu()

KPanelAppMenu::~KPanelAppMenu ( )

Make sure you actually destroy this thing or the menu will never go away until this application quits or Kicker restarts ;-)

Definition at line 87 of file kpanelappmenu.cpp.

Member Function Documentation

◆ activated

void KPanelAppMenu::activated ( int  id)
signal

Emitted when the user selects an item from the Kicker menu.

◆ clear()

void KPanelAppMenu::clear ( )

Clears the menu.

Definition at line 147 of file kpanelappmenu.cpp.

◆ init()

void KPanelAppMenu::init ( const TQPixmap &  icon,
const TQString &  title 
)
protected

Definition at line 61 of file kpanelappmenu.cpp.

◆ insertItem() [1/2]

int KPanelAppMenu::insertItem ( const TQPixmap &  icon,
const TQString &  text,
int  id = -1 
)

Inserts an item with a icon.

The icon name must be a full path.

Definition at line 96 of file kpanelappmenu.cpp.

◆ insertItem() [2/2]

int KPanelAppMenu::insertItem ( const TQString &  text,
int  id = -1 
)

Inserts an item into the menu.

Definition at line 134 of file kpanelappmenu.cpp.

◆ insertMenu()

KPanelAppMenu * KPanelAppMenu::insertMenu ( const TQPixmap &  icon,
const TQString &  text,
int  id = -1 
)

Inserts a sub menu with a icon.

The icon name must be a full path.

Definition at line 109 of file kpanelappmenu.cpp.

◆ process()

bool KPanelAppMenu::process ( const TQCString &  fun,
const TQByteArray &  data,
TQCString &  replyType,
TQByteArray &  replyData 
)
virtual

Reimplemented from DCOPObject.

Definition at line 155 of file kpanelappmenu.cpp.


The documentation for this class was generated from the following files:
  • kpanelappmenu.h
  • kpanelappmenu.cpp

tdeui

Skip menu "tdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.