summaryrefslogtreecommitdiffabout
path: root/kmicromail/mainwindow.cpp
Unidiff
Diffstat (limited to 'kmicromail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mainwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp
index 4115276..98eb9a5 100644
--- a/kmicromail/mainwindow.cpp
+++ b/kmicromail/mainwindow.cpp
@@ -1,308 +1,312 @@
1 1
2// CHANGED 2004-08-06 Lutz Rogowski 2// CHANGED 2004-08-06 Lutz Rogowski
3#include <qlabel.h> 3#include <qlabel.h>
4#include <qvbox.h> 4#include <qvbox.h>
5#include <qheader.h> 5#include <qheader.h>
6#include <qtimer.h> 6#include <qtimer.h>
7#include <qlayout.h> 7#include <qlayout.h>
8//#include <kdialog.h> 8//#include <kdialog.h>
9#include <kiconloader.h> 9#include <kiconloader.h>
10#include <kapplication.h> 10#include <kapplication.h>
11 11
12#ifdef DESKTOP_VERSION 12#ifdef DESKTOP_VERSION
13#include <qapplication.h> 13#include <qapplication.h>
14#include <qstatusbar.h>
15extern QStatusBar* globalSstatusBarMainWindow;
14#else 16#else
15#include <qpe/qpeapplication.h> 17#include <qpe/qpeapplication.h>
16#endif 18#endif
17#include "defines.h" 19#include "defines.h"
18#include "mainwindow.h" 20#include "mainwindow.h"
19#include <KDGanttMinimizeSplitter.h> 21#include <KDGanttMinimizeSplitter.h>
20 22
21
22#include <kabc/stdaddressbook.h> 23#include <kabc/stdaddressbook.h>
23 24
24MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) 25MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
25 : QMainWindow( parent, name ) //, flags ) 26 : QMainWindow( parent, name ) //, flags )
26{ 27{
28#ifdef DESKTOP_VERSION
29 globalSstatusBarMainWindow = statusBar();
30#endif
27 setCaption( i18n( "KOpieMail/Pi" ) ); 31 setCaption( i18n( "KOpieMail/Pi" ) );
28 setToolBarsMovable( false ); 32 setToolBarsMovable( false );
29 //KABC::StdAddressBook::self(); 33 //KABC::StdAddressBook::self();
30 toolBar = new QToolBar( this ); 34 toolBar = new QToolBar( this );
31 menuBar = new QPEMenuBar( toolBar ); 35 menuBar = new QPEMenuBar( toolBar );
32 mailMenu = new QPopupMenu( menuBar ); 36 mailMenu = new QPopupMenu( menuBar );
33 menuBar->insertItem( i18n( "Mail" ), mailMenu ); 37 menuBar->insertItem( i18n( "Mail" ), mailMenu );
34 settingsMenu = new QPopupMenu( menuBar ); 38 settingsMenu = new QPopupMenu( menuBar );
35 menuBar->insertItem( i18n( "Settings" ), settingsMenu ); 39 menuBar->insertItem( i18n( "Settings" ), settingsMenu );
36 40
37 addToolBar( toolBar ); 41 addToolBar( toolBar );
38 toolBar->setHorizontalStretchable( true ); 42 toolBar->setHorizontalStretchable( true );
39 QAction* getMail = new QAction( i18n( "Get all new mails" ), SmallIcon("enter"), 43 QAction* getMail = new QAction( i18n( "Get all new mails" ), SmallIcon("enter"),
40 0, 0, this ); 44 0, 0, this );
41 connect(getMail, SIGNAL( activated() ), 45 connect(getMail, SIGNAL( activated() ),
42 SLOT( slotGetAllMail() ) ); 46 SLOT( slotGetAllMail() ) );
43 getMail->addTo( mailMenu ); 47 getMail->addTo( mailMenu );
44 48
45 getMail = new QAction( i18n( "Get new messages" ), SmallIcon("add"), 49 getMail = new QAction( i18n( "Get new messages" ), SmallIcon("add"),
46 0, 0, this ); 50 0, 0, this );
47 getMail->addTo( toolBar ); 51 getMail->addTo( toolBar );
48 getMail->addTo( mailMenu ); 52 getMail->addTo( mailMenu );
49 connect(getMail, SIGNAL( activated() ), 53 connect(getMail, SIGNAL( activated() ),
50 SLOT( slotGetMail() ) ); 54 SLOT( slotGetMail() ) );
51 55
52 composeMail = new QAction( i18n( "Compose new mail" ), SmallIcon("composemail"), 56 composeMail = new QAction( i18n( "Compose new mail" ), SmallIcon("composemail"),
53 0, 0, this ); 57 0, 0, this );
54 composeMail->addTo( toolBar ); 58 composeMail->addTo( toolBar );
55 composeMail->addTo( mailMenu ); 59 composeMail->addTo( mailMenu );
56 60
57 sendQueued = new QAction( i18n( "Send queued mails" ), SmallIcon("sendqueued") , 61 sendQueued = new QAction( i18n( "Send queued mails" ), SmallIcon("sendqueued") ,
58 0, 0, this ); 62 0, 0, this );
59 sendQueued->addTo( toolBar ); 63 sendQueued->addTo( toolBar );
60 sendQueued->addTo( mailMenu ); 64 sendQueued->addTo( mailMenu );
61 65
62 /* 66 /*
63 syncFolders = new QAction( i18n( "Sync mailfolders" ), ICON_SYNC, 67 syncFolders = new QAction( i18n( "Sync mailfolders" ), ICON_SYNC,
64 0, 0, this ); 68 0, 0, this );
65 syncFolders->addTo( toolBar ); 69 syncFolders->addTo( toolBar );
66 syncFolders->addTo( mailMenu ); 70 syncFolders->addTo( mailMenu );
67 */ 71 */
68 72
69 showFolders = new QAction( i18n( "Show/Hide folders" ), SmallIcon("showfolders") , 73 showFolders = new QAction( i18n( "Show/Hide folders" ), SmallIcon("showfolders") ,
70 0, 0, this, 0, true ); 74 0, 0, this, 0, true );
71 showFolders->addTo( toolBar ); 75 showFolders->addTo( toolBar );
72 showFolders->addTo( mailMenu ); 76 showFolders->addTo( mailMenu );
73 showFolders->setOn( true ); 77 showFolders->setOn( true );
74 connect(showFolders, SIGNAL( toggled(bool) ), 78 connect(showFolders, SIGNAL( toggled(bool) ),
75 SLOT( slotShowFolders(bool) ) ); 79 SLOT( slotShowFolders(bool) ) );
76 80
77 /* 81 /*
78 searchMails = new QAction( i18n( "Search mails" ), SmallIcon("find") ), 82 searchMails = new QAction( i18n( "Search mails" ), SmallIcon("find") ),
79 0, 0, this ); 83 0, 0, this );
80 searchMails->addTo( toolBar ); 84 searchMails->addTo( toolBar );
81 searchMails->addTo( mailMenu ); 85 searchMails->addTo( mailMenu );
82 */ 86 */
83 87
84 deleteMails = new QAction(i18n("Delete Mail"), SmallIcon("trash"), 0, 0, this); 88 deleteMails = new QAction(i18n("Delete Mail"), SmallIcon("trash"), 0, 0, this);
85 deleteMails->addTo( toolBar ); 89 deleteMails->addTo( toolBar );
86 deleteMails->addTo( mailMenu ); 90 deleteMails->addTo( mailMenu );
87 connect( deleteMails, SIGNAL( activated() ), 91 connect( deleteMails, SIGNAL( activated() ),
88 SLOT( slotDeleteMail() ) ); 92 SLOT( slotDeleteMail() ) );
89 93
90 editSettings = new QAction( i18n( "Edit settings" ), SmallIcon("SettingsIcon") , 94 editSettings = new QAction( i18n( "Edit settings" ), SmallIcon("SettingsIcon") ,
91 0, 0, this ); 95 0, 0, this );
92 editSettings->addTo( settingsMenu ); 96 editSettings->addTo( settingsMenu );
93 connect( editSettings, SIGNAL( activated() ), 97 connect( editSettings, SIGNAL( activated() ),
94 SLOT( slotEditSettings() ) ); 98 SLOT( slotEditSettings() ) );
95 editAccounts = new QAction( i18n( "Configure accounts" ), SmallIcon("editaccounts") , 99 editAccounts = new QAction( i18n( "Configure accounts" ), SmallIcon("editaccounts") ,
96 0, 0, this ); 100 0, 0, this );
97 editAccounts->addTo( settingsMenu ); 101 editAccounts->addTo( settingsMenu );
98 102
99 //setCentralWidget( view ); 103 //setCentralWidget( view );
100 104
101 QVBox* wrapperBox = new QVBox( this ); 105 QVBox* wrapperBox = new QVBox( this );
102 setCentralWidget( wrapperBox ); 106 setCentralWidget( wrapperBox );
103 107
104 // QWidget *view = new QWidget( wrapperBox ); 108 // QWidget *view = new QWidget( wrapperBox );
105 KDGanttMinimizeSplitter* split = new KDGanttMinimizeSplitter( Qt::Horizontal, wrapperBox); 109 KDGanttMinimizeSplitter* split = new KDGanttMinimizeSplitter( Qt::Horizontal, wrapperBox);
106 split->setMinimizeDirection( KDGanttMinimizeSplitter::Left); 110 split->setMinimizeDirection( KDGanttMinimizeSplitter::Left);
107 //layout = new QBoxLayout ( split, QBoxLayout::LeftToRight ); 111 //layout = new QBoxLayout ( split, QBoxLayout::LeftToRight );
108 112
109 folderView = new AccountView( split ); 113 folderView = new AccountView( split );
110 folderView->header()->hide(); 114 folderView->header()->hide();
111 folderView->setRootIsDecorated( false ); 115 folderView->setRootIsDecorated( false );
112 folderView->addColumn( i18n( "Mailbox" ) ); 116 folderView->addColumn( i18n( "Mailbox" ) );
113 117
114 //layout->addWidget( folderView ); 118 //layout->addWidget( folderView );
115 119
116 mailView = new QListView( split ); 120 mailView = new QListView( split );
117 mailView->addColumn( i18n( " " ) ); 121 mailView->addColumn( i18n( " " ) );
118 mailView->addColumn( i18n( "Subject" ),QListView::Manual ); 122 mailView->addColumn( i18n( "Subject" ),QListView::Manual );
119 mailView->addColumn( i18n( "Sender" ),QListView::Manual ); 123 mailView->addColumn( i18n( "Sender" ),QListView::Manual );
120 mailView->addColumn( i18n( "Size" ),QListView::Manual); 124 mailView->addColumn( i18n( "Size" ),QListView::Manual);
121 mailView->addColumn( i18n( "Date" ),QListView::Manual); 125 mailView->addColumn( i18n( "Date" ),QListView::Manual);
122 mailView->setAllColumnsShowFocus(true); 126 mailView->setAllColumnsShowFocus(true);
123 //mailView->setSorting(-1); 127 //mailView->setSorting(-1);
124 mailView->setRootIsDecorated( false ); 128 mailView->setRootIsDecorated( false );
125 statusWidget = new StatusWidget( wrapperBox ); 129 statusWidget = new StatusWidget( wrapperBox );
126 statusWidget->hide(); 130 statusWidget->hide();
127 131
128 //layout->addWidget( mailView ); 132 //layout->addWidget( mailView );
129 //layout->setStretchFactor( folderView, 1 ); 133 //layout->setStretchFactor( folderView, 1 );
130 //layout->setStretchFactor( mailView, 2 ); 134 //layout->setStretchFactor( mailView, 2 );
131 135
132 slotAdjustLayout(); 136 slotAdjustLayout();
133#ifndef DESKTOP_VERSION 137#ifndef DESKTOP_VERSION
134 QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold); 138 QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold);
135 QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold); 139 QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold);
136#endif 140#endif
137 connect( mailView, SIGNAL( doubleClicked (QListViewItem* )),this, 141 connect( mailView, SIGNAL( doubleClicked (QListViewItem* )),this,
138 SLOT( mailLeftClicked(QListViewItem*) ) ); 142 SLOT( mailLeftClicked(QListViewItem*) ) );
139 connect( mailView, SIGNAL( returnPressed (QListViewItem* )),this, 143 connect( mailView, SIGNAL( returnPressed (QListViewItem* )),this,
140 SLOT( mailLeftClicked(QListViewItem*) ) ); 144 SLOT( mailLeftClicked(QListViewItem*) ) );
141 connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this, 145 connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this,
142 SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) ); 146 SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) );
143 connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), 147 connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)),
144 this,SLOT(refreshMailView(const QValueList<RecMailP>&))); 148 this,SLOT(refreshMailView(const QValueList<RecMailP>&)));
145 connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); 149 connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) );
146 connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); 150 connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) );
147// connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); 151// connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) );
148 connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); 152 connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) );
149 //mailView->setMultiSelection ( true ); 153 //mailView->setMultiSelection ( true );
150 mailView->setSelectionMode( QListView::Extended ); 154 mailView->setSelectionMode( QListView::Extended );
151 QValueList<int> list; 155 QValueList<int> list;
152 int fw = 100; 156 int fw = 100;
153 if ( QApplication::desktop()->width() > 320 ) 157 if ( QApplication::desktop()->width() > 320 )
154 fw = 50; 158 fw = 50;
155 list.append( fw ); 159 list.append( fw );
156 list.append( 100 ); 160 list.append( 100 );
157 split->setSizes( list ); 161 split->setSizes( list );
158 QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); 162 QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) );
159 mailView->setShowSortIndicator ( true ); 163 mailView->setShowSortIndicator ( true );
160 QLabel *spacer = new QLabel( toolBar ); 164 QLabel *spacer = new QLabel( toolBar );
161 spacer->setBackgroundMode( QWidget::PaletteButton ); 165 spacer->setBackgroundMode( QWidget::PaletteButton );
162 toolBar->setStretchableWidget( spacer ); 166 toolBar->setStretchableWidget( spacer );
163 167
164 QAction* closeMail = new QAction(i18n("Close"),SmallIcon("exit"), 0, 0, this); 168 QAction* closeMail = new QAction(i18n("Close"),SmallIcon("exit"), 0, 0, this);
165 connect( closeMail, SIGNAL( activated() ), SLOT( close() ) ); 169 connect( closeMail, SIGNAL( activated() ), SLOT( close() ) );
166 if ( QApplication::desktop()->width() > 320 ) 170 if ( QApplication::desktop()->width() > 320 )
167 closeMail->addTo(toolBar); 171 closeMail->addTo(toolBar);
168 closeMail->addTo(mailMenu); 172 closeMail->addTo(mailMenu);
169 173
170 174
171 QPopupMenu* helpMenu = new QPopupMenu( menuBar ); 175 QPopupMenu* helpMenu = new QPopupMenu( menuBar );
172 menuBar->insertItem( i18n( "Help" ), helpMenu ); 176 menuBar->insertItem( i18n( "Help" ), helpMenu );
173 QAction* li = new QAction(i18n("About"), QPixmap(), 0, 0, this); 177 QAction* li = new QAction(i18n("About"), QPixmap(), 0, 0, this);
174 connect( li, SIGNAL( activated() ), SLOT( showAbout()) ); 178 connect( li, SIGNAL( activated() ), SLOT( showAbout()) );
175 li->addTo(helpMenu); 179 li->addTo(helpMenu);
176 li = new QAction(i18n("Licence"),QPixmap(), 0, 0, this); 180 li = new QAction(i18n("Licence"),QPixmap(), 0, 0, this);
177 connect( li, SIGNAL( activated() ), SLOT( showLicence()) ); 181 connect( li, SIGNAL( activated() ), SLOT( showLicence()) );
178 li->addTo(helpMenu); 182 li->addTo(helpMenu);
179 li = new QAction(i18n("LibEtPan Licence"), QPixmap(), 0, 0, this); 183 li = new QAction(i18n("LibEtPan Licence"), QPixmap(), 0, 0, this);
180 connect( li, SIGNAL( activated() ), SLOT( showEtpanLicence()) ); 184 connect( li, SIGNAL( activated() ), SLOT( showEtpanLicence()) );
181 li->addTo(helpMenu); 185 li->addTo(helpMenu);
182#ifdef DESKTOP_VERSION 186#ifdef DESKTOP_VERSION
183 resize ( 640, 480 ); 187 resize ( 640, 480 );
184#endif 188#endif
185} 189}
186 190
187MainWindow::~MainWindow() 191MainWindow::~MainWindow()
188{ 192{
189} 193}
190 194
191void MainWindow::showLicence() 195void MainWindow::showLicence()
192{ 196{
193 KApplication::showLicence(); 197 KApplication::showLicence();
194} 198}
195void MainWindow::showAbout() 199void MainWindow::showAbout()
196{ 200{
197 QString version; 201 QString version;
198#include <../version> 202#include <../version>
199 203
200 QString cap = "About KOpieMail/Pi"; 204 QString cap = "About KOpieMail/Pi";
201 QString text =i18n("KOpieMail/Platform-independent\n") + 205 QString text =i18n("KOpieMail/Platform-independent\n") +
202 "(OM/Pi) " + version + " - " 206 "(OM/Pi) " + version + " - "
203 207
204#ifdef DESKTOP_VERSION 208#ifdef DESKTOP_VERSION
205 "Desktop Edition\n" 209 "Desktop Edition\n"
206#else 210#else
207 "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n" 211 "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n"
208#endif 212#endif
209 "www.pi-sync.net\n\n" 213 "www.pi-sync.net\n\n"
210 214
211 215
212 216
213"Copyright (c) 2004 Lutz Rogowski <lutz@pi-sync.net>\n" 217"Copyright (c) 2004 Lutz Rogowski <lutz@pi-sync.net>\n"
214 "KOpieMail/Pi is based on Opie Mail\n" 218 "KOpieMail/Pi is based on Opie Mail\n"
215 "Copyright (c) Rajko Albrecht and the Opie team\n" 219 "Copyright (c) Rajko Albrecht and the Opie team\n"
216 "KOpieMail/Pi is licensed under the GPL\n" 220 "KOpieMail/Pi is licensed under the GPL\n"
217 "\n" 221 "\n"
218 "KOpieMail/Pi uses LibEtPan - a mail stuff library\n" 222 "KOpieMail/Pi uses LibEtPan - a mail stuff library\n"
219 "Copyright (C) 2001, 2002 - DINH Viet Hoa\n" 223 "Copyright (C) 2001, 2002 - DINH Viet Hoa\n"
220 "libEtPan has its own licence - see LibEtPan licence\n"; 224 "libEtPan has its own licence - see LibEtPan licence\n";
221 225
222 KApplication::showText( cap, text ); 226 KApplication::showText( cap, text );
223} 227}
224void MainWindow::showEtpanLicence() 228void MainWindow::showEtpanLicence()
225{ 229{
226 KApplication::showFile( "LibEtPan licence", "kdepim/kopiemail/COPYRIGHTlibetpan" ); 230 KApplication::showFile( "LibEtPan licence", "kdepim/kopiemail/COPYRIGHTlibetpan" );
227 231
228} 232}
229void MainWindow::appMessage(const QCString &, const QByteArray &) 233void MainWindow::appMessage(const QCString &, const QByteArray &)
230{ 234{
231 qDebug("appMessage implemented by subclass"); 235 qDebug("appMessage implemented by subclass");
232} 236}
233 237
234void MainWindow::slotAdjustLayout() { 238void MainWindow::slotAdjustLayout() {
235 239
236 /* 240 /*
237 QWidget *d = QApplication::desktop(); 241 QWidget *d = QApplication::desktop();
238 242
239 if ( d->width() < d->height() ) { 243 if ( d->width() < d->height() ) {
240 layout->setDirection( QBoxLayout::TopToBottom ); 244 layout->setDirection( QBoxLayout::TopToBottom );
241 } else { 245 } else {
242 layout->setDirection( QBoxLayout::LeftToRight ); 246 layout->setDirection( QBoxLayout::LeftToRight );
243 } 247 }
244 */ 248 */
245} 249}
246 250
247void MainWindow::slotAdjustColumns() 251void MainWindow::slotAdjustColumns()
248{ 252{
249 bool hidden = folderView->isHidden(); 253 bool hidden = folderView->isHidden();
250 if ( hidden ) folderView->show(); 254 if ( hidden ) folderView->show();
251 folderView->setColumnWidth( 0, folderView->visibleWidth() ); 255 folderView->setColumnWidth( 0, folderView->visibleWidth() );
252 if ( hidden ) folderView->hide(); 256 if ( hidden ) folderView->hide();
253 257
254 mailView->setColumnWidth( 0, 10 ); 258 mailView->setColumnWidth( 0, 10 );
255 mailView->setColumnWidth( 1, 100 ); 259 mailView->setColumnWidth( 1, 100 );
256 mailView->setColumnWidth( 2, 100 ); 260 mailView->setColumnWidth( 2, 100 );
257 mailView->setColumnWidth( 3, 50 ); 261 mailView->setColumnWidth( 3, 50 );
258 mailView->setColumnWidth( 4, 120 ); 262 mailView->setColumnWidth( 4, 120 );
259} 263}
260 264
261void MainWindow::slotEditSettings() 265void MainWindow::slotEditSettings()
262{ 266{
263} 267}
264 268
265void MainWindow::slotShowFolders( bool ) 269void MainWindow::slotShowFolders( bool )
266{ 270{
267 qDebug("not implemented: "); 271 qDebug("not implemented: ");
268} 272}
269 273
270void MainWindow::refreshMailView(const QValueList<RecMailP>&) 274void MainWindow::refreshMailView(const QValueList<RecMailP>&)
271{ 275{
272 qDebug("not implemented: "); 276 qDebug("not implemented: ");
273} 277}
274 278
275void MainWindow::mailLeftClicked(QListViewItem * ) 279void MainWindow::mailLeftClicked(QListViewItem * )
276{ 280{
277 qDebug("not implemented: "); 281 qDebug("not implemented: ");
278} 282}
279 283
280void MainWindow::displayMail() 284void MainWindow::displayMail()
281{ 285{
282 qDebug("not implemented: "); 286 qDebug("not implemented: ");
283} 287}
284 288
285void MainWindow::slotDeleteMail() 289void MainWindow::slotDeleteMail()
286{ 290{
287 qDebug("not implemented: "); 291 qDebug("not implemented: ");
288} 292}
289 293
290void MainWindow::mailHold(int, QListViewItem *,const QPoint&,int ) 294void MainWindow::mailHold(int, QListViewItem *,const QPoint&,int )
291{ 295{
292 qDebug("not implemented: "); 296 qDebug("not implemented: ");
293} 297}
294 298
295void MainWindow::slotSendQueued() 299void MainWindow::slotSendQueued()
296{ 300{
297 qDebug("not implemented: "); 301 qDebug("not implemented: ");
298} 302}
299 303
300void MainWindow::slotEditAccounts() 304void MainWindow::slotEditAccounts()
301{ 305{
302 qDebug("not implemented: "); 306 qDebug("not implemented: ");
303} 307}
304 308
305void MainWindow::slotComposeMail() 309void MainWindow::slotComposeMail()
306{ 310{
307 qDebug("not implemented: "); 311 qDebug("not implemented: ");
308} 312}