You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kshowmail/doc/html/kshowmailview_8h-source.html

115 lines
11 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>kshowmail.kdevelop: Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/kshowmailview.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="classes.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="dir_4c3e996e4ea01e6106d6ef3aca55c519.html">Daten</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_eb9956c7aa0624228561e224b45aacad.html">Documents</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_cf56118a1054db7be5b5087f628656ea.html">programmieren</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_c781d53ee57665ea2fc7bb307e109f21.html">kshowmail</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_741aef7887f9b78088ef0c30f6686ad1.html">kshowmail</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_656923b733374505e0e2f68ecb68d952.html">kshowmail</a></div>
<h1>kshowmailview.h</h1><a href="kshowmailview_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> kshowmailview.h - description</span>
<a name="l00003"></a>00003 <span class="comment"> -------------------</span>
<a name="l00004"></a>00004 <span class="comment"> begin : Sat May 6 12:13:57 MEST 2000</span>
<a name="l00005"></a>00005 <span class="comment"> copyright : (C) 2000-2001 by Eggert Ehmke</span>
<a name="l00006"></a>00006 <span class="comment"> email : eggert.ehmke@berlin.de</span>
<a name="l00007"></a>00007 <span class="comment"></span>
<a name="l00008"></a>00008 <span class="comment"> 26 Sep 2002 - Allow for columns to be hidden. Allistar Melville</span>
<a name="l00009"></a>00009 <span class="comment"> ***************************************************************************/</span>
<a name="l00010"></a>00010
<a name="l00011"></a>00011 <span class="comment">/***************************************************************************</span>
<a name="l00012"></a>00012 <span class="comment"> * *</span>
<a name="l00013"></a>00013 <span class="comment"> * This program is free software; you can redistribute it and/or modify *</span>
<a name="l00014"></a>00014 <span class="comment"> * it under the terms of the GNU General Public License as published by *</span>
<a name="l00015"></a>00015 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or *</span>
<a name="l00016"></a>00016 <span class="comment"> * (at your option) any later version. *</span>
<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="preprocessor">#ifndef KSHOWMAILVIEW_H</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define KSHOWMAILVIEW_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#ifdef HAVE_CONFIG_H</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#include &lt;<a class="code" href="config_8h.html">config.h</a>&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#endif</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 <span class="comment">//Qt headers</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;qwidget.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;qsplitter.h&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;qcursor.h&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;qpopupmenu.h&gt;</span>
<a name="l00032"></a>00032
<a name="l00033"></a>00033 <span class="comment">//KDE headers</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;klistview.h&gt;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;kconfig.h&gt;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;kapplication.h&gt;</span>
<a name="l00037"></a>00037
<a name="l00038"></a>00038 <span class="comment">//KShowmail headers</span>
<a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="configlist_8h.html">configlist.h</a>"</span>
<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="showlistviewitem_8h.html">showlistviewitem.h</a>"</span>
<a name="l00041"></a>00041
<a name="l00042"></a>00042
<a name="l00043"></a>00043
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="classConfigList.html">ConfigList</a>;
<a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="classKshowmailDoc.html">KshowmailDoc</a>;
<a name="l00046"></a>00046
<a name="l00057"></a><a class="code" href="classKshowmailView.html">00057</a> <span class="keyword">class </span><a class="code" href="classKshowmailView.html">KshowmailView</a> : <span class="keyword">public</span> QSplitter
<a name="l00058"></a>00058 {
<a name="l00059"></a>00059 Q_OBJECT
<a name="l00060"></a>00060 <span class="keyword">public</span>:
<a name="l00062"></a>00062 <a class="code" href="classKshowmailView.html#6c0f3a139aba59b618178cffec9fdbf4">KshowmailView</a>(QWidget *parent = 0, <span class="keyword">const</span> <span class="keywordtype">char</span> *name=0);
<a name="l00064"></a>00064 <a class="code" href="classKshowmailView.html#208c56da5fe95348bd13435ff44c8aae">~KshowmailView</a>();
<a name="l00065"></a>00065 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#53d81f575c855870a8112ec67ade5575">saveOptions</a> (KConfig* <a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a>);
<a name="l00066"></a>00066
<a name="l00067"></a><a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">00067</a> KListView* <a class="code" href="classKshowmailView.html#2ba6c19f2ac544b028934170d6443aad">m_pListAccounts</a>;
<a name="l00068"></a><a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">00068</a> KListView* <a class="code" href="classKshowmailView.html#a319aa36e7f38a92d8691742ad52be6b">m_pListMessages</a>;
<a name="l00069"></a>00069
<a name="l00073"></a>00073 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#5cc4e2c1caaf6fae6af80b068aada95e">clearMailListView</a>();
<a name="l00074"></a>00074
<a name="l00090"></a>00090 <a class="code" href="classShowListViewItem.html">ShowListViewItem</a>* <a class="code" href="classKshowmailView.html#8330c6f139457ae5dd1510efb3f665e4">insertMail</a>( QString&amp; number, QString&amp; account, QString&amp; from, QString&amp; to, QString&amp; subject, QString&amp; date, QString&amp; size, QString&amp; content, QString&amp; state, QString&amp; time );
<a name="l00091"></a>00091
<a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#4fde61960c62edd44d8eb88a82360a2a">refreshSetup</a>();
<a name="l00099"></a>00099
<a name="l00100"></a>00100 <span class="keyword">private</span>:
<a name="l00101"></a>00101
<a name="l00102"></a><a class="code" href="classKshowmailView.html#ac2789d0c2b897f4a9589c21a8eae2eb">00102</a> QPixmap* <a class="code" href="classKshowmailView.html#ac2789d0c2b897f4a9589c21a8eae2eb">m_pixOk</a>;
<a name="l00103"></a>00103
<a name="l00107"></a><a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">00107</a> KConfig* config;
<a name="l00108"></a>00108
<a name="l00112"></a>00112 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#ff3699740af2b58e299bc4b2326cad20">readOptions</a>();
<a name="l00113"></a>00113
<a name="l00114"></a>00114 <span class="keyword">private</span> slots:
<a name="l00115"></a>00115
<a name="l00122"></a>00122 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#877ac2a28b5a126946199642842a8039">slotMessageContext</a>( QListViewItem*, <span class="keyword">const</span> QPoint&amp;, <span class="keywordtype">int</span> );
<a name="l00123"></a>00123
<a name="l00124"></a>00124 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#5d39dff853dab5efb5eecba7e8237d9a">slotMessageDoubleClicked</a> (QListViewItem*);
<a name="l00125"></a>00125 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#2fc28b0734bd9b2af83a7a9a23875ed3">slotMessageClicked</a> (QListViewItem*);
<a name="l00126"></a>00126
<a name="l00133"></a>00133 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#8635cb9ee8e7859f9b78ced5378c668d">slotAccountContext</a>( QListViewItem*, <span class="keyword">const</span> QPoint &amp;, <span class="keywordtype">int</span> );
<a name="l00134"></a>00134
<a name="l00139"></a>00139 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#49db2d15dcecf0ad09fed9565d506138">slotAccountClicked</a>( QListViewItem*, <span class="keyword">const</span> QPoint&amp; point, <span class="keywordtype">int</span> col );
<a name="l00140"></a>00140
<a name="l00141"></a>00141 signals:
<a name="l00142"></a>00142 <span class="keywordtype">void</span> <a class="code" href="classKshowmailView.html#6fb6da4d1c23d42efe9118748b19b0f8">signalActiveChanged</a> ();
<a name="l00143"></a>00143 };
<a name="l00144"></a>00144
<a name="l00145"></a>00145 <span class="preprocessor">#endif // KSHOWMAILVIEW_H</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 1 21:59:49 2008 for kshowmail.kdevelop by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
</body>
</html>