summaryrefslogtreecommitdiffabout
path: root/kmicromail/mainwindow.cpp
Unidiff
Diffstat (limited to 'kmicromail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp
index 4c58909..9a52d1b 100644
--- a/kmicromail/mainwindow.cpp
+++ b/kmicromail/mainwindow.cpp
@@ -283,69 +283,69 @@ void MainWindow::slotSetCodec( int codec )
283 case 3: 283 case 3:
284 name = "big-5"; 284 name = "big-5";
285 break; 285 break;
286 case 4: 286 case 4:
287 name = "utf-8"; 287 name = "utf-8";
288 break; 288 break;
289 case 5: 289 case 5:
290 name = KOPrefs::instance()->mSendCodec.lower(); 290 name = KOPrefs::instance()->mSendCodec.lower();
291 break; 291 break;
292 } 292 }
293 KOPrefs::instance()->mCurrentCodeName = name ; 293 KOPrefs::instance()->mCurrentCodeName = name ;
294 codecMenu->changeItem ( 5, "Userdefined ("+KOPrefs::instance()->mSendCodec+")"); 294 codecMenu->changeItem ( 5, "Userdefined ("+KOPrefs::instance()->mSendCodec+")");
295 codecMenu->setItemChecked(KOPrefs::instance()->mCurrentCodec, true ); 295 codecMenu->setItemChecked(KOPrefs::instance()->mCurrentCodec, true );
296} 296}
297void MainWindow::showLicence() 297void MainWindow::showLicence()
298{ 298{
299 KApplication::showLicence(); 299 KApplication::showLicence();
300} 300}
301void MainWindow::showAbout() 301void MainWindow::showAbout()
302{ 302{
303 QString version; 303 QString version;
304#include <../version> 304#include <../version>
305 305
306 QString cap = "About KOpieMail/Pi"; 306 QString cap = "About KOpieMail/Pi";
307 QString text =i18n("KOpieMail/Platform-independent\n") + 307 QString text =i18n("KOpieMail/Platform-independent\n") +
308 "(OM/Pi) " + version + " - " 308 "(OM/Pi) " + version + " - "
309 309
310#ifdef DESKTOP_VERSION 310#ifdef DESKTOP_VERSION
311 "Desktop Edition\n" 311 "Desktop Edition\n"
312#else 312#else
313 "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n" 313 "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n"
314#endif 314#endif
315 "www.pi-sync.net\n\n" 315 "www.pi-sync.info\n\n"
316 316
317 317
318 318
319"Copyright (c) 2004 Lutz Rogowski <lutz@pi-sync.net>\n" 319"Copyright (c) 2004 Lutz Rogowski <lutz@pi-sync.info>\n"
320 "KOpieMail/Pi is based on Opie Mail\n" 320 "KOpieMail/Pi is based on Opie Mail\n"
321 "Copyright (c) Rajko Albrecht and the Opie team\n" 321 "Copyright (c) Rajko Albrecht and the Opie team\n"
322 "KOpieMail/Pi is licensed under the GPL\n" 322 "KOpieMail/Pi is licensed under the GPL\n"
323 "\n" 323 "\n"
324 "KOpieMail/Pi uses LibEtPan - a mail stuff library\n" 324 "KOpieMail/Pi uses LibEtPan - a mail stuff library\n"
325 "Copyright (C) 2001, 2002 - DINH Viet Hoa\n" 325 "Copyright (C) 2001, 2002 - DINH Viet Hoa\n"
326 "libEtPan has its own licence - see LibEtPan licence\n"; 326 "libEtPan has its own licence - see LibEtPan licence\n";
327 327
328 KApplication::showText( cap, text ); 328 KApplication::showText( cap, text );
329} 329}
330void MainWindow::showEtpanLicence() 330void MainWindow::showEtpanLicence()
331{ 331{
332 KApplication::showFile( "LibEtPan licence", "kdepim/kopiemail/COPYRIGHTlibetpan" ); 332 KApplication::showFile( "LibEtPan licence", "kdepim/kopiemail/COPYRIGHTlibetpan" );
333 333
334} 334}
335void MainWindow::appMessage(const QCString &, const QByteArray &) 335void MainWindow::appMessage(const QCString &, const QByteArray &)
336{ 336{
337 qDebug("appMessage implemented by subclass"); 337 qDebug("appMessage implemented by subclass");
338} 338}
339 339
340void MainWindow::slotAdjustLayout() { 340void MainWindow::slotAdjustLayout() {
341 341
342 /* 342 /*
343 QWidget *d = QApplication::desktop(); 343 QWidget *d = QApplication::desktop();
344 344
345 if ( d->width() < d->height() ) { 345 if ( d->width() < d->height() ) {
346 layout->setDirection( QBoxLayout::TopToBottom ); 346 layout->setDirection( QBoxLayout::TopToBottom );
347 } else { 347 } else {
348 layout->setDirection( QBoxLayout::LeftToRight ); 348 layout->setDirection( QBoxLayout::LeftToRight );
349 } 349 }
350 */ 350 */
351} 351}