diff options
author | Michele Calgaro <[email protected]> | 2024-01-05 10:33:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-07 19:58:23 +0900 |
commit | dbc335c77fac284429025a8b961a1bc9699da43d (patch) | |
tree | 5fcb954cee7a289c2a3b6cac92171cb18b0bf800 /src/kbfxbutton.cpp | |
parent | 6319099a2e4c24172950c7799e63e1101e270137 (diff) | |
download | kbfx-dbc335c77fac284429025a8b961a1bc9699da43d.tar.gz kbfx-dbc335c77fac284429025a8b961a1bc9699da43d.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 43379ee382fcc18c575c57fdae218a7d0e51e526)
Diffstat (limited to 'src/kbfxbutton.cpp')
-rw-r--r-- | src/kbfxbutton.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbfxbutton.cpp b/src/kbfxbutton.cpp index 585b36e..9ae3410 100644 --- a/src/kbfxbutton.cpp +++ b/src/kbfxbutton.cpp @@ -44,11 +44,11 @@ KbfxButton::KbfxButton ( TQWidget * parent, const char *name) : m_toggle = false; TQTimer * timer = new TQTimer ( this,"Update Timer" ); - connect ( timer,TQT_SIGNAL ( timeout() ),this,TQT_SLOT ( update() ) ); + connect ( timer,TQ_SIGNAL ( timeout() ),this,TQ_SLOT ( update() ) ); timer->start ( 25,false ); fade_timer = new TQTimer ( this,"Fade Timer" ); - connect ( fade_timer,TQT_SIGNAL ( timeout() ),this,TQT_SLOT ( fade() ) ); + connect ( fade_timer,TQ_SIGNAL ( timeout() ),this,TQ_SLOT ( fade() ) ); } KbfxButton::~KbfxButton() @@ -273,14 +273,14 @@ void KbfxButton::mousePressEvent ( TQMouseEvent * e ) TQPopupMenu *popup = new TQPopupMenu(); popup->insertItem ( SmallIcon ( "remove" ), i18n ( "Remove KBFX from Pannel" ), - this, TQT_SLOT ( selfDeleter() ) ); + this, TQ_SLOT ( selfDeleter() ) ); popup->insertItem ( SmallIcon ( "reload" ),i18n ( "Reload KBFX" ), - this, TQT_SLOT ( reloadConfig() ) ); + this, TQ_SLOT ( reloadConfig() ) ); popup->insertSeparator(); popup->insertItem ( SmallIcon ( "kbfxconfigapp" ), i18n ( "Configure KBFX" ), - this, TQT_SLOT ( openConfigDialog() ) ); + this, TQ_SLOT ( openConfigDialog() ) ); popup->insertItem ( SmallIcon ( "kmenuedit" ),i18n ( "Edit Applications Menu" ), - this, TQT_SLOT ( openKmenuEdit() ) ); + this, TQ_SLOT ( openKmenuEdit() ) ); popup->exec ( e->globalPos() ); delete popup; } |