summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opiemenu/simpleimpl.h
blob: 61c3cc5b387955374c25c63778516db97247778a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef %{APPNAME}_MENU_APPLET_H
#define %{APPNAME}_MENU_APPLET_H

#include <tqpe/menuappletinterface.h>

#include <tqobject.h>

class %{APPNAME} : public TQObject, public MenuAppletInterface
{

    Q_OBJECT
  TQ_OBJECT

public:
    %{APPNAME} ( );
    virtual ~%{APPNAME} ( );

    TQRESULT queryInterface( const TQUuid&, TQUnknownInterface** );
    TQ_REFCOUNT

    virtual int position() const;
    
    virtual TQString name ( ) const;
    virtual TQIconSet icon ( ) const;
    virtual TQString text ( ) const;
    /* virtual TQString tr( const char* ) const;
    virtual TQString tr( const char*, const char* ) const;
    */
    virtual TQPopupMenu *popup ( TQWidget *tqparent ) const;
    virtual void activated ( );
};

#endif