diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:59:03 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:59:03 -0500 |
commit | 9c02dbb59ce57c68dc177d9294b980bf114a3e11 (patch) | |
tree | b1b40423c9be9a42a97cd0e8f3af3139aefb6fa0 /doc/html/commandlist_8cpp-source.html | |
parent | 0b875800e452c97b1a3f25aba5f029a8c33a4b93 (diff) | |
download | kshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.tar.gz kshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.zip |
Update to TDE R14 API
Diffstat (limited to 'doc/html/commandlist_8cpp-source.html')
-rw-r--r-- | doc/html/commandlist_8cpp-source.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/commandlist_8cpp-source.html b/doc/html/commandlist_8cpp-source.html index 913d2df..6c71e79 100644 --- a/doc/html/commandlist_8cpp-source.html +++ b/doc/html/commandlist_8cpp-source.html @@ -45,7 +45,7 @@ <a name="l00028"></a>00028 { <a name="l00029"></a>00029 } <a name="l00030"></a>00030 -<a name="l00031"></a><a class="code" href="classCommandList.html#e5a8632fb53943a8ec5b8edfa268e668">00031</a> <span class="keywordtype">void</span> <a class="code" href="classCommandList.html#e5a8632fb53943a8ec5b8edfa268e668">CommandList::setCombo</a> (QComboBox* combo, <span class="keywordtype">int</span> nIndex) +<a name="l00031"></a><a class="code" href="classCommandList.html#e5a8632fb53943a8ec5b8edfa268e668">00031</a> <span class="keywordtype">void</span> <a class="code" href="classCommandList.html#e5a8632fb53943a8ec5b8edfa268e668">CommandList::setCombo</a> (TQComboBox* combo, <span class="keywordtype">int</span> nIndex) <a name="l00032"></a>00032 { <a name="l00033"></a>00033 combo->clear (); <a name="l00034"></a>00034 <span class="keywordflow">for</span> (<a class="code" href="classCommandEntry.html">CommandEntry</a>* pElem = first(); pElem; pElem = next()) @@ -95,7 +95,7 @@ <a name="l00078"></a>00078 <span class="keywordflow">return</span> <span class="keyword">false</span>; <a name="l00079"></a>00079 } <a name="l00080"></a>00080 -<a name="l00081"></a><a class="code" href="classCommandList.html#75139c46235d0453af653bfaf9018a11">00081</a> <span class="keywordtype">int</span> <a class="code" href="classCommandList.html#75139c46235d0453af653bfaf9018a11">CommandList::compareItems</a> (QCollection::Item item1, QCollection::Item item2 ) +<a name="l00081"></a><a class="code" href="classCommandList.html#75139c46235d0453af653bfaf9018a11">00081</a> <span class="keywordtype">int</span> <a class="code" href="classCommandList.html#75139c46235d0453af653bfaf9018a11">CommandList::compareItems</a> (TQCollection::Item item1, TQCollection::Item item2 ) <a name="l00082"></a>00082 { <a name="l00083"></a>00083 <a class="code" href="classCommandEntry.html">CommandEntry</a>* entry1 = (<a class="code" href="classCommandEntry.html">CommandEntry</a>*) item1; <a name="l00084"></a>00084 <a class="code" href="classCommandEntry.html">CommandEntry</a>* entry2 = (<a class="code" href="classCommandEntry.html">CommandEntry</a>*) item2; @@ -106,24 +106,24 @@ <a name="l00089"></a>00089 <span class="keywordflow">else</span> <span class="keywordflow">return</span> -1; <a name="l00090"></a>00090 } <a name="l00091"></a>00091 -<a name="l00092"></a><a class="code" href="classCommandList.html#5037135701a78aadeebc9520df6abf2b">00092</a> QCollection::Item <a class="code" href="classCommandList.html#5037135701a78aadeebc9520df6abf2b">CommandList::newItem</a> (QCollection::Item d) +<a name="l00092"></a><a class="code" href="classCommandList.html#5037135701a78aadeebc9520df6abf2b">00092</a> TQCollection::Item <a class="code" href="classCommandList.html#5037135701a78aadeebc9520df6abf2b">CommandList::newItem</a> (TQCollection::Item d) <a name="l00093"></a>00093 { <a name="l00094"></a>00094 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classCommandEntry.html">CommandEntry</a> ((<a class="code" href="classCommandEntry.html">CommandEntry</a>*)d); <a name="l00095"></a>00095 } <a name="l00096"></a>00096 -<a name="l00097"></a><a class="code" href="classCommandList.html#154b13cfab656e47790f1f12f92401a4">00097</a> <span class="keywordtype">void</span> <a class="code" href="classCommandList.html#154b13cfab656e47790f1f12f92401a4">CommandList::readOptions</a> (KConfig* config) +<a name="l00097"></a><a class="code" href="classCommandList.html#154b13cfab656e47790f1f12f92401a4">00097</a> <span class="keywordtype">void</span> <a class="code" href="classCommandList.html#154b13cfab656e47790f1f12f92401a4">CommandList::readOptions</a> (TDEConfig* config) <a name="l00098"></a>00098 { <a name="l00099"></a>00099 config->setGroup (<span class="stringliteral">"usercommands"</span>); <a name="l00100"></a>00100 <span class="keywordtype">bool</span> goon = <span class="keyword">true</span>; <a name="l00101"></a>00101 <span class="keywordtype">int</span> i = 0; <a name="l00102"></a>00102 <span class="keywordflow">while</span> (goon) <a name="l00103"></a>00103 { -<a name="l00104"></a>00104 QString cmd (config->readEntry (QString (<span class="stringliteral">"cmd%1"</span>).arg(i))); +<a name="l00104"></a>00104 TQString cmd (config->readEntry (TQString (<span class="stringliteral">"cmd%1"</span>).arg(i))); <a name="l00105"></a>00105 <span class="keywordflow">if</span> (!cmd.isEmpty ()) <a name="l00106"></a>00106 { -<a name="l00107"></a>00107 QString path = config->readEntry (QString(<span class="stringliteral">"path%1"</span>).arg(i)); -<a name="l00108"></a>00108 <span class="keywordtype">int</span> <span class="keywordtype">id</span> = config->readNumEntry (QString(<span class="stringliteral">"id%1"</span>).arg(i)); -<a name="l00109"></a>00109 <span class="keywordtype">bool</span> modal = config->readBoolEntry (QString(<span class="stringliteral">"modal%1"</span>).arg(i), <span class="keyword">true</span>); +<a name="l00107"></a>00107 TQString path = config->readEntry (TQString(<span class="stringliteral">"path%1"</span>).arg(i)); +<a name="l00108"></a>00108 <span class="keywordtype">int</span> <span class="keywordtype">id</span> = config->readNumEntry (TQString(<span class="stringliteral">"id%1"</span>).arg(i)); +<a name="l00109"></a>00109 <span class="keywordtype">bool</span> modal = config->readBoolEntry (TQString(<span class="stringliteral">"modal%1"</span>).arg(i), <span class="keyword">true</span>); <a name="l00110"></a>00110 append (<span class="keyword">new</span> <a class="code" href="classCommandEntry.html">CommandEntry</a> (cmd, path, <span class="keywordtype">id</span>, modal)); <a name="l00111"></a>00111 i++; <a name="l00112"></a>00112 } @@ -134,16 +134,16 @@ <a name="l00117"></a>00117 at (0); <a name="l00118"></a>00118 } <a name="l00119"></a>00119 -<a name="l00120"></a><a class="code" href="classCommandList.html#49d6d504715977b9d20fbc931ab62641">00120</a> <span class="keywordtype">void</span> <a class="code" href="classCommandList.html#49d6d504715977b9d20fbc931ab62641">CommandList::saveOptions</a> (KConfig* config) +<a name="l00120"></a><a class="code" href="classCommandList.html#49d6d504715977b9d20fbc931ab62641">00120</a> <span class="keywordtype">void</span> <a class="code" href="classCommandList.html#49d6d504715977b9d20fbc931ab62641">CommandList::saveOptions</a> (TDEConfig* config) <a name="l00121"></a>00121 { <a name="l00122"></a>00122 kdDebug () << <span class="stringliteral">"CommandList::saveOptions"</span> << endl; <a name="l00123"></a>00123 config->setGroup (<span class="stringliteral">"usercommands"</span>); <a name="l00124"></a>00124 <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < count (); i++) <a name="l00125"></a>00125 { -<a name="l00126"></a>00126 config->writeEntry (QString(<span class="stringliteral">"cmd%1"</span>).arg(i), at(i)->m_name); -<a name="l00127"></a>00127 config->writeEntry (QString(<span class="stringliteral">"path%1"</span>).arg(i), at(i)->m_path); -<a name="l00128"></a>00128 config->writeEntry (QString(<span class="stringliteral">"id%1"</span>).arg(i), at(i)->m_id); -<a name="l00129"></a>00129 config->writeEntry (QString(<span class="stringliteral">"modal%1"</span>).arg(i), at(i)->m_waitForCommand); +<a name="l00126"></a>00126 config->writeEntry (TQString(<span class="stringliteral">"cmd%1"</span>).arg(i), at(i)->m_name); +<a name="l00127"></a>00127 config->writeEntry (TQString(<span class="stringliteral">"path%1"</span>).arg(i), at(i)->m_path); +<a name="l00128"></a>00128 config->writeEntry (TQString(<span class="stringliteral">"id%1"</span>).arg(i), at(i)->m_id); +<a name="l00129"></a>00129 config->writeEntry (TQString(<span class="stringliteral">"modal%1"</span>).arg(i), at(i)->m_waitForCommand); <a name="l00130"></a>00130 } <a name="l00131"></a>00131 } </pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 16 21:15:18 2007 for kshowmail by |