summaryrefslogtreecommitdiffstats
path: root/doc/html/kshowmaildock_8cpp-source.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:59:03 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:59:03 -0500
commit9c02dbb59ce57c68dc177d9294b980bf114a3e11 (patch)
treeb1b40423c9be9a42a97cd0e8f3af3139aefb6fa0 /doc/html/kshowmaildock_8cpp-source.html
parent0b875800e452c97b1a3f25aba5f029a8c33a4b93 (diff)
downloadkshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.tar.gz
kshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.zip
Update to TDE R14 API
Diffstat (limited to 'doc/html/kshowmaildock_8cpp-source.html')
-rw-r--r--doc/html/kshowmaildock_8cpp-source.html44
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/html/kshowmaildock_8cpp-source.html b/doc/html/kshowmaildock_8cpp-source.html
index 26d1bb2..e440781 100644
--- a/doc/html/kshowmaildock_8cpp-source.html
+++ b/doc/html/kshowmaildock_8cpp-source.html
@@ -32,26 +32,26 @@
<a name="l00015"></a>00015 <span class="comment"> * *</span>
<a name="l00016"></a>00016 <span class="comment"> ***************************************************************************/</span>
<a name="l00017"></a>00017
-<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;qpixmap.h&gt;</span>
-<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;qpainter.h&gt;</span>
-<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;qtooltip.h&gt;</span>
+<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;ntqpixmap.h&gt;</span>
+<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;ntqpainter.h&gt;</span>
+<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;ntqtooltip.h&gt;</span>
<a name="l00021"></a>00021
-<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;kpopupmenu.h&gt;</span>
+<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;tdepopupmenu.h&gt;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;kstandarddirs.h&gt;</span>
-<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;kglobalsettings.h&gt;</span>
-<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;klocale.h&gt;</span>
+<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;tdeglobalsettings.h&gt;</span>
+<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;tdelocale.h&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;kdebug.h&gt;</span>
<a name="l00027"></a>00027
<a name="l00028"></a>00028 <span class="preprocessor">#include "kshowmail.h"</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include "kshowmaildock.h"</span>
<a name="l00030"></a>00030
-<a name="l00031"></a><a class="code" href="classKShowMailDock.html#15d2f2f49e443745b1986d23c1a08df5">00031</a> <a class="code" href="classKShowMailDock.html#15d2f2f49e443745b1986d23c1a08df5">KShowMailDock::KShowMailDock</a>(QWidget* parent, KAction *actionRefresh )
+<a name="l00031"></a><a class="code" href="classKShowMailDock.html#15d2f2f49e443745b1986d23c1a08df5">00031</a> <a class="code" href="classKShowMailDock.html#15d2f2f49e443745b1986d23c1a08df5">KShowMailDock::KShowMailDock</a>(TQWidget* parent, TDEAction *actionRefresh )
<a name="l00032"></a>00032 : KSystemTray (parent, 0),
-<a name="l00033"></a>00033 m_background (QPixmap(::locate (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/pics/kshowmail24.png"</span>)))
+<a name="l00033"></a>00033 m_background (TQPixmap(::locate (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/pics/kshowmail24.png"</span>)))
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 <span class="comment">// kdDebug () &lt;&lt; "KShowMailDock::KShowMailDock" &lt;&lt; endl;</span>
-<a name="l00036"></a>00036 <a class="code" href="classKShowMailDock.html#c09e902133a084b547bdd29646a759b4">drawText</a> (<span class="stringliteral">"?"</span>, Qt::red);
-<a name="l00037"></a>00037 QToolTip::add (<span class="keyword">this</span>, i18n(<span class="stringliteral">"KShowmail: a powerful pop3 email checker"</span>));
+<a name="l00036"></a>00036 <a class="code" href="classKShowMailDock.html#c09e902133a084b547bdd29646a759b4">drawText</a> (<span class="stringliteral">"?"</span>, TQt::red);
+<a name="l00037"></a>00037 TQToolTip::add (<span class="keyword">this</span>, i18n(<span class="stringliteral">"KShowmail: a powerful pop3 email checker"</span>));
<a name="l00038"></a>00038
<a name="l00039"></a>00039 show();
<a name="l00040"></a>00040
@@ -61,33 +61,33 @@
<a name="l00044"></a>00044 connect (contextMenu(),SIGNAL(highlighted(<span class="keywordtype">int</span>)),<span class="keyword">this</span>, SIGNAL(<a class="code" href="classKShowMailDock.html#ee1e61dcbf2fb183c309c0637ceb23e2">sigHighlighted</a>(<span class="keywordtype">int</span>)));
<a name="l00045"></a>00045 }
<a name="l00046"></a>00046
-<a name="l00047"></a><a class="code" href="classKShowMailDock.html#c09e902133a084b547bdd29646a759b4">00047</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailDock.html#c09e902133a084b547bdd29646a759b4">KShowMailDock::drawText</a> (<span class="keyword">const</span> QString str, <span class="keyword">const</span> QColor&amp; color)
+<a name="l00047"></a><a class="code" href="classKShowMailDock.html#c09e902133a084b547bdd29646a759b4">00047</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailDock.html#c09e902133a084b547bdd29646a759b4">KShowMailDock::drawText</a> (<span class="keyword">const</span> TQString str, <span class="keyword">const</span> TQColor&amp; color)
<a name="l00048"></a>00048 {
<a name="l00049"></a>00049 setPixmap (<a class="code" href="classKShowMailDock.html#3535a9e1ca33dce759bb066463879976">m_background</a>);
-<a name="l00050"></a>00050 QPixmap* pix = pixmap ();
+<a name="l00050"></a>00050 TQPixmap* pix = pixmap ();
<a name="l00051"></a>00051 <span class="keywordflow">if</span> (pix &amp;&amp; !pix-&gt;isNull ())
<a name="l00052"></a>00052 {
-<a name="l00053"></a>00053 QPainter p (pix);
-<a name="l00054"></a>00054 <span class="comment">// p.setFont (KGlobalSettings::toolBarFont());</span>
-<a name="l00055"></a>00055 p.setFont (KGlobalSettings::windowTitleFont());
+<a name="l00053"></a>00053 TQPainter p (pix);
+<a name="l00054"></a>00054 <span class="comment">// p.setFont (TDEGlobalSettings::toolBarFont());</span>
+<a name="l00055"></a>00055 p.setFont (TDEGlobalSettings::windowTitleFont());
<a name="l00056"></a>00056 p.setPen (color);
-<a name="l00057"></a>00057 p.drawText (0,0,24,24,QPainter::AlignCenter,str,str.length());
+<a name="l00057"></a>00057 p.drawText (0,0,24,24,TQPainter::AlignCenter,str,str.length());
<a name="l00058"></a>00058 }
<a name="l00059"></a>00059 <span class="keywordflow">else</span>
<a name="l00060"></a>00060 kdError () &lt;&lt; <span class="stringliteral">"No pixmap for traybar !"</span> &lt;&lt; endl;
<a name="l00061"></a>00061 }
<a name="l00062"></a>00062
-<a name="l00063"></a><a class="code" href="classKShowMailDock.html#c7a2ffc8a1356b33c3a71a8e1dcb08e5">00063</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailDock.html#c7a2ffc8a1356b33c3a71a8e1dcb08e5">KShowMailDock::drawNumber</a> (<span class="keywordtype">int</span> n, <span class="keyword">const</span> QColor&amp; color)
+<a name="l00063"></a><a class="code" href="classKShowMailDock.html#c7a2ffc8a1356b33c3a71a8e1dcb08e5">00063</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailDock.html#c7a2ffc8a1356b33c3a71a8e1dcb08e5">KShowMailDock::drawNumber</a> (<span class="keywordtype">int</span> n, <span class="keyword">const</span> TQColor&amp; color)
<a name="l00064"></a>00064 {
<a name="l00065"></a>00065 setPixmap (<a class="code" href="classKShowMailDock.html#3535a9e1ca33dce759bb066463879976">m_background</a>);
-<a name="l00066"></a>00066 QPixmap* pix = pixmap ();
+<a name="l00066"></a>00066 TQPixmap* pix = pixmap ();
<a name="l00067"></a>00067 <span class="keywordflow">if</span> (pix &amp;&amp; !pix-&gt;isNull ())
<a name="l00068"></a>00068 {
-<a name="l00069"></a>00069 QString num (QString::number(n));
-<a name="l00070"></a>00070 QPainter p (pix);
-<a name="l00071"></a>00071 p.setFont (KGlobalSettings::toolBarFont());
+<a name="l00069"></a>00069 TQString num (TQString::number(n));
+<a name="l00070"></a>00070 TQPainter p (pix);
+<a name="l00071"></a>00071 p.setFont (TDEGlobalSettings::toolBarFont());
<a name="l00072"></a>00072 p.setPen (color);
-<a name="l00073"></a>00073 p.drawText (0,0,24,24,QPainter::AlignCenter,num,num.length());
+<a name="l00073"></a>00073 p.drawText (0,0,24,24,TQPainter::AlignCenter,num,num.length());
<a name="l00074"></a>00074 }
<a name="l00075"></a>00075 <span class="keywordflow">else</span>
<a name="l00076"></a>00076 kdError () &lt;&lt; <span class="stringliteral">"No pixmap for traybar !"</span> &lt;&lt; endl;