summaryrefslogtreecommitdiffstats
path: root/src/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.h')
-rw-r--r--src/menu.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/menu.h b/src/menu.h
index 6186bc2..3f64d7a 100644
--- a/src/menu.h
+++ b/src/menu.h
@@ -20,8 +20,8 @@
#ifndef MENU_H
#define MENU_H
-#include <qbuttongroup.h>
-#include <qptrlist.h>
+#include <ntqbuttongroup.h>
+#include <ntqptrlist.h>
#include "roundbutton.h"
@@ -29,46 +29,46 @@
class RoundButton;
-class Menu : public QButtonGroup
+class Menu : public TQButtonGroup
{
Q_OBJECT
public:
- Menu(Menu* parentMenu=NULL, const QString& appName="");
+ Menu(Menu* parentMenu=NULL, const TQString& appName="");
virtual ~Menu();
virtual Menu* parentMenu(){ return mParentMenu; }
virtual void setParentMenu(Menu* menu){ mParentMenu=menu; }
virtual void selectButton(int num);
- virtual void selectButton(QButton* button);
+ virtual void selectButton(TQButton* button);
virtual void showButtons();
virtual void hideButtons();
virtual void arrangeButtons();
virtual Menu* execute();
- virtual int insert ( QButton * button, int id = -1 );
+ virtual int insert ( TQButton * button, int id = -1 );
//use this method for cross linking, otherway there will be problems with deletation
- virtual int insertNoChild( QButton* button, int id = -1);
+ virtual int insertNoChild( TQButton* button, int id = -1);
- void setIconPath(const QString& theValue){ mIconPath = theValue; }
- QString IconPath() const{ return mIconPath; }
+ void setIconPath(const TQString& theValue){ mIconPath = theValue; }
+ TQString IconPath() const{ return mIconPath; }
int selectedButtonNum() const { return mSelectedButtonNum; }
- virtual QButton* selectedButton();
+ virtual TQButton* selectedButton();
- void setAppName(const QString& theValue){ mAppName = theValue; }
- QString appName() const { return mAppName; }
+ void setAppName(const TQString& theValue){ mAppName = theValue; }
+ TQString appName() const { return mAppName; }
signals:
virtual void buttonSelected(int type);
protected:
Menu* mParentMenu;
- QString mIconPath;
- QPtrList<Menu> children;
+ TQString mIconPath;
+ TQPtrList<Menu> children;
int mSelectedButtonNum;
- QString mAppName;
+ TQString mAppName;
protected slots:
void slotMouseIn(RoundButton* emitter);