Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index c23ad3f..4c87d64 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp | |||
@@ -120,97 +120,97 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
120 | connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this, | 120 | connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this, |
121 | SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) ); | 121 | SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) ); |
122 | connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), | 122 | connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), |
123 | this,SLOT(refreshMailView(const QValueList<RecMailP>&))); | 123 | this,SLOT(refreshMailView(const QValueList<RecMailP>&))); |
124 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); | 124 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); |
125 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); | 125 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); |
126 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); | 126 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); |
127 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); | 127 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); |
128 | // Added by Stefan Eilers to allow starting by addressbook.. | 128 | // Added by Stefan Eilers to allow starting by addressbook.. |
129 | // copied from old mail2 | 129 | // copied from old mail2 |
130 | #if !defined(QT_NO_COP) | 130 | #if !defined(QT_NO_COP) |
131 | connect( qApp, SIGNAL( appMessage(const QCString&,const QByteArray&) ), | 131 | connect( qApp, SIGNAL( appMessage(const QCString&,const QByteArray&) ), |
132 | this, SLOT( appMessage(const QCString&,const QByteArray&) ) ); | 132 | this, SLOT( appMessage(const QCString&,const QByteArray&) ) ); |
133 | #endif | 133 | #endif |
134 | 134 | ||
135 | QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); | 135 | QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); |
136 | } | 136 | } |
137 | 137 | ||
138 | MainWindow::~MainWindow() | 138 | MainWindow::~MainWindow() |
139 | { | 139 | { |
140 | } | 140 | } |
141 | 141 | ||
142 | void MainWindow::appMessage(const QCString &, const QByteArray &) | 142 | void MainWindow::appMessage(const QCString &, const QByteArray &) |
143 | { | 143 | { |
144 | qDebug("appMessage not reached"); | 144 | odebug << "appMessage not reached" << oendl; |
145 | } | 145 | } |
146 | 146 | ||
147 | void MainWindow::slotAdjustLayout() { | 147 | void MainWindow::slotAdjustLayout() { |
148 | 148 | ||
149 | QWidget *d = QApplication::desktop(); | 149 | QWidget *d = QApplication::desktop(); |
150 | 150 | ||
151 | if ( d->width() < d->height() ) { | 151 | if ( d->width() < d->height() ) { |
152 | layout->setDirection( QBoxLayout::TopToBottom ); | 152 | layout->setDirection( QBoxLayout::TopToBottom ); |
153 | } else { | 153 | } else { |
154 | layout->setDirection( QBoxLayout::LeftToRight ); | 154 | layout->setDirection( QBoxLayout::LeftToRight ); |
155 | } | 155 | } |
156 | } | 156 | } |
157 | 157 | ||
158 | void MainWindow::slotAdjustColumns() | 158 | void MainWindow::slotAdjustColumns() |
159 | { | 159 | { |
160 | bool hidden = folderView->isHidden(); | 160 | bool hidden = folderView->isHidden(); |
161 | if ( hidden ) folderView->show(); | 161 | if ( hidden ) folderView->show(); |
162 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); | 162 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); |
163 | if ( hidden ) folderView->hide(); | 163 | if ( hidden ) folderView->hide(); |
164 | 164 | ||
165 | mailView->setColumnWidth( 0, 10 ); | 165 | mailView->setColumnWidth( 0, 10 ); |
166 | mailView->setColumnWidth( 1, mailView->visibleWidth() - 130 ); | 166 | mailView->setColumnWidth( 1, mailView->visibleWidth() - 130 ); |
167 | mailView->setColumnWidth( 2, 80 ); | 167 | mailView->setColumnWidth( 2, 80 ); |
168 | mailView->setColumnWidth( 3, 50 ); | 168 | mailView->setColumnWidth( 3, 50 ); |
169 | mailView->setColumnWidth( 4, 50 ); | 169 | mailView->setColumnWidth( 4, 50 ); |
170 | } | 170 | } |
171 | 171 | ||
172 | void MainWindow::slotEditSettings() | 172 | void MainWindow::slotEditSettings() |
173 | { | 173 | { |
174 | } | 174 | } |
175 | 175 | ||
176 | void MainWindow::slotShowFolders( bool ) | 176 | void MainWindow::slotShowFolders( bool ) |
177 | { | 177 | { |
178 | qDebug( "slotShowFolders not reached" ); | 178 | odebug << "slotShowFolders not reached" << oendl; |
179 | } | 179 | } |
180 | 180 | ||
181 | void MainWindow::refreshMailView(const QValueList<RecMailP>&) | 181 | void MainWindow::refreshMailView(const QValueList<RecMailP>&) |
182 | { | 182 | { |
183 | qDebug( "refreshMailView not reached" ); | 183 | odebug << "refreshMailView not reached" << oendl; |
184 | } | 184 | } |
185 | 185 | ||
186 | void MainWindow::mailLeftClicked(int, QListViewItem *,const QPoint&,int ) | 186 | void MainWindow::mailLeftClicked(int, QListViewItem *,const QPoint&,int ) |
187 | { | 187 | { |
188 | qDebug( "mailLeftClicked not reached" ); | 188 | odebug << "mailLeftClicked not reached" << oendl; |
189 | } | 189 | } |
190 | 190 | ||
191 | void MainWindow::displayMail() | 191 | void MainWindow::displayMail() |
192 | { | 192 | { |
193 | qDebug("displayMail not reached"); | 193 | odebug << "displayMail not reached" << oendl; |
194 | } | 194 | } |
195 | 195 | ||
196 | void MainWindow::slotDeleteMail() | 196 | void MainWindow::slotDeleteMail() |
197 | { | 197 | { |
198 | qDebug("deleteMail not reached"); | 198 | odebug << "deleteMail not reached" << oendl; |
199 | } | 199 | } |
200 | 200 | ||
201 | void MainWindow::mailHold(int, QListViewItem *,const QPoint&,int ) | 201 | void MainWindow::mailHold(int, QListViewItem *,const QPoint&,int ) |
202 | { | 202 | { |
203 | qDebug("mailHold not reached"); | 203 | odebug << "mailHold not reached" << oendl; |
204 | } | 204 | } |
205 | 205 | ||
206 | void MainWindow::slotSendQueued() | 206 | void MainWindow::slotSendQueued() |
207 | { | 207 | { |
208 | } | 208 | } |
209 | 209 | ||
210 | void MainWindow::slotEditAccounts() | 210 | void MainWindow::slotEditAccounts() |
211 | { | 211 | { |
212 | } | 212 | } |
213 | 213 | ||
214 | void MainWindow::slotComposeMail() | 214 | void MainWindow::slotComposeMail() |
215 | { | 215 | { |
216 | } | 216 | } |