diff options
author | Slávek Banko <[email protected]> | 2016-03-25 20:03:28 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-25 20:03:28 +0100 |
commit | 2ee99ab520931c5efe91123c85ba10064a45e95d (patch) | |
tree | a367666e410de28d0f258aed77b11e17cafb28e4 /kickermenu-3.3/menuapplet.h | |
parent | cfa36e1a95e82492c17225ff376911abb3688f62 (diff) | |
download | tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.tar.gz tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kickermenu-3.3/menuapplet.h')
-rw-r--r-- | kickermenu-3.3/menuapplet.h | 26 |
1 files changed, 13 insertions, 13 deletions
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 <kpanelapplet.h> -#include <qintdict.h> -#include <qvaluelist.h> -#include <qmenubar.h> +#include <tqintdict.h> +#include <tqvaluelist.h> +#include <tqmenubar.h> #include <kwindowlistmenu.h> #include <kwinmodule.h> #include <kmanagerselection.h> @@ -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; - QIntDict<QString>windowTitleDict; + TQMenuBar *windowIndicator; + TQIntDict<TQString>windowTitleDict; 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 ); |