diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:33:37 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:58:23 +0900 |
| commit | dbc335c77fac284429025a8b961a1bc9699da43d (patch) | |
| tree | 5fcb954cee7a289c2a3b6cac92171cb18b0bf800 /src/kbfxspinxmenu.cpp | |
| parent | 6319099a2e4c24172950c7799e63e1101e270137 (diff) | |
| download | kbfx-dbc335c7.tar.gz kbfx-dbc335c7.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 43379ee382fcc18c575c57fdae218a7d0e51e526)
Diffstat (limited to 'src/kbfxspinxmenu.cpp')
| -rw-r--r-- | src/kbfxspinxmenu.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/kbfxspinxmenu.cpp b/src/kbfxspinxmenu.cpp index f881de4..c2a7f8c 100644 --- a/src/kbfxspinxmenu.cpp +++ b/src/kbfxspinxmenu.cpp @@ -86,8 +86,8 @@ KbfxSpinxMenuWidget::init() m_search->resize ( ConfigInit ().m_searchBox_w - m_searchTag->width (), ConfigInit ().m_searchBox_h ); - connect (m_searchTag, TQT_SIGNAL (mouseDoubleClicked ( const ButtonState & )), this, - TQT_SLOT (search_clear ( const ButtonState & ))); + connect (m_searchTag, TQ_SIGNAL (mouseDoubleClicked ( const ButtonState & )), this, + TQ_SLOT (search_clear ( const ButtonState & ))); int frameHeight = ConfigInit().m_listBox_h; @@ -143,37 +143,37 @@ KbfxSpinxMenuWidget::init() loadHistory (); - connect ( m_indexView, TQT_SIGNAL ( loadRequest ( KbfxSignal ) ), m_canvasView, - TQT_SLOT ( handleLoadRequest ( KbfxSignal ) ) ); + connect ( m_indexView, TQ_SIGNAL ( loadRequest ( KbfxSignal ) ), m_canvasView, + TQ_SLOT ( handleLoadRequest ( KbfxSignal ) ) ); - connect ( m_indexLeftView, TQT_SIGNAL ( loadRequest ( KbfxSignal ) ), m_canvasView, - TQT_SLOT ( handleLoadRequest ( KbfxSignal ) ) ); + connect ( m_indexLeftView, TQ_SIGNAL ( loadRequest ( KbfxSignal ) ), m_canvasView, + TQ_SLOT ( handleLoadRequest ( KbfxSignal ) ) ); - connect ( m_canvasView, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( hideMenu () ) ); + connect ( m_canvasView, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( hideMenu () ) ); - connect ( m_search, TQT_SIGNAL ( textChanged ( const TQString & ) ), m_canvasView, - TQT_SLOT ( search ( const TQString & ) ) ); + connect ( m_search, TQ_SIGNAL ( textChanged ( const TQString & ) ), m_canvasView, + TQ_SLOT ( search ( const TQString & ) ) ); connect ( m_indexView, - TQT_SIGNAL ( pluginRequest ( TQString, KbfxPlasmaCanvasView * ) ), - m_indexView, TQT_SLOT ( loadPlugin ( TQString, KbfxPlasmaCanvasView * ) ) ); + TQ_SIGNAL ( pluginRequest ( TQString, KbfxPlasmaCanvasView * ) ), + m_indexView, TQ_SLOT ( loadPlugin ( TQString, KbfxPlasmaCanvasView * ) ) ); connect ( m_indexLeftView, - TQT_SIGNAL ( pluginRequest ( TQString, KbfxPlasmaCanvasView * ) ), + TQ_SIGNAL ( pluginRequest ( TQString, KbfxPlasmaCanvasView * ) ), m_indexLeftView, - TQT_SLOT ( loadPlugin ( TQString, KbfxPlasmaCanvasView * ) ) ); + TQ_SLOT ( loadPlugin ( TQString, KbfxPlasmaCanvasView * ) ) ); connect ( m_indexView, - TQT_SIGNAL ( clearSelected() ), - m_indexLeftView, TQT_SLOT ( clearSelection() ) ); + TQ_SIGNAL ( clearSelected() ), + m_indexLeftView, TQ_SLOT ( clearSelection() ) ); connect ( m_indexLeftView, - TQT_SIGNAL ( clearSelected() ), + TQ_SIGNAL ( clearSelected() ), m_indexView, - TQT_SLOT ( clearSelection() ) ); + TQ_SLOT ( clearSelection() ) ); - connect (this,TQT_SIGNAL(refresh()),m_canvasView,TQT_SLOT(reload())); - connect (this,TQT_SIGNAL(runItem()),m_canvasView,TQT_SLOT(execFirst())); + connect (this,TQ_SIGNAL(refresh()),m_canvasView,TQ_SLOT(reload())); + connect (this,TQ_SIGNAL(runItem()),m_canvasView,TQ_SLOT(execFirst())); KbfxSpinxToolButton *logout = new KbfxSpinxToolButton ( m_toolBarBot ); KbfxSpinxToolButton *lock = new KbfxSpinxToolButton ( m_toolBarBot ); @@ -200,8 +200,8 @@ KbfxSpinxMenuWidget::init() m_toolBarBot->addButton ( logout ); m_toolBarBot->addButton ( lock ); - connect ( logout,TQT_SIGNAL ( clicked() ),this , TQT_SLOT ( hideMenu() ) ); - connect ( lock ,TQT_SIGNAL ( clicked() ),this , TQT_SLOT ( hideMenu() ) ); + connect ( logout,TQ_SIGNAL ( clicked() ),this , TQ_SLOT ( hideMenu() ) ); + connect ( lock ,TQ_SIGNAL ( clicked() ),this , TQ_SLOT ( hideMenu() ) ); } |
