From 2ee99ab520931c5efe91123c85ba10064a45e95d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 25 Mar 2016 20:03:28 +0100 Subject: Initial TQt conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kickermenu-3.3/menuapplet.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kickermenu-3.3/menuapplet.h') diff --git a/kickermenu-3.3/menuapplet.h b/kickermenu-3.3/menuapplet.h index 7825bd2..915a033 100644 --- a/kickermenu-3.3/menuapplet.h +++ b/kickermenu-3.3/menuapplet.h @@ -26,9 +26,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define _MENUAPPLET_H_ #include -#include -#include -#include +#include +#include +#include #include #include #include @@ -50,15 +50,15 @@ class Applet : public KPanelApplet, public DCOPObject k_dcop: ASYNC configure(); public: - 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; - virtual bool eventFilter( QObject* obj, QEvent* ev ); + virtual bool eventFilter( TQObject* obj, TQEvent* ev ); void menuLost( MenuEmbed* embed ); protected: - virtual void resizeEvent( QResizeEvent* ); - virtual void paletteChange(const QPalette& ); + virtual void resizeEvent( TQResizeEvent* ); + virtual void paletteChange(const TQPalette& ); private slots: void windowAdded( WId w ); void activeWindowChanged( WId w ); @@ -72,12 +72,12 @@ class Applet : public KPanelApplet, public DCOPObject private: bool isDisabled() const; // does it own the manager selection? void updateGrowIndicators(); - void moveMenu( const QWidget* indicator ); + void moveMenu( const TQWidget* indicator ); WId tryTransientFor( WId w ); void activateMenu( MenuEmbed* embed ); static Atom makeSelectionAtom(); KWinModule* module; - QValueList< MenuEmbed* > menus; + TQValueList< MenuEmbed* > menus; MenuEmbed* active_menu; KArrowButton grow_indicator_left, grow_indicator_right; KSelectionOwner* selection; @@ -85,8 +85,8 @@ class Applet : public KPanelApplet, public DCOPObject bool desktop_menu; DCOPClient dcopclient; // to show current active window (not necessary equal to the menubar) - QMenuBar *windowIndicator; - QIntDictwindowTitleDict; + TQMenuBar *windowIndicator; + TQIntDictwindowTitleDict; KWindowListMenu* windowList; }; @@ -96,11 +96,11 @@ class MenuEmbed Q_OBJECT public: MenuEmbed( WId mainwindow, bool desktop, - QWidget* parent = NULL, const char* name = NULL ); + 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()); } + void setMinimumSize( const TQSize& s ) { setMinimumSize( s.width(), s.height()); } protected: virtual void windowChanged( WId w ); virtual bool x11Event( XEvent* ev ); -- cgit v1.2.1