summaryrefslogtreecommitdiffstats
path: root/src/tastymenu.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-04-10 10:42:00 +0200
committerSlávek Banko <[email protected]>2016-04-10 10:42:00 +0200
commit7fdc8b30e85418cca031b45ad02f723373b73433 (patch)
tree491150f68ddc476645599a00d04e27b194e9648c /src/tastymenu.h
parent3566ebfc3015ab32c4e0531defb41377c171fadb (diff)
downloadtastymenu-7fdc8b30e85418cca031b45ad02f723373b73433.tar.gz
tastymenu-7fdc8b30e85418cca031b45ad02f723373b73433.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/tastymenu.h')
-rw-r--r--src/tastymenu.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/tastymenu.h b/src/tastymenu.h
index 66900fe..b1fa491 100644
--- a/src/tastymenu.h
+++ b/src/tastymenu.h
@@ -29,12 +29,12 @@
#include <kpanelapplet.h>
#include <kiconloader.h>
-#include <qstring.h>
+#include <tqstring.h>
#include <kconfig.h>
-#include <qpopupmenu.h>
+#include <tqpopupmenu.h>
#include <kconfigskeleton.h>
#include <kglobalaccel.h>
-#include <qpainter.h>
+#include <tqpainter.h>
#include "menuhandler.h"
#include "prefs.h"
@@ -53,10 +53,10 @@ public:
* @param Type The applet @ref type().
* @param actions Standard RMB menu actions supported by the applet (see @ref action() ).
* @param parent The pointer to the parent widget handed over in the factory function.
- * @param name A Qt object name for your applet.
+ * @param name A TQt object name for your applet.
**/
- TastyMenu(const QString& configFile, Type t = Normal, int actions = 0,
- QWidget *parent = 0, const char *name = 0);
+ TastyMenu(const TQString& configFile, Type t = Normal, int actions = 0,
+ TQWidget *parent = 0, const char *name = 0);
/** destructor */
~TastyMenu();
@@ -126,10 +126,10 @@ public:
virtual void preferences();
protected:
- virtual void resizeEvent(QResizeEvent *);
- virtual void mousePressEvent(QMouseEvent *e);
- virtual void enterEvent( QEvent * e );
- virtual void leaveEvent( QEvent * e );
+ virtual void resizeEvent(TQResizeEvent *);
+ virtual void mousePressEvent(TQMouseEvent *e);
+ virtual void enterEvent( TQEvent * e );
+ virtual void leaveEvent( TQEvent * e );
private:
KSharedConfig *kConfig;
@@ -138,15 +138,15 @@ private:
MenuHandler *menuHandler;
TastyButton *button;
TastyToolTip *menuTip;
- QPoint menupos(QWidget *widget);
+ TQPoint menupos(TQWidget *widget);
KGlobalAccel *globalAccel;
KIconLoader *iconLoader;
int numNewApplications;
- QString _menuButtonLabel;
- QString _menuButtonIcon;
- QString _toolTipTitle;
+ TQString _menuButtonLabel;
+ TQString _menuButtonIcon;
+ TQString _toolTipTitle;
bool _newAppsNotification;
int _iconsize;
bool _showBigToolTip;