You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/opiemenu/simpleimpl.h

33 lines
706 B

#ifndef %{APPNAME}_MENU_APPLET_H
#define %{APPNAME}_MENU_APPLET_H
#include <qpe/menuappletinterface.h>
#include <qobject.h>
class %{APPNAME} : public QObject, public MenuAppletInterface
{
Q_OBJECT
public:
%{APPNAME} ( );
virtual ~%{APPNAME} ( );
QRESULT queryInterface( const QUuid&, QUnknownInterface** );
Q_REFCOUNT
virtual int position() const;
virtual QString name ( ) const;
virtual QIconSet icon ( ) const;
virtual QString text ( ) const;
/* virtual QString tr( const char* ) const;
virtual QString tr( const char*, const char* ) const;
*/
virtual QPopupMenu *popup ( QWidget *parent ) const;
virtual void activated ( );
};
#endif