summaryrefslogtreecommitdiffstats
path: root/src/kbfxspinxmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kbfxspinxmenu.h')
-rw-r--r--src/kbfxspinxmenu.h67
1 files changed, 34 insertions, 33 deletions
diff --git a/src/kbfxspinxmenu.h b/src/kbfxspinxmenu.h
index 19986cc..f897691 100644
--- a/src/kbfxspinxmenu.h
+++ b/src/kbfxspinxmenu.h
@@ -22,19 +22,19 @@
#ifndef KBFX_SPINX_MENU_WIDGET_H
#define KBFX_SPINX_MENU_WIDGET_H
-#include <qapplication.h>
-#include <qbitmap.h>
-#include <qcanvas.h>
-#include <qframe.h>
-#include <qhbox.h>
-#include <qimage.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qlineedit.h>
-#include <qpixmap.h>
-#include <qstringlist.h>
-#include <qvbox.h>
-#include <qwidget.h>
+#include <tqapplication.h>
+#include <tqbitmap.h>
+#include <tqcanvas.h>
+#include <tqframe.h>
+#include <tqhbox.h>
+#include <tqimage.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
+#include <tqpixmap.h>
+#include <tqstringlist.h>
+#include <tqvbox.h>
+#include <tqwidget.h>
#include <kdebug.h>
#include <klocale.h>
@@ -59,24 +59,25 @@
#include "kbfxspinxview.h"
-class KbfxSpinxMenuWidget:public QWidget
+class KbfxSpinxMenuWidget:public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public :
- KbfxSpinxMenuWidget ( QWidget * parent = 0, const char * name = 0,WFlags fl =0 );
+ KbfxSpinxMenuWidget ( TQWidget * tqparent = 0, const char * name = 0,WFlags fl =0 );
virtual ~KbfxSpinxMenuWidget();
-// virtual void mouseMoveEvent(QMouseEvent * me);
-// virtual void focusInEvent ( QFocusEvent * ) ;
- virtual void keyPressEvent ( QKeyEvent * e ) ;
- void grabEvent ( QKeyEvent * e ) { keyPressEvent ( e );}
+// virtual void mouseMoveEvent(TQMouseEvent * me);
+// virtual void focusInEvent ( TQFocusEvent * ) ;
+ virtual void keyPressEvent ( TQKeyEvent * e ) ;
+ void grabEvent ( TQKeyEvent * e ) { keyPressEvent ( e );}
void loadHistory();
void resizeContent();
void reinit();
public slots:
void hideMenu();
-// void propergateMove(QMouseEvent * me);
- void loadPluginLeft ( QString name );
- void loadPluginRight ( QString name );
+// void propergateMove(TQMouseEvent * me);
+ void loadPluginLeft ( TQString name );
+ void loadPluginRight ( TQString name );
void enterPressed();
void search_clear ( const ButtonState & );
// void changeHeight(int h);
@@ -89,21 +90,21 @@ class KbfxSpinxMenuWidget:public QWidget
private:
void init();
- QPoint menuPosition();
+ TQPoint menuPosition();
void createMask();
KbfxPlasmaCanvasView * m_canvasView;
// KbfxPlasmaCanvasView * m_indexView;
- QCanvas * m_canvas ;
+ TQCanvas * m_canvas ;
// KbfxPlasmaListBox * m_listBox;
KbfxPlasmaPluginLoader * m_loader;
KbfxSpinxTop * m_menuTop;
- QString m_loadedListLeft;
- QString m_loadedListRight;
+ TQString m_loadedListLeft;
+ TQString m_loadedListRight;
// FIXME: canvasstack is depricated Interface
KbfxPlasmaCanvasStack * m_stack;
KbfxDataStack * m_stack_R;
- QWidget * m_parent;
- QLineEdit * m_search;
+ TQWidget * m_parent;
+ TQLineEdit * m_search;
KbfxPixmapLabel * m_searchTag;
KbfxSpinxToolBar * m_toolBarBot;
KbfxSpinxToolBar * m_toolBarSide;
@@ -111,11 +112,11 @@ class KbfxSpinxMenuWidget:public QWidget
/* SUPER NEW LAYOUT FIX HERE */
- QBoxLayout * m_fixedFrame;
- QBoxLayout * m_middleFrame;
- QCanvas * m_appCanvas;
- QCanvas * m_indexCanvas;
- QCanvas * m_indexLeftCanvas;
+ TQBoxLayout * m_fixedFrame;
+ TQBoxLayout * m_middleFrame;
+ TQCanvas * m_appCanvas;
+ TQCanvas * m_indexCanvas;
+ TQCanvas * m_indexLeftCanvas;
KbfxPlasmaIndexView * m_indexView;