summaryrefslogtreecommitdiffstats
path: root/kickermenu/menuapplet.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
commit2ee99ab520931c5efe91123c85ba10064a45e95d (patch)
treea367666e410de28d0f258aed77b11e17cafb28e4 /kickermenu/menuapplet.h
parentcfa36e1a95e82492c17225ff376911abb3688f62 (diff)
downloadtde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.tar.gz
tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kickermenu/menuapplet.h')
-rw-r--r--kickermenu/menuapplet.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kickermenu/menuapplet.h b/kickermenu/menuapplet.h
index f353869..facd256 100644
--- a/kickermenu/menuapplet.h
+++ b/kickermenu/menuapplet.h
@@ -26,8 +26,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define _MENUAPPLET_H_
#include <kpanelapplet.h>
-#include <qintdict.h>
-#include <qvaluelist.h>
+#include <tqintdict.h>
+#include <tqvaluelist.h>
#include <kmenubar.h>
#include <kwindowlistmenu.h>
#include <kwinmodule.h>
@@ -38,8 +38,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <karrowbutton.h>
#include <assert.h>
-class QHBoxLayout;
-class QLabel;
+class TQHBoxLayout;
+class TQLabel;
namespace KickerMenuApplet
{
@@ -55,17 +55,17 @@ k_dcop:
virtual void showWindowList();
public:
friend class MenuEmbed;
- Applet( const QString& configFile, QWidget *parent );
+ Applet( const TQString& configFile, TQWidget *parent );
virtual ~Applet();
virtual int widthForHeight( int height ) const;
virtual int heightForWidth( int width ) const;
void menuLost( MenuEmbed* embed );
void updateMenuGeometry( MenuEmbed* embed );
protected:
- virtual void paletteChange(const QPalette& );
+ virtual void paletteChange(const TQPalette& );
virtual void positionChange( Position p );
- bool eventFilter(QObject *, QEvent *ev);
- QMenuBar *windowIndicator;
+ bool eventFilter(TQObject *, TQEvent *ev);
+ TQMenuBar *windowIndicator;
private slots:
void moveMenu();
void windowAdded( WId w );
@@ -83,7 +83,7 @@ private:
static Atom makeSelectionAtom();
void updateTopEdgeOffset();
KWinModule* module;
- QValueList< MenuEmbed* > menus;
+ TQValueList< MenuEmbed* > menus;
MenuEmbed* active_menu;
KSelectionOwner* selection;
KSelectionWatcher* selection_watcher;
@@ -91,8 +91,8 @@ private:
DCOPClient dcopclient;
int topEdgeOffset;
KWindowListMenu* windowList;
- QHBoxLayout *layout;
- QLabel *_menuMover;
+ TQHBoxLayout *layout;
+ TQLabel *_menuMover;
bool wannaMove;
int menuDX;
};
@@ -101,12 +101,12 @@ class MenuEmbed : public QXEmbed
{
Q_OBJECT
public:
- MenuEmbed( WId mainwindow, bool desktop, QWidget* parent = NULL, const char* name = NULL );
+ MenuEmbed( WId mainwindow, bool desktop, TQWidget* parent = NULL, const char* name = NULL );
WId mainWindow() const;
bool isDesktopMenu() const;
virtual void setMinimumSize( int w, int h );
- void setMinimumSize( const QSize& s ) { setMinimumSize( s.width(), s.height()); }
- QString title;
+ void setMinimumSize( const TQSize& s ) { setMinimumSize( s.width(), s.height()); }
+ TQString title;
protected:
virtual void windowChanged( WId w );
virtual bool x11Event( XEvent* ev );