From f3820937b0c81e34217d63f433ffc1394a741f1c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 28 Dec 2023 21:15:39 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- doc/html/kshowmail_8cpp-source.html | 50 ++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'doc/html/kshowmail_8cpp-source.html') diff --git a/doc/html/kshowmail_8cpp-source.html b/doc/html/kshowmail_8cpp-source.html index df1ea7f..102d2eb 100644 --- a/doc/html/kshowmail_8cpp-source.html +++ b/doc/html/kshowmail_8cpp-source.html @@ -79,16 +79,16 @@ 00062 00063 //connect signals with slots 00064 -00065 connect (m_pDockWindow, SIGNAL (quitSelected ()), SLOT (slotForceClose ())); -00066 connect (m_pTimer, SIGNAL (timeout ()), SLOT (slotRefresh ())); -00067 connect (m_pView->m_pListAccounts, SIGNAL (currentChanged(TQListViewItem*)), SLOT(slotAccountActivated(TQListViewItem*))); -00068 connect (m_pView, SIGNAL (signalActiveChanged()), SLOT (slotRefreshView())); +00065 connect (m_pDockWindow, TQ_SIGNAL (quitSelected ()), TQ_SLOT (slotForceClose ())); +00066 connect (m_pTimer, TQ_SIGNAL (timeout ()), TQ_SLOT (slotRefresh ())); +00067 connect (m_pView->m_pListAccounts, TQ_SIGNAL (currentChanged(TQListViewItem*)), TQ_SLOT(slotAccountActivated(TQListViewItem*))); +00068 connect (m_pView, TQ_SIGNAL (signalActiveChanged()), TQ_SLOT (slotRefreshView())); 00069 -00070 connect( &m_ConfigList, SIGNAL( sigDeleteReady() ), this, SLOT( slotDeletionReady() ) ); -00071 connect( &m_ConfigList, SIGNAL( sigShowBodiesReady() ), this, SLOT( slotShowMessageReady() ) ); -00072 connect( &m_ConfigList, SIGNAL( sigMessageWindowOpened() ), this, SLOT( slotNormalCursor() ) ); -00073 connect( &m_ConfigList, SIGNAL( sigAllMessageWindowsClosed() ), this, SLOT( slotWaitingCursor() ) ); -00074 connect( &m_ConfigList, SIGNAL( sigRefreshReady() ), this, SLOT( slotRefreshReady() ) ); +00070 connect( &m_ConfigList, TQ_SIGNAL( sigDeleteReady() ), this, TQ_SLOT( slotDeletionReady() ) ); +00071 connect( &m_ConfigList, TQ_SIGNAL( sigShowBodiesReady() ), this, TQ_SLOT( slotShowMessageReady() ) ); +00072 connect( &m_ConfigList, TQ_SIGNAL( sigMessageWindowOpened() ), this, TQ_SLOT( slotNormalCursor() ) ); +00073 connect( &m_ConfigList, TQ_SIGNAL( sigAllMessageWindowsClosed() ), this, TQ_SLOT( slotWaitingCursor() ) ); +00074 connect( &m_ConfigList, TQ_SIGNAL( sigRefreshReady() ), this, TQ_SLOT( slotRefreshReady() ) ); 00075 00076 // this starts the one-second-interval timer 00077 // this is a TQObject method @@ -140,30 +140,30 @@ 00126 void KShowMailApp::initActions () 00127 { 00128 // file menu -00129 m_actionSave = KStdAction::saveOptions( this, SLOT( slotSaveOptions() ), actionCollection() ); -00130 KStdAction::quit( this, SLOT( slotFileQuit() ), actionCollection() ); +00129 m_actionSave = KStdAction::saveOptions( this, TQ_SLOT( slotSaveOptions() ), actionCollection() ); +00130 KStdAction::quit( this, TQ_SLOT( slotFileQuit() ), actionCollection() ); 00131 00132 // action menu -00133 m_actionRefresh = new TDEAction( i18n( "&Refresh messages" ), "reload", Key_F5, this, SLOT( slotRefresh() ), actionCollection(), "refresh" ); -00134 new TDEAction( i18n( "Show &header of highlighted messages" ), "letter-closed", Key_F2, this, SLOT( slotShowHeader() ), actionCollection(), "show_header" ); -00135 new TDEAction( i18n( "Show &complete highlighted messages" ), "letter-open", Key_F3, this, SLOT( slotShowMessage() ), actionCollection(), "show_complete" ); -00136 new TDEAction( i18n( "&Delete highlighted messages" ), "eraser", Key_Delete, this, SLOT( slotDelete() ), actionCollection(), "delete" ); -00137 new TDEAction( i18n( "S&top current transfer" ), "stop", 0, this, SLOT( slotStop() ), actionCollection(), "stop" ); +00133 m_actionRefresh = new TDEAction( i18n( "&Refresh messages" ), "reload", Key_F5, this, TQ_SLOT( slotRefresh() ), actionCollection(), "refresh" ); +00134 new TDEAction( i18n( "Show &header of highlighted messages" ), "letter-closed", Key_F2, this, TQ_SLOT( slotShowHeader() ), actionCollection(), "show_header" ); +00135 new TDEAction( i18n( "Show &complete highlighted messages" ), "letter-open", Key_F3, this, TQ_SLOT( slotShowMessage() ), actionCollection(), "show_complete" ); +00136 new TDEAction( i18n( "&Delete highlighted messages" ), "eraser", Key_Delete, this, TQ_SLOT( slotDelete() ), actionCollection(), "delete" ); +00137 new TDEAction( i18n( "S&top current transfer" ), "stop", 0, this, TQ_SLOT( slotStop() ), actionCollection(), "stop" ); 00138 00139 // setup menu -00140 KStdAction::preferences( this, SLOT( slotSetup() ), actionCollection() ); -00141 new TDEAction( i18n( "Setup &filters" ), "filter", 0, this, SLOT( slotSetupFilters() ), actionCollection(), "filters" ); -00142 KStdAction::configureToolbars( this, SLOT( slotEditToolbars() ), actionCollection() ); +00140 KStdAction::preferences( this, TQ_SLOT( slotSetup() ), actionCollection() ); +00141 new TDEAction( i18n( "Setup &filters" ), "filter", 0, this, TQ_SLOT( slotSetupFilters() ), actionCollection(), "filters" ); +00142 KStdAction::configureToolbars( this, TQ_SLOT( slotEditToolbars() ), actionCollection() ); 00143 00144 //create menu items for toggle tool and status bar 00145 setStandardToolBarMenuEnabled( true ); 00146 createStandardStatusBarAction(); 00147 00148 //help menu -00149 new TDEAction( i18n( "Send &Feedback Mail" ), "email", 0, this, SLOT( slotSendFeedbackMail() ),actionCollection(), "sendFeedback" ); +00149 new TDEAction( i18n( "Send &Feedback Mail" ), "email", 0, this, TQ_SLOT( slotSendFeedbackMail() ),actionCollection(), "sendFeedback" ); 00150 00151 //for account context menu -00152 new TDEAction(i18n( "Setup &account" ), "tool", 0, this, SLOT( slotSetupAccount() ), actionCollection(), "setupAccount" ); +00152 new TDEAction(i18n( "Setup &account" ), "tool", 0, this, TQ_SLOT( slotSetupAccount() ), actionCollection(), "setupAccount" ); 00153 } 00154 00155 void KShowMailApp::initStatusBar() @@ -249,7 +249,7 @@ 00237 return true; 00238 } 00239 -00241 // SLOT IMPLEMENTATION +00241 // TQ_SLOT IMPLEMENTATION 00243 00244 void KShowMailApp::slotFileQuit() 00245 { @@ -649,8 +649,8 @@ 00639 { 00640 //create a message dialog 00641 m_pAlertDialog = new AlertDialog( this ); -00642 connect( m_pAlertDialog, SIGNAL( destroyed() ), SLOT( slotAlertDestroyed() ) ); -00643 connect( m_pAlertDialog, SIGNAL( signalOk() ), SLOT( slotAlertOk() ) ); +00642 connect( m_pAlertDialog, TQ_SIGNAL( destroyed() ), TQ_SLOT( slotAlertDestroyed() ) ); +00643 connect( m_pAlertDialog, TQ_SIGNAL( signalOk() ), TQ_SLOT( slotAlertOk() ) ); 00644 } 00645 } 00646 @@ -796,7 +796,7 @@ 00786 SetupDialog->addModule( "kshowmailconfigactions.desktop" ); 00787 00788 //If the configuration was changed, it will call slotConfChanged -00789 connect( SetupDialog, SIGNAL( configCommitted() ), this, SLOT( slotConfChanged() ) ); +00789 connect( SetupDialog, TQ_SIGNAL( configCommitted() ), this, TQ_SLOT( slotConfChanged() ) ); 00790 } 00791 00792 //execute preferences dialog -- cgit v1.2.1