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

tdeui

  • tdeui
kpanelappmenu.h
1 /*
2 
3 (C) Daniel M. Duley <mosfet@kde.org>
4 (C) Matthias Ettrich <ettrich@kde.org>
5 
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
12 
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15 
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 
23 */
24 
25 #ifndef __PANELAPPMENU_H
26 #define __PANELAPPMENU_H "$Id$"
27 
28 #include <dcopobject.h>
29 
30 
37 class TDEUI_EXPORT KPanelAppMenu : public TQObject, public DCOPObject
38 {
39  TQ_OBJECT
40 public:
44  KPanelAppMenu(const TQString &title, TQObject *parent = 0, const char *name = 0 );
48  KPanelAppMenu(const TQPixmap &icon, const TQString &title, TQObject *parent,
49  const char *name);
53  KPanelAppMenu(TQObject *parent, const char *name);
54 
59  ~KPanelAppMenu();
60 
64  int insertItem(const TQString &text, int id = -1);
68  int insertItem(const TQPixmap &icon, const TQString &text, int id = -1 );
72  KPanelAppMenu *insertMenu(const TQPixmap &icon, const TQString &text, int id=-1);
73 
77  void clear();
78 
82  bool process(const TQCString &fun, const TQByteArray &data,
83  TQCString &replyType, TQByteArray &replyData);
84 
85 signals:
89  void activated(int id);
90 
91 protected:
92  void init(const TQPixmap &icon, const TQString &title);
93 
94 private:
95  TQCString realObjId;
96 };
97 
98 
99 #endif
DCOPObject
DCOPObject::process
virtual bool process(const TQCString &fun, const TQByteArray &data, TQCString &replyType, TQByteArray &replyData)
KPanelAppMenu
DCop client menu class for the Kicker panel that will insert a submenu into the TDE menu.
Definition: kpanelappmenu.h:38
KPanelAppMenu::activated
void activated(int id)
Emitted when the user selects an item from the Kicker menu.

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.1
This website is maintained by Timothy Pearson.