author | zautrix <zautrix> | 2004-10-31 16:54:47 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-31 16:54:47 (UTC) |
commit | 3964a158be731f1bb244ca861262df5fa8d04cf3 (patch) (unidiff) | |
tree | fa4a8e9af345c144562be480f21df6e3d8d609c7 /kmicromail | |
parent | bed831cc1a38d38a4c5b9329bf37b1c663142c23 (diff) | |
download | kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.zip kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.tar.gz kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.tar.bz2 |
changed showmaximized for desktop
-rw-r--r-- | kmicromail/accountitem.cpp | 12 | ||||
-rw-r--r-- | kmicromail/accountview.cpp | 5 | ||||
-rw-r--r-- | kmicromail/editaccounts.cpp | 3 | ||||
-rw-r--r-- | kmicromail/opiemail.cpp | 6 |
4 files changed, 22 insertions, 4 deletions
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() | |||
316 | void NNTPviewItem::subscribeGroups() | 316 | void NNTPviewItem::subscribeGroups() |
317 | { | 317 | { |
318 | NNTPGroupsDlg dlg(account); | 318 | NNTPGroupsDlg dlg(account); |
319 | #ifndef DESKTOP_VERSION | ||
319 | dlg.showMaximized(); | 320 | dlg.showMaximized(); |
321 | #endif | ||
320 | if ( dlg.exec()== QDialog::Accepted ){ | 322 | if ( dlg.exec()== QDialog::Accepted ){ |
321 | refresh(); | 323 | refresh(); |
322 | } | 324 | } |
@@ -539,7 +541,9 @@ void IMAPviewItem::createNewFolder() | |||
539 | { | 541 | { |
540 | Newmdirdlg ndirdlg; | 542 | Newmdirdlg ndirdlg; |
541 | 543 | ||
542 | ndirdlg.showMaximized(); | 544 | #ifndef DESKTOP_VERSION |
545 | //ndirdlg.showMaximized(); | ||
546 | #endif | ||
543 | if ( ndirdlg.exec() ) | 547 | if ( ndirdlg.exec() ) |
544 | { | 548 | { |
545 | QString ndir = ndirdlg.Newdir(); | 549 | QString ndir = ndirdlg.Newdir(); |
@@ -693,7 +697,7 @@ QPopupMenu * IMAPfolderItem::getContextMenu() | |||
693 | void IMAPfolderItem::createNewFolder() | 697 | void IMAPfolderItem::createNewFolder() |
694 | { | 698 | { |
695 | Newmdirdlg ndirdlg; | 699 | Newmdirdlg ndirdlg; |
696 | ndirdlg.showMaximized(); | 700 | //ndirdlg.showMaximized(); |
697 | if ( ndirdlg.exec() ) | 701 | if ( ndirdlg.exec() ) |
698 | { | 702 | { |
699 | QString ndir = ndirdlg.Newdir(); | 703 | QString ndir = ndirdlg.Newdir(); |
@@ -869,7 +873,7 @@ QPopupMenu * MHviewItem::getContextMenu() | |||
869 | void MHviewItem::createFolder() | 873 | void MHviewItem::createFolder() |
870 | { | 874 | { |
871 | Newmdirdlg ndirdlg(0,0,true); | 875 | Newmdirdlg ndirdlg(0,0,true); |
872 | ndirdlg.showMaximized(); | 876 | //ndirdlg.showMaximized(); |
873 | if ( ndirdlg.exec() ) | 877 | if ( ndirdlg.exec() ) |
874 | { | 878 | { |
875 | QString ndir = ndirdlg.Newdir(); | 879 | QString ndir = ndirdlg.Newdir(); |
@@ -1021,7 +1025,7 @@ void MHfolderItem::downloadMails() | |||
1021 | void MHfolderItem::createFolder() | 1025 | void MHfolderItem::createFolder() |
1022 | { | 1026 | { |
1023 | Newmdirdlg ndirdlg(0,0,true); | 1027 | Newmdirdlg ndirdlg(0,0,true); |
1024 | ndirdlg.showMaximized(); | 1028 | //ndirdlg.showMaximized(); |
1025 | if (ndirdlg.exec() ) | 1029 | if (ndirdlg.exec() ) |
1026 | { | 1030 | { |
1027 | QString ndir = ndirdlg.Newdir(); | 1031 | 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) | |||
123 | 123 | ||
124 | void AccountView::setupFolderselect(Selectstore*sels) | 124 | void AccountView::setupFolderselect(Selectstore*sels) |
125 | { | 125 | { |
126 | |||
127 | #ifndef DESKTOP_VERSION | ||
126 | sels->showMaximized(); | 128 | sels->showMaximized(); |
129 | #else | ||
130 | sels->show(); | ||
131 | #endif | ||
127 | QStringList sFolders; | 132 | QStringList sFolders; |
128 | unsigned int i = 0; | 133 | unsigned int i = 0; |
129 | for (i=0; i < mhAccounts.count();++i) | 134 | 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 ) | |||
107 | { | 107 | { |
108 | IMAPaccount *account = new IMAPaccount(); | 108 | IMAPaccount *account = new IMAPaccount(); |
109 | IMAPconfig imap( account, this, 0, true ); | 109 | IMAPconfig imap( account, this, 0, true ); |
110 | |||
111 | #ifndef DESKTOP_VERSION | ||
110 | imap.showMaximized(); | 112 | imap.showMaximized(); |
113 | #endif | ||
111 | if ( QDialog::Accepted == imap.exec() ) | 114 | if ( QDialog::Accepted == imap.exec() ) |
112 | { | 115 | { |
113 | settings->addAccount( account ); | 116 | 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 ) | |||
125 | compose.setTo( to ); | 125 | compose.setTo( to ); |
126 | } | 126 | } |
127 | compose.slotAdjustColumns(); | 127 | compose.slotAdjustColumns(); |
128 | #ifndef DESKTOP_VERSION | ||
128 | compose.showMaximized(); | 129 | compose.showMaximized(); |
130 | #endif | ||
129 | compose.exec(); | 131 | compose.exec(); |
130 | raise(); | 132 | raise(); |
131 | //qDebug("retttich "); | 133 | //qDebug("retttich "); |
@@ -146,7 +148,9 @@ void OpieMail::slotwriteMail(const QString&name,const QString&email) | |||
146 | } | 148 | } |
147 | } | 149 | } |
148 | compose.slotAdjustColumns(); | 150 | compose.slotAdjustColumns(); |
151 | #ifndef DESKTOP_VERSION | ||
149 | compose.showMaximized(); | 152 | compose.showMaximized(); |
153 | #endif | ||
150 | compose.exec(); | 154 | compose.exec(); |
151 | raise(); | 155 | raise(); |
152 | } | 156 | } |
@@ -194,7 +198,9 @@ void OpieMail::slotSendQueued() | |||
194 | smtp = 0; | 198 | smtp = 0; |
195 | selectsmtp selsmtp; | 199 | selectsmtp selsmtp; |
196 | selsmtp.setSelectionlist(&smtpList); | 200 | selsmtp.setSelectionlist(&smtpList); |
201 | #ifndef DESKTOP_VERSION | ||
197 | selsmtp.showMaximized(); | 202 | selsmtp.showMaximized(); |
203 | #endif | ||
198 | if ( selsmtp.exec() == QDialog::Accepted ) | 204 | if ( selsmtp.exec() == QDialog::Accepted ) |
199 | { | 205 | { |
200 | smtp = selsmtp.selected_smtp(); | 206 | smtp = selsmtp.selected_smtp(); |