summaryrefslogtreecommitdiffstats
path: root/kdeui/kmenubar.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/kmenubar.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kmenubar.h')
-rw-r--r--kdeui/kmenubar.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdeui/kmenubar.h b/kdeui/kmenubar.h
index 91309a2a8..548a0c12f 100644
--- a/kdeui/kmenubar.h
+++ b/kdeui/kmenubar.h
@@ -25,15 +25,15 @@
#ifndef _KMENUBAR_H
#define _KMENUBAR_H
-#include <qmenubar.h>
+#include <tqmenubar.h>
#include <kdelibs_export.h>
/**
* %KDE Style-able menubar.
*
- * This is required since QMenuBar is currently not handled by
- * QStyle.
+ * This is required since TQMenuBar is currently not handled by
+ * TQStyle.
*
* @author Daniel "Mosfet" Duley.
* @version $Id$
@@ -45,7 +45,7 @@ class KDEUI_EXPORT KMenuBar : public QMenuBar
public:
- KMenuBar (QWidget *parent=0, const char *name=0);
+ KMenuBar (TQWidget *parent=0, const char *name=0);
~KMenuBar ();
/**
@@ -75,27 +75,27 @@ public:
bool isTopLevelMenu() const;
// TT are overloading virtuals :(
- virtual void setGeometry( const QRect &r );
+ virtual void setGeometry( const TQRect &r );
virtual void setGeometry( int x, int y, int w, int h );
virtual void resize( int w, int h );
- void resize( const QSize& s ) { QMenuBar::resize( s ); }
+ void resize( const TQSize& s ) { TQMenuBar::resize( s ); }
virtual void show();
virtual void setFrameStyle( int );
virtual void setLineWidth( int );
virtual void setMargin( int );
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
protected slots:
void slotReadConfig();
protected:
- virtual void showEvent( QShowEvent* );
- virtual void resizeEvent( QResizeEvent* );
- virtual bool eventFilter(QObject *, QEvent *);
+ virtual void showEvent( TQShowEvent* );
+ virtual void resizeEvent( TQResizeEvent* );
+ virtual bool eventFilter(TQObject *, TQEvent *);
#ifdef Q_WS_X11
virtual bool x11Event( XEvent* );
#endif
- virtual void closeEvent( QCloseEvent* );
- virtual void drawContents( QPainter* );
+ virtual void closeEvent( TQCloseEvent* );
+ virtual void drawContents( TQPainter* );
private slots:
void updateFallbackSize();
void selectionTimeout();