diff options
author | Timothy Pearson <[email protected]> | 2013-07-24 15:59:03 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-07-24 15:59:03 -0500 |
commit | 9c02dbb59ce57c68dc177d9294b980bf114a3e11 (patch) | |
tree | b1b40423c9be9a42a97cd0e8f3af3139aefb6fa0 /doc/html/kshowmailview_8cpp-source.html | |
parent | 0b875800e452c97b1a3f25aba5f029a8c33a4b93 (diff) | |
download | kshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.tar.gz kshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.zip |
Update to TDE R14 API
Diffstat (limited to 'doc/html/kshowmailview_8cpp-source.html')
-rw-r--r-- | doc/html/kshowmailview_8cpp-source.html | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/doc/html/kshowmailview_8cpp-source.html b/doc/html/kshowmailview_8cpp-source.html index 3888583..2a086b0 100644 --- a/doc/html/kshowmailview_8cpp-source.html +++ b/doc/html/kshowmailview_8cpp-source.html @@ -34,15 +34,15 @@ <a name="l00017"></a>00017 <span class="comment"> * *</span> <a name="l00018"></a>00018 <span class="comment"> ***************************************************************************/</span> <a name="l00019"></a>00019 -<a name="l00020"></a>00020 <span class="comment">// include files for Qt</span> -<a name="l00021"></a>00021 <span class="preprocessor">#include <qprinter.h></span> -<a name="l00022"></a>00022 <span class="preprocessor">#include <qpainter.h></span> -<a name="l00023"></a>00023 <span class="preprocessor">#include <qmessagebox.h></span> -<a name="l00024"></a>00024 <span class="preprocessor">#include <qkeycode.h></span> -<a name="l00025"></a>00025 <span class="preprocessor">#include <qvaluelist.h></span> +<a name="l00020"></a>00020 <span class="comment">// include files for TQt</span> +<a name="l00021"></a>00021 <span class="preprocessor">#include <ntqprinter.h></span> +<a name="l00022"></a>00022 <span class="preprocessor">#include <ntqpainter.h></span> +<a name="l00023"></a>00023 <span class="preprocessor">#include <ntqmessagebox.h></span> +<a name="l00024"></a>00024 <span class="preprocessor">#include <ntqkeycode.h></span> +<a name="l00025"></a>00025 <span class="preprocessor">#include <ntqvaluelist.h></span> <a name="l00026"></a>00026 <a name="l00027"></a>00027 <span class="preprocessor">#include <kstandarddirs.h></span> -<a name="l00028"></a>00028 <span class="preprocessor">#include <klocale.h></span> +<a name="l00028"></a>00028 <span class="preprocessor">#include <tdelocale.h></span> <a name="l00029"></a>00029 <span class="preprocessor">#include <kdebug.h></span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="comment">// application specific includes</span> @@ -50,19 +50,19 @@ <a name="l00033"></a>00033 <span class="preprocessor">#include "kshowmaildoc.h"</span> <a name="l00034"></a>00034 <span class="preprocessor">#include "kshowmail.h"</span> <a name="l00035"></a>00035 -<a name="l00036"></a><a class="code" href="classKshowmailView.html#6c0f3a139aba59b618178cffec9fdbf4">00036</a> <a class="code" href="classKshowmailView.html#6c0f3a139aba59b618178cffec9fdbf4">KshowmailView::KshowmailView</a>(QWidget *parent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name): -<a name="l00037"></a>00037 QSplitter(Vertical, parent, name) +<a name="l00036"></a><a class="code" href="classKshowmailView.html#6c0f3a139aba59b618178cffec9fdbf4">00036</a> <a class="code" href="classKshowmailView.html#6c0f3a139aba59b618178cffec9fdbf4">KshowmailView::KshowmailView</a>(TQWidget *parent, <span class="keyword">const</span> <span class="keywordtype">char</span> *name): +<a name="l00037"></a>00037 TQSplitter(Vertical, parent, name) <a name="l00038"></a>00038 { <a name="l00039"></a>00039 <span class="comment">//get application config object (kshowmailrc)</span> -<a name="l00040"></a>00040 <a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a> = KApplication::kApplication()->config(); +<a name="l00040"></a>00040 <a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a> = TDEApplication::kApplication()->config(); <a name="l00041"></a>00041 -<a name="l00042"></a>00042 <a class="code" href="classKshowmailView.html#ac2789d0c2b897f4a9589c21a8eae2eb">m_pixOk</a> = <span class="keyword">new</span> QPixmap (::locate (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/pics/ok.png"</span>)); +<a name="l00042"></a>00042 <a class="code" href="classKshowmailView.html#ac2789d0c2b897f4a9589c21a8eae2eb">m_pixOk</a> = <span class="keyword">new</span> TQPixmap (::locate (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/pics/ok.png"</span>)); <a name="l00043"></a>00043 -<a name="l00044"></a>00044 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a> = <span class="keyword">new</span> KListView (<span class="keyword">this</span>, <span class="stringliteral">"accounts"</span>); -<a name="l00045"></a>00045 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a> = <span class="keyword">new</span> KListView (<span class="keyword">this</span>, <span class="stringliteral">"messages"</span>); +<a name="l00044"></a>00044 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a> = <span class="keyword">new</span> TDEListView (<span class="keyword">this</span>, <span class="stringliteral">"accounts"</span>); +<a name="l00045"></a>00045 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a> = <span class="keyword">new</span> TDEListView (<span class="keyword">this</span>, <span class="stringliteral">"messages"</span>); <a name="l00046"></a>00046 setBackgroundMode(PaletteBase); <a name="l00047"></a>00047 -<a name="l00048"></a>00048 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>->setSelectionMode (QListView::Extended); +<a name="l00048"></a>00048 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>->setSelectionMode (TQListView::Extended); <a name="l00049"></a>00049 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>->setAllColumnsShowFocus (<span class="keyword">true</span>); <a name="l00050"></a>00050 <span class="comment">// sort account column</span> <a name="l00051"></a>00051 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>->setSorting (1); @@ -74,12 +74,12 @@ <a name="l00057"></a>00057 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>->addColumn (i18n(<span class="stringliteral">"Messages"</span>), DEFAULT_WIDTH_ACCOUNT_MESSAGES ); <a name="l00058"></a>00058 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>->addColumn (i18n(<span class="stringliteral">"Size"</span>), DEFAULT_WIDTH_ACCOUNT_SIZE ); <a name="l00059"></a>00059 -<a name="l00060"></a>00060 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->setSelectionMode (QListView::Extended); +<a name="l00060"></a>00060 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->setSelectionMode (TQListView::Extended); <a name="l00061"></a>00061 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->setAllColumnsShowFocus (<span class="keyword">true</span>); <a name="l00062"></a>00062 <span class="comment">// sort number column</span> <a name="l00063"></a>00063 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->setSorting (ShowListViewItem::_colNumber); <a name="l00064"></a>00064 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->setShowSortIndicator (<span class="keyword">true</span>); -<a name="l00065"></a>00065 setFocusPolicy (QWidget::StrongFocus); +<a name="l00065"></a>00065 setFocusPolicy (TQWidget::StrongFocus); <a name="l00066"></a>00066 <a name="l00067"></a>00067 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->addColumn (i18n(<span class="stringliteral">"Number"</span>), DEFAULT_WIDTH_MESSAGE_NUMBER ); <a name="l00068"></a>00068 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->addColumn (i18n(<span class="stringliteral">"Account"</span>), DEFAULT_WIDTH_MESSAGE_ACCOUNT ); @@ -91,16 +91,16 @@ <a name="l00074"></a>00074 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->addColumn (i18n(<span class="stringliteral">"Content"</span>), DEFAULT_WIDTH_MESSAGE_CONTENT ); <a name="l00075"></a>00075 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->addColumn (i18n(<span class="stringliteral">"State"</span>), DEFAULT_WIDTH_MESSAGE_STATE ); <a name="l00076"></a>00076 -<a name="l00077"></a>00077 connect (<a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>, SIGNAL (rightButtonClicked (QListViewItem*, <span class="keyword">const</span> QPoint &, <span class="keywordtype">int</span>)), -<a name="l00078"></a>00078 SLOT (<a class="code" href="classKshowmailView.html#8635cb9ee8e7859f9b78ced5378c668d">slotAccountContext</a>(QListViewItem*, <span class="keyword">const</span> QPoint &, <span class="keywordtype">int</span>))); -<a name="l00079"></a>00079 connect (<a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>, SIGNAL (clicked (QListViewItem*, <span class="keyword">const</span> QPoint &, <span class="keywordtype">int</span>)), -<a name="l00080"></a>00080 SLOT (<a class="code" href="classKshowmailView.html#49db2d15dcecf0ad09fed9565d506138">slotAccountClicked</a>(QListViewItem*, <span class="keyword">const</span> QPoint &, <span class="keywordtype">int</span>))); -<a name="l00081"></a>00081 connect (<a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>, SIGNAL (rightButtonClicked (QListViewItem*, <span class="keyword">const</span> QPoint &, <span class="keywordtype">int</span>)), -<a name="l00082"></a>00082 SLOT (<a class="code" href="classKshowmailView.html#877ac2a28b5a126946199642842a8039">slotMessageContext</a>(QListViewItem*, <span class="keyword">const</span> QPoint &, <span class="keywordtype">int</span>))); -<a name="l00083"></a>00083 connect (<a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>, SIGNAL (doubleClicked (QListViewItem*)), -<a name="l00084"></a>00084 SLOT (<a class="code" href="classKshowmailView.html#5d39dff853dab5efb5eecba7e8237d9a">slotMessageDoubleClicked</a> (QListViewItem*))); -<a name="l00085"></a>00085 connect (<a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>, SIGNAL (clicked (QListViewItem*)), -<a name="l00086"></a>00086 SLOT (<a class="code" href="classKshowmailView.html#2fc28b0734bd9b2af83a7a9a23875ed3">slotMessageClicked</a> (QListViewItem*))); +<a name="l00077"></a>00077 connect (<a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>, SIGNAL (rightButtonClicked (TQListViewItem*, <span class="keyword">const</span> TQPoint &, <span class="keywordtype">int</span>)), +<a name="l00078"></a>00078 SLOT (<a class="code" href="classKshowmailView.html#8635cb9ee8e7859f9b78ced5378c668d">slotAccountContext</a>(TQListViewItem*, <span class="keyword">const</span> TQPoint &, <span class="keywordtype">int</span>))); +<a name="l00079"></a>00079 connect (<a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>, SIGNAL (clicked (TQListViewItem*, <span class="keyword">const</span> TQPoint &, <span class="keywordtype">int</span>)), +<a name="l00080"></a>00080 SLOT (<a class="code" href="classKshowmailView.html#49db2d15dcecf0ad09fed9565d506138">slotAccountClicked</a>(TQListViewItem*, <span class="keyword">const</span> TQPoint &, <span class="keywordtype">int</span>))); +<a name="l00081"></a>00081 connect (<a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>, SIGNAL (rightButtonClicked (TQListViewItem*, <span class="keyword">const</span> TQPoint &, <span class="keywordtype">int</span>)), +<a name="l00082"></a>00082 SLOT (<a class="code" href="classKshowmailView.html#877ac2a28b5a126946199642842a8039">slotMessageContext</a>(TQListViewItem*, <span class="keyword">const</span> TQPoint &, <span class="keywordtype">int</span>))); +<a name="l00083"></a>00083 connect (<a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>, SIGNAL (doubleClicked (TQListViewItem*)), +<a name="l00084"></a>00084 SLOT (<a class="code" href="classKshowmailView.html#5d39dff853dab5efb5eecba7e8237d9a">slotMessageDoubleClicked</a> (TQListViewItem*))); +<a name="l00085"></a>00085 connect (<a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>, SIGNAL (clicked (TQListViewItem*)), +<a name="l00086"></a>00086 SLOT (<a class="code" href="classKshowmailView.html#2fc28b0734bd9b2af83a7a9a23875ed3">slotMessageClicked</a> (TQListViewItem*))); <a name="l00087"></a>00087 <a name="l00088"></a>00088 <span class="comment">//read the geometry from the application config file</span> <a name="l00089"></a>00089 <a class="code" href="classKshowmailView.html#ff3699740af2b58e299bc4b2326cad20">readOptions</a>(); @@ -118,7 +118,7 @@ <a name="l00101"></a>00101 { <a name="l00102"></a>00102 <span class="comment">//read splitter geometry</span> <a name="l00103"></a>00103 <a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a>->setGroup (<span class="stringliteral">"Display Options"</span>); -<a name="l00104"></a>00104 QValueList<int> size; +<a name="l00104"></a>00104 TQValueList<int> size; <a name="l00105"></a>00105 size.append (<a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a>->readNumEntry (<span class="stringliteral">"sizeaccounts"</span>, 40)); <a name="l00106"></a>00106 size.append (<a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a>->readNumEntry (<span class="stringliteral">"sizemessages"</span>, 50)); <a name="l00107"></a>00107 setSizes (size); @@ -128,12 +128,12 @@ <a name="l00111"></a>00111 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->restoreLayout( <a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a>, CONFIG_GROUP_MESSAGE_LIST ); <a name="l00112"></a>00112 } <a name="l00113"></a>00113 -<a name="l00114"></a><a class="code" href="classKshowmailView.html#53d81f575c855870a8112ec67ade5575">00114</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#53d81f575c855870a8112ec67ade5575">KshowmailView::saveOptions</a> (KConfig* config) +<a name="l00114"></a><a class="code" href="classKshowmailView.html#53d81f575c855870a8112ec67ade5575">00114</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#53d81f575c855870a8112ec67ade5575">KshowmailView::saveOptions</a> (TDEConfig* config) <a name="l00115"></a>00115 { <a name="l00116"></a>00116 <span class="comment">// kdDebug () << "KshowmailView::saveOptions" << endl;</span> <a name="l00117"></a>00117 config->setGroup(<span class="stringliteral">"Display Options"</span>); <a name="l00118"></a>00118 <span class="comment">//splitter</span> -<a name="l00119"></a>00119 QValueList<int> size = sizes (); +<a name="l00119"></a>00119 TQValueList<int> size = sizes (); <a name="l00120"></a>00120 config->writeEntry (<span class="stringliteral">"sizeaccounts"</span>, size [0]); <a name="l00121"></a>00121 config->writeEntry (<span class="stringliteral">"sizemessages"</span>, size [1]); <a name="l00122"></a>00122 <span class="comment">// layout</span> @@ -142,7 +142,7 @@ <a name="l00125"></a>00125 } <a name="l00126"></a>00126 <a name="l00127"></a>00127 -<a name="l00128"></a><a class="code" href="classKshowmailView.html#877ac2a28b5a126946199642842a8039">00128</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#877ac2a28b5a126946199642842a8039">KshowmailView::slotMessageContext</a>( QListViewItem* pItem, <span class="keyword">const</span> QPoint&, <span class="keywordtype">int</span> ) +<a name="l00128"></a><a class="code" href="classKshowmailView.html#877ac2a28b5a126946199642842a8039">00128</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#877ac2a28b5a126946199642842a8039">KshowmailView::slotMessageContext</a>( TQListViewItem* pItem, <span class="keyword">const</span> TQPoint&, <span class="keywordtype">int</span> ) <a name="l00129"></a>00129 { <a name="l00130"></a>00130 <span class="keywordflow">if</span>( pItem != NULL ) <a name="l00131"></a>00131 { @@ -150,16 +150,16 @@ <a name="l00133"></a>00133 <a class="code" href="classKShowMailApp.html">KShowMailApp</a>* theApp = ( <a class="code" href="classKShowMailApp.html">KShowMailApp</a> * )parentWidget(); <a name="l00134"></a>00134 <a name="l00135"></a>00135 <span class="comment">//create and show popup menu</span> -<a name="l00136"></a>00136 QWidget* w = theApp->factory()->container( <span class="stringliteral">"mail_context_popup"</span>, theApp ); -<a name="l00137"></a>00137 QPopupMenu* popup = static_cast<QPopupMenu*>( w ); -<a name="l00138"></a>00138 popup->exec( QCursor::pos() ); +<a name="l00136"></a>00136 TQWidget* w = theApp->factory()->container( <span class="stringliteral">"mail_context_popup"</span>, theApp ); +<a name="l00137"></a>00137 TQPopupMenu* popup = static_cast<TQPopupMenu*>( w ); +<a name="l00138"></a>00138 popup->exec( TQCursor::pos() ); <a name="l00139"></a>00139 <a name="l00140"></a>00140 <span class="comment">//select clicked item</span> <a name="l00141"></a>00141 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->setSelected (pItem, <span class="keyword">true</span>); <a name="l00142"></a>00142 } <a name="l00143"></a>00143 } <a name="l00144"></a>00144 -<a name="l00145"></a><a class="code" href="classKshowmailView.html#8635cb9ee8e7859f9b78ced5378c668d">00145</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#8635cb9ee8e7859f9b78ced5378c668d">KshowmailView::slotAccountContext</a>( QListViewItem* pItem, <span class="keyword">const</span> QPoint&, <span class="keywordtype">int</span> ) +<a name="l00145"></a><a class="code" href="classKshowmailView.html#8635cb9ee8e7859f9b78ced5378c668d">00145</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#8635cb9ee8e7859f9b78ced5378c668d">KshowmailView::slotAccountContext</a>( TQListViewItem* pItem, <span class="keyword">const</span> TQPoint&, <span class="keywordtype">int</span> ) <a name="l00146"></a>00146 { <a name="l00147"></a>00147 <span class="keywordflow">if</span> ( pItem != NULL ) <a name="l00148"></a>00148 { @@ -167,16 +167,16 @@ <a name="l00150"></a>00150 <a class="code" href="classKShowMailApp.html">KShowMailApp</a>* theApp = ( <a class="code" href="classKShowMailApp.html">KShowMailApp</a> * )parentWidget(); <a name="l00151"></a>00151 <a name="l00152"></a>00152 <span class="comment">//create and show popup menu</span> -<a name="l00153"></a>00153 QWidget* w = theApp->factory()->container( <span class="stringliteral">"account_context_popup"</span>, theApp ); -<a name="l00154"></a>00154 QPopupMenu* popup = static_cast<QPopupMenu*>( w ); -<a name="l00155"></a>00155 popup->exec( QCursor::pos() ); +<a name="l00153"></a>00153 TQWidget* w = theApp->factory()->container( <span class="stringliteral">"account_context_popup"</span>, theApp ); +<a name="l00154"></a>00154 TQPopupMenu* popup = static_cast<TQPopupMenu*>( w ); +<a name="l00155"></a>00155 popup->exec( TQCursor::pos() ); <a name="l00156"></a>00156 <a name="l00157"></a>00157 <span class="comment">//select clicked item</span> <a name="l00158"></a>00158 <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>->setSelected( pItem, <span class="keyword">true</span> ); <a name="l00159"></a>00159 } <a name="l00160"></a>00160 } <a name="l00161"></a>00161 -<a name="l00162"></a><a class="code" href="classKshowmailView.html#49db2d15dcecf0ad09fed9565d506138">00162</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#49db2d15dcecf0ad09fed9565d506138">KshowmailView::slotAccountClicked</a> (QListViewItem* pItem, <span class="keyword">const</span> QPoint&, <span class="keywordtype">int</span> col) +<a name="l00162"></a><a class="code" href="classKshowmailView.html#49db2d15dcecf0ad09fed9565d506138">00162</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#49db2d15dcecf0ad09fed9565d506138">KshowmailView::slotAccountClicked</a> (TQListViewItem* pItem, <span class="keyword">const</span> TQPoint&, <span class="keywordtype">int</span> col) <a name="l00163"></a>00163 { <a name="l00164"></a>00164 <span class="keywordflow">if</span> (col == 0) <a name="l00165"></a>00165 { @@ -194,7 +194,7 @@ <a name="l00177"></a>00177 } <a name="l00178"></a>00178 } <a name="l00179"></a>00179 -<a name="l00180"></a><a class="code" href="classKshowmailView.html#5d39dff853dab5efb5eecba7e8237d9a">00180</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#5d39dff853dab5efb5eecba7e8237d9a">KshowmailView::slotMessageDoubleClicked</a> (QListViewItem* pItem) +<a name="l00180"></a><a class="code" href="classKshowmailView.html#5d39dff853dab5efb5eecba7e8237d9a">00180</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#5d39dff853dab5efb5eecba7e8237d9a">KshowmailView::slotMessageDoubleClicked</a> (TQListViewItem* pItem) <a name="l00181"></a>00181 { <a name="l00182"></a>00182 <span class="keywordflow">if</span> (pItem) <a name="l00183"></a>00183 { @@ -205,7 +205,7 @@ <a name="l00188"></a>00188 } <a name="l00189"></a>00189 } <a name="l00190"></a>00190 -<a name="l00191"></a><a class="code" href="classKshowmailView.html#2fc28b0734bd9b2af83a7a9a23875ed3">00191</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#2fc28b0734bd9b2af83a7a9a23875ed3">KshowmailView::slotMessageClicked</a> (QListViewItem* pItem) +<a name="l00191"></a><a class="code" href="classKshowmailView.html#2fc28b0734bd9b2af83a7a9a23875ed3">00191</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#2fc28b0734bd9b2af83a7a9a23875ed3">KshowmailView::slotMessageClicked</a> (TQListViewItem* pItem) <a name="l00192"></a>00192 { <a name="l00193"></a>00193 kdDebug () << <span class="stringliteral">"slotMessageClicked"</span> << endl; <a name="l00194"></a>00194 <span class="keywordflow">if</span> (pItem) @@ -222,7 +222,7 @@ <a name="l00205"></a>00205 <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>->clear(); <a name="l00206"></a>00206 } <a name="l00207"></a>00207 -<a name="l00208"></a><a class="code" href="classKshowmailView.html#8330c6f139457ae5dd1510efb3f665e4">00208</a> <a class="code" href="classShowListViewItem.html">ShowListViewItem</a>* <a class="code" href="classKshowmailView.html#8330c6f139457ae5dd1510efb3f665e4">KshowmailView::insertMail</a>( QString& number, QString& account, QString& from, QString& to, QString& subject, QString& date, QString& size, QString& content, QString& state, QString& time ) +<a name="l00208"></a><a class="code" href="classKshowmailView.html#8330c6f139457ae5dd1510efb3f665e4">00208</a> <a class="code" href="classShowListViewItem.html">ShowListViewItem</a>* <a class="code" href="classKshowmailView.html#8330c6f139457ae5dd1510efb3f665e4">KshowmailView::insertMail</a>( TQString& number, TQString& account, TQString& from, TQString& to, TQString& subject, TQString& date, TQString& size, TQString& content, TQString& state, TQString& time ) <a name="l00209"></a>00209 { <a name="l00210"></a>00210 <span class="comment">//create item</span> <a name="l00211"></a>00211 <a class="code" href="classShowListViewItem.html">ShowListViewItem</a>* item = <span class="keyword">new</span> <a class="code" href="classShowListViewItem.html">ShowListViewItem</a>( <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a> ); @@ -244,8 +244,8 @@ <a name="l00227"></a>00227 <a name="l00228"></a><a class="code" href="classKshowmailView.html#4fde61960c62edd44d8eb88a82360a2a">00228</a> <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#4fde61960c62edd44d8eb88a82360a2a">KshowmailView::refreshSetup</a>( ) <a name="l00229"></a>00229 { -<a name="l00230"></a>00230 QString ConfigEntryDisplay; <span class="comment">//entry of the config about show or hide column</span> -<a name="l00231"></a>00231 QString ConfigEntrySavedWidth; <span class="comment">//entry of the config about saved width</span> +<a name="l00230"></a>00230 TQString ConfigEntryDisplay; <span class="comment">//entry of the config about show or hide column</span> +<a name="l00231"></a>00231 TQString ConfigEntrySavedWidth; <span class="comment">//entry of the config about saved width</span> <a name="l00232"></a>00232 <span class="keywordtype">int</span> DefaultWidth = 100; <span class="comment">//default width of the proceeded column</span> <a name="l00233"></a>00233 <span class="keywordtype">bool</span> DefaultDisplay = <span class="keyword">true</span>; <span class="comment">//default show or hide of the proceeded column</span> <a name="l00234"></a>00234 |