diff options
Diffstat (limited to 'doc/html/kshowmail_8cpp-source.html')
-rw-r--r-- | doc/html/kshowmail_8cpp-source.html | 50 |
1 files changed, 25 insertions, 25 deletions
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 @@ <a name="l00062"></a>00062 <a name="l00063"></a>00063 <span class="comment">//connect signals with slots</span> <a name="l00064"></a>00064 -<a name="l00065"></a>00065 connect (<a class="code" href="classKShowMailApp.html#66bd9b79549afb8aec119ee1706103e1">m_pDockWindow</a>, SIGNAL (quitSelected ()), SLOT (<a class="code" href="classKShowMailApp.html#f94f8e79fcd9b35eea937b2533912e86">slotForceClose</a> ())); -<a name="l00066"></a>00066 connect (<a class="code" href="classKShowMailApp.html#2ebe3eb0660a5f76160b135f7ef22765">m_pTimer</a>, SIGNAL (timeout ()), SLOT (<a class="code" href="classKShowMailApp.html#8c64c6da0904a063988211fc2e5b5ee7">slotRefresh</a> ())); -<a name="l00067"></a>00067 connect (<a class="code" href="classKShowMailApp.html#c4c5078123779bc87252714ba8bb9a14">m_pView</a>-><a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>, SIGNAL (currentChanged(TQListViewItem*)), SLOT(<a class="code" href="classKShowMailApp.html#03f1ae7df67069b5a7a9d54c39e94924">slotAccountActivated</a>(TQListViewItem*))); -<a name="l00068"></a>00068 connect (<a class="code" href="classKShowMailApp.html#c4c5078123779bc87252714ba8bb9a14">m_pView</a>, SIGNAL (signalActiveChanged()), SLOT (<a class="code" href="classKShowMailApp.html#68bebd7208b03fe4fe1aa23be83f7536">slotRefreshView</a>())); +<a name="l00065"></a>00065 connect (<a class="code" href="classKShowMailApp.html#66bd9b79549afb8aec119ee1706103e1">m_pDockWindow</a>, TQ_SIGNAL (quitSelected ()), TQ_SLOT (<a class="code" href="classKShowMailApp.html#f94f8e79fcd9b35eea937b2533912e86">slotForceClose</a> ())); +<a name="l00066"></a>00066 connect (<a class="code" href="classKShowMailApp.html#2ebe3eb0660a5f76160b135f7ef22765">m_pTimer</a>, TQ_SIGNAL (timeout ()), TQ_SLOT (<a class="code" href="classKShowMailApp.html#8c64c6da0904a063988211fc2e5b5ee7">slotRefresh</a> ())); +<a name="l00067"></a>00067 connect (<a class="code" href="classKShowMailApp.html#c4c5078123779bc87252714ba8bb9a14">m_pView</a>-><a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>, TQ_SIGNAL (currentChanged(TQListViewItem*)), TQ_SLOT(<a class="code" href="classKShowMailApp.html#03f1ae7df67069b5a7a9d54c39e94924">slotAccountActivated</a>(TQListViewItem*))); +<a name="l00068"></a>00068 connect (<a class="code" href="classKShowMailApp.html#c4c5078123779bc87252714ba8bb9a14">m_pView</a>, TQ_SIGNAL (signalActiveChanged()), TQ_SLOT (<a class="code" href="classKShowMailApp.html#68bebd7208b03fe4fe1aa23be83f7536">slotRefreshView</a>())); <a name="l00069"></a>00069 -<a name="l00070"></a>00070 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, SIGNAL( sigDeleteReady() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#a77267f88c63edad44b7e82d0b398fc6">slotDeletionReady</a>() ) ); -<a name="l00071"></a>00071 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, SIGNAL( sigShowBodiesReady() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#3b9805091025c531842807e28e29cc10">slotShowMessageReady</a>() ) ); -<a name="l00072"></a>00072 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, SIGNAL( sigMessageWindowOpened() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#86c54998aa412571f0b471efd32e8ef9">slotNormalCursor</a>() ) ); -<a name="l00073"></a>00073 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, SIGNAL( sigAllMessageWindowsClosed() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#36b54a32e442ec8bab250c3c87f08962">slotWaitingCursor</a>() ) ); -<a name="l00074"></a>00074 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, SIGNAL( sigRefreshReady() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#911c2c1823421973f97e4ea2cc51e710">slotRefreshReady</a>() ) ); +<a name="l00070"></a>00070 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, TQ_SIGNAL( sigDeleteReady() ), <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#a77267f88c63edad44b7e82d0b398fc6">slotDeletionReady</a>() ) ); +<a name="l00071"></a>00071 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, TQ_SIGNAL( sigShowBodiesReady() ), <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#3b9805091025c531842807e28e29cc10">slotShowMessageReady</a>() ) ); +<a name="l00072"></a>00072 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, TQ_SIGNAL( sigMessageWindowOpened() ), <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#86c54998aa412571f0b471efd32e8ef9">slotNormalCursor</a>() ) ); +<a name="l00073"></a>00073 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, TQ_SIGNAL( sigAllMessageWindowsClosed() ), <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#36b54a32e442ec8bab250c3c87f08962">slotWaitingCursor</a>() ) ); +<a name="l00074"></a>00074 connect( &<a class="code" href="classKShowMailApp.html#5c7aa11169cab91aefb86d4b3cc7a767">m_ConfigList</a>, TQ_SIGNAL( sigRefreshReady() ), <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#911c2c1823421973f97e4ea2cc51e710">slotRefreshReady</a>() ) ); <a name="l00075"></a>00075 <a name="l00076"></a>00076 <span class="comment">// this starts the one-second-interval timer</span> <a name="l00077"></a>00077 <span class="comment">// this is a TQObject method</span> @@ -140,30 +140,30 @@ <a name="l00126"></a><a class="code" href="classKShowMailApp.html#4f13d29b34bf4dd08804489ad1f41a82">00126</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailApp.html#4f13d29b34bf4dd08804489ad1f41a82">KShowMailApp::initActions</a> () <a name="l00127"></a>00127 { <a name="l00128"></a>00128 <span class="comment">// file menu</span> -<a name="l00129"></a>00129 <a class="code" href="classKShowMailApp.html#f9fddbbfc8033da2be1d31cc6247ebe0">m_actionSave</a> = KStdAction::saveOptions( <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#c97f2ac7f5c12aab46651f818f414109">slotSaveOptions</a>() ), actionCollection() ); -<a name="l00130"></a>00130 KStdAction::quit( <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#6d18177026c4c8d276e690c405c9fcd7">slotFileQuit</a>() ), actionCollection() ); +<a name="l00129"></a>00129 <a class="code" href="classKShowMailApp.html#f9fddbbfc8033da2be1d31cc6247ebe0">m_actionSave</a> = KStdAction::saveOptions( <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#c97f2ac7f5c12aab46651f818f414109">slotSaveOptions</a>() ), actionCollection() ); +<a name="l00130"></a>00130 KStdAction::quit( <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#6d18177026c4c8d276e690c405c9fcd7">slotFileQuit</a>() ), actionCollection() ); <a name="l00131"></a>00131 <a name="l00132"></a>00132 <span class="comment">// action menu</span> -<a name="l00133"></a>00133 <a class="code" href="classKShowMailApp.html#cdd1b63955d1dd5c9d78d551fc86ef74">m_actionRefresh</a> = <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"&Refresh messages"</span> ), <span class="stringliteral">"reload"</span>, Key_F5, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#8c64c6da0904a063988211fc2e5b5ee7">slotRefresh</a>() ), actionCollection(), <span class="stringliteral">"refresh"</span> ); -<a name="l00134"></a>00134 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Show &header of highlighted messages"</span> ), <span class="stringliteral">"letter-closed"</span>, Key_F2, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#7b9553bf179124f9f1eb56bdd094b901">slotShowHeader</a>() ), actionCollection(), <span class="stringliteral">"show_header"</span> ); -<a name="l00135"></a>00135 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Show &complete highlighted messages"</span> ), <span class="stringliteral">"letter-open"</span>, Key_F3, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#34c235044988b2d43c0e43d249831dc1">slotShowMessage</a>() ), actionCollection(), <span class="stringliteral">"show_complete"</span> ); -<a name="l00136"></a>00136 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"&Delete highlighted messages"</span> ), <span class="stringliteral">"eraser"</span>, Key_Delete, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#ad1a25c5c31f911f7c21b3aedc682e8e">slotDelete</a>() ), actionCollection(), <span class="stringliteral">"delete"</span> ); -<a name="l00137"></a>00137 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"S&top current transfer"</span> ), <span class="stringliteral">"stop"</span>, 0, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#b9a90ef9062595e4cbebee5851206ec9">slotStop</a>() ), actionCollection(), <span class="stringliteral">"stop"</span> ); +<a name="l00133"></a>00133 <a class="code" href="classKShowMailApp.html#cdd1b63955d1dd5c9d78d551fc86ef74">m_actionRefresh</a> = <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"&Refresh messages"</span> ), <span class="stringliteral">"reload"</span>, Key_F5, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#8c64c6da0904a063988211fc2e5b5ee7">slotRefresh</a>() ), actionCollection(), <span class="stringliteral">"refresh"</span> ); +<a name="l00134"></a>00134 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Show &header of highlighted messages"</span> ), <span class="stringliteral">"letter-closed"</span>, Key_F2, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#7b9553bf179124f9f1eb56bdd094b901">slotShowHeader</a>() ), actionCollection(), <span class="stringliteral">"show_header"</span> ); +<a name="l00135"></a>00135 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Show &complete highlighted messages"</span> ), <span class="stringliteral">"letter-open"</span>, Key_F3, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#34c235044988b2d43c0e43d249831dc1">slotShowMessage</a>() ), actionCollection(), <span class="stringliteral">"show_complete"</span> ); +<a name="l00136"></a>00136 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"&Delete highlighted messages"</span> ), <span class="stringliteral">"eraser"</span>, Key_Delete, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#ad1a25c5c31f911f7c21b3aedc682e8e">slotDelete</a>() ), actionCollection(), <span class="stringliteral">"delete"</span> ); +<a name="l00137"></a>00137 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"S&top current transfer"</span> ), <span class="stringliteral">"stop"</span>, 0, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#b9a90ef9062595e4cbebee5851206ec9">slotStop</a>() ), actionCollection(), <span class="stringliteral">"stop"</span> ); <a name="l00138"></a>00138 <a name="l00139"></a>00139 <span class="comment">// setup menu</span> -<a name="l00140"></a>00140 KStdAction::preferences( <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#9d907211db6387cf6e395c22a9642c3b">slotSetup</a>() ), actionCollection() ); -<a name="l00141"></a>00141 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Setup &filters"</span> ), <span class="stringliteral">"filter"</span>, 0, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#a1a96dcbd8cfce09a85cc684950393ee">slotSetupFilters</a>() ), actionCollection(), <span class="stringliteral">"filters"</span> ); -<a name="l00142"></a>00142 KStdAction::configureToolbars( <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#772f86e96418116ac58943d1bb0c3acb">slotEditToolbars</a>() ), actionCollection() ); +<a name="l00140"></a>00140 KStdAction::preferences( <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#9d907211db6387cf6e395c22a9642c3b">slotSetup</a>() ), actionCollection() ); +<a name="l00141"></a>00141 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Setup &filters"</span> ), <span class="stringliteral">"filter"</span>, 0, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#a1a96dcbd8cfce09a85cc684950393ee">slotSetupFilters</a>() ), actionCollection(), <span class="stringliteral">"filters"</span> ); +<a name="l00142"></a>00142 KStdAction::configureToolbars( <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#772f86e96418116ac58943d1bb0c3acb">slotEditToolbars</a>() ), actionCollection() ); <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="comment">//create menu items for toggle tool and status bar</span> <a name="l00145"></a>00145 setStandardToolBarMenuEnabled( <span class="keyword">true</span> ); <a name="l00146"></a>00146 createStandardStatusBarAction(); <a name="l00147"></a>00147 <a name="l00148"></a>00148 <span class="comment">//help menu</span> -<a name="l00149"></a>00149 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Send &Feedback Mail"</span> ), <span class="stringliteral">"email"</span>, 0, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#cb6b97d7b759372c2ab7690fc70d1518">slotSendFeedbackMail</a>() ),actionCollection(), <span class="stringliteral">"sendFeedback"</span> ); +<a name="l00149"></a>00149 <span class="keyword">new</span> TDEAction( i18n( <span class="stringliteral">"Send &Feedback Mail"</span> ), <span class="stringliteral">"email"</span>, 0, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#cb6b97d7b759372c2ab7690fc70d1518">slotSendFeedbackMail</a>() ),actionCollection(), <span class="stringliteral">"sendFeedback"</span> ); <a name="l00150"></a>00150 <a name="l00151"></a>00151 <span class="comment">//for account context menu</span> -<a name="l00152"></a>00152 <span class="keyword">new</span> TDEAction(i18n( <span class="stringliteral">"Setup &account"</span> ), <span class="stringliteral">"tool"</span>, 0, <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#65f99925664c07c6eafa2b375352ad34">slotSetupAccount</a>() ), actionCollection(), <span class="stringliteral">"setupAccount"</span> ); +<a name="l00152"></a>00152 <span class="keyword">new</span> TDEAction(i18n( <span class="stringliteral">"Setup &account"</span> ), <span class="stringliteral">"tool"</span>, 0, <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#65f99925664c07c6eafa2b375352ad34">slotSetupAccount</a>() ), actionCollection(), <span class="stringliteral">"setupAccount"</span> ); <a name="l00153"></a>00153 } <a name="l00154"></a>00154 <a name="l00155"></a><a class="code" href="classKShowMailApp.html#daaa25d851b56449b16c942d099fbf86">00155</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailApp.html#daaa25d851b56449b16c942d099fbf86">KShowMailApp::initStatusBar</a>() @@ -249,7 +249,7 @@ <a name="l00237"></a>00237 <span class="keywordflow">return</span> <span class="keyword">true</span>; <a name="l00238"></a>00238 } <a name="l00239"></a>00239 -<a name="l00241"></a>00241 <span class="comment">// SLOT IMPLEMENTATION</span> +<a name="l00241"></a>00241 <span class="comment">// TQ_SLOT IMPLEMENTATION</span> <a name="l00243"></a>00243 <span class="comment"></span> <a name="l00244"></a><a class="code" href="classKShowMailApp.html#6d18177026c4c8d276e690c405c9fcd7">00244</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailApp.html#6d18177026c4c8d276e690c405c9fcd7">KShowMailApp::slotFileQuit</a>() <a name="l00245"></a>00245 { @@ -649,8 +649,8 @@ <a name="l00639"></a>00639 { <a name="l00640"></a>00640 <span class="comment">//create a message dialog</span> <a name="l00641"></a>00641 <a class="code" href="classKShowMailApp.html#7ef695b9db1672c75b3dea0e839e6fa4">m_pAlertDialog</a> = <span class="keyword">new</span> <a class="code" href="classAlertDialog.html">AlertDialog</a>( <span class="keyword">this</span> ); -<a name="l00642"></a>00642 connect( <a class="code" href="classKShowMailApp.html#7ef695b9db1672c75b3dea0e839e6fa4">m_pAlertDialog</a>, SIGNAL( destroyed() ), SLOT( <a class="code" href="classKShowMailApp.html#073b29df0ea7fa4c1a5245dd87bd1b6c">slotAlertDestroyed</a>() ) ); -<a name="l00643"></a>00643 connect( <a class="code" href="classKShowMailApp.html#7ef695b9db1672c75b3dea0e839e6fa4">m_pAlertDialog</a>, SIGNAL( signalOk() ), SLOT( <a class="code" href="classKShowMailApp.html#cb8e7126aec305899d7109863f99d6d4">slotAlertOk</a>() ) ); +<a name="l00642"></a>00642 connect( <a class="code" href="classKShowMailApp.html#7ef695b9db1672c75b3dea0e839e6fa4">m_pAlertDialog</a>, TQ_SIGNAL( destroyed() ), TQ_SLOT( <a class="code" href="classKShowMailApp.html#073b29df0ea7fa4c1a5245dd87bd1b6c">slotAlertDestroyed</a>() ) ); +<a name="l00643"></a>00643 connect( <a class="code" href="classKShowMailApp.html#7ef695b9db1672c75b3dea0e839e6fa4">m_pAlertDialog</a>, TQ_SIGNAL( signalOk() ), TQ_SLOT( <a class="code" href="classKShowMailApp.html#cb8e7126aec305899d7109863f99d6d4">slotAlertOk</a>() ) ); <a name="l00644"></a>00644 } <a name="l00645"></a>00645 } <a name="l00646"></a>00646 @@ -796,7 +796,7 @@ <a name="l00786"></a>00786 <a class="code" href="classKShowMailApp.html#c6cfeedcef8e52b5a407f764fe057433">SetupDialog</a>->addModule( <span class="stringliteral">"kshowmailconfigactions.desktop"</span> ); <a name="l00787"></a>00787 <a name="l00788"></a>00788 <span class="comment">//If the configuration was changed, it will call slotConfChanged</span> -<a name="l00789"></a>00789 connect( <a class="code" href="classKShowMailApp.html#c6cfeedcef8e52b5a407f764fe057433">SetupDialog</a>, SIGNAL( configCommitted() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classKShowMailApp.html#7655fe082dfda144367a152c58827c7f">slotConfChanged</a>() ) ); +<a name="l00789"></a>00789 connect( <a class="code" href="classKShowMailApp.html#c6cfeedcef8e52b5a407f764fe057433">SetupDialog</a>, TQ_SIGNAL( configCommitted() ), <span class="keyword">this</span>, TQ_SLOT( <a class="code" href="classKShowMailApp.html#7655fe082dfda144367a152c58827c7f">slotConfChanged</a>() ) ); <a name="l00790"></a>00790 } <a name="l00791"></a>00791 <a name="l00792"></a>00792 <span class="comment">//execute preferences dialog</span> |