From 3964a158be731f1bb244ca861262df5fa8d04cf3 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 31 Oct 2004 16:54:47 +0000 Subject: changed showmaximized for desktop --- (limited to 'kmicromail') diff --git a/kmicromail/accountitem.cpp b/kmicromail/accountitem.cpp index 567de87..fcb2052 100644 --- a/kmicromail/accountitem.cpp +++ b/kmicromail/accountitem.cpp @@ -316,7 +316,9 @@ QPopupMenu * NNTPviewItem::getContextMenu() void NNTPviewItem::subscribeGroups() { NNTPGroupsDlg dlg(account); +#ifndef DESKTOP_VERSION dlg.showMaximized(); +#endif if ( dlg.exec()== QDialog::Accepted ){ refresh(); } @@ -539,7 +541,9 @@ void IMAPviewItem::createNewFolder() { Newmdirdlg ndirdlg; - ndirdlg.showMaximized(); +#ifndef DESKTOP_VERSION + //ndirdlg.showMaximized(); +#endif if ( ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); @@ -693,7 +697,7 @@ QPopupMenu * IMAPfolderItem::getContextMenu() void IMAPfolderItem::createNewFolder() { Newmdirdlg ndirdlg; - ndirdlg.showMaximized(); + //ndirdlg.showMaximized(); if ( ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); @@ -869,7 +873,7 @@ QPopupMenu * MHviewItem::getContextMenu() void MHviewItem::createFolder() { Newmdirdlg ndirdlg(0,0,true); - ndirdlg.showMaximized(); + //ndirdlg.showMaximized(); if ( ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); @@ -1021,7 +1025,7 @@ void MHfolderItem::downloadMails() void MHfolderItem::createFolder() { Newmdirdlg ndirdlg(0,0,true); - ndirdlg.showMaximized(); + //ndirdlg.showMaximized(); if (ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); diff --git a/kmicromail/accountview.cpp b/kmicromail/accountview.cpp index c10d384..c9c4a0f 100644 --- a/kmicromail/accountview.cpp +++ b/kmicromail/accountview.cpp @@ -123,7 +123,12 @@ RecBodyP AccountView::fetchBody(const RecMailP&aMail) void AccountView::setupFolderselect(Selectstore*sels) { + +#ifndef DESKTOP_VERSION sels->showMaximized(); +#else + sels->show(); +#endif QStringList sFolders; unsigned int i = 0; for (i=0; i < mhAccounts.count();++i) diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp index 0d30097..48c3963 100644 --- a/kmicromail/editaccounts.cpp +++ b/kmicromail/editaccounts.cpp @@ -107,7 +107,10 @@ void EditAccounts::slotNewAccount( const QString &type ) { IMAPaccount *account = new IMAPaccount(); IMAPconfig imap( account, this, 0, true ); + +#ifndef DESKTOP_VERSION imap.showMaximized(); +#endif if ( QDialog::Accepted == imap.exec() ) { settings->addAccount( account ); diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index fe9df87..8d16ae7 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -125,7 +125,9 @@ void OpieMail::slotwriteMail2(const QString& namemail ) compose.setTo( to ); } compose.slotAdjustColumns(); +#ifndef DESKTOP_VERSION compose.showMaximized(); +#endif compose.exec(); raise(); //qDebug("retttich "); @@ -146,7 +148,9 @@ void OpieMail::slotwriteMail(const QString&name,const QString&email) } } compose.slotAdjustColumns(); +#ifndef DESKTOP_VERSION compose.showMaximized(); +#endif compose.exec(); raise(); } @@ -194,7 +198,9 @@ void OpieMail::slotSendQueued() smtp = 0; selectsmtp selsmtp; selsmtp.setSelectionlist(&smtpList); +#ifndef DESKTOP_VERSION selsmtp.showMaximized(); +#endif if ( selsmtp.exec() == QDialog::Accepted ) { smtp = selsmtp.selected_smtp(); -- cgit v0.9.0.2