Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index bcf0866..c23ad3f 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp | |||
@@ -110,25 +110,26 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
110 | layout->setStretchFactor( folderView, 1 ); | 110 | layout->setStretchFactor( folderView, 1 ); |
111 | layout->setStretchFactor( mailView, 2 ); | 111 | layout->setStretchFactor( mailView, 2 ); |
112 | 112 | ||
113 | slotAdjustLayout(); | 113 | slotAdjustLayout(); |
114 | 114 | ||
115 | QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold); | 115 | QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold); |
116 | QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold); | 116 | QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold); |
117 | 117 | ||
118 | connect( mailView, SIGNAL( mouseButtonClicked(int,QListViewItem*,const QPoint&,int) ),this, | 118 | connect( mailView, SIGNAL( mouseButtonClicked(int,QListViewItem*,const QPoint&,int) ),this, |
119 | SLOT( mailLeftClicked(int,QListViewItem*,const QPoint&,int) ) ); | 119 | SLOT( mailLeftClicked(int,QListViewItem*,const QPoint&,int) ) ); |
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(QList<RecMail>*)),this,SLOT(refreshMailView(QList<RecMail>*))); | 122 | connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), |
123 | this,SLOT(refreshMailView(const QValueList<RecMailP>&))); | ||
123 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); | 124 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); |
124 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); | 125 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); |
125 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); | 126 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); |
126 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); | 127 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); |
127 | // Added by Stefan Eilers to allow starting by addressbook.. | 128 | // Added by Stefan Eilers to allow starting by addressbook.. |
128 | // copied from old mail2 | 129 | // copied from old mail2 |
129 | #if !defined(QT_NO_COP) | 130 | #if !defined(QT_NO_COP) |
130 | connect( qApp, SIGNAL( appMessage(const QCString&,const QByteArray&) ), | 131 | connect( qApp, SIGNAL( appMessage(const QCString&,const QByteArray&) ), |
131 | this, SLOT( appMessage(const QCString&,const QByteArray&) ) ); | 132 | this, SLOT( appMessage(const QCString&,const QByteArray&) ) ); |
132 | #endif | 133 | #endif |
133 | 134 | ||
134 | QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); | 135 | QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); |
@@ -168,25 +169,25 @@ void MainWindow::slotAdjustColumns() | |||
168 | mailView->setColumnWidth( 4, 50 ); | 169 | mailView->setColumnWidth( 4, 50 ); |
169 | } | 170 | } |
170 | 171 | ||
171 | void MainWindow::slotEditSettings() | 172 | void MainWindow::slotEditSettings() |
172 | { | 173 | { |
173 | } | 174 | } |
174 | 175 | ||
175 | void MainWindow::slotShowFolders( bool ) | 176 | void MainWindow::slotShowFolders( bool ) |
176 | { | 177 | { |
177 | qDebug( "slotShowFolders not reached" ); | 178 | qDebug( "slotShowFolders not reached" ); |
178 | } | 179 | } |
179 | 180 | ||
180 | void MainWindow::refreshMailView(QList<RecMail>*) | 181 | void MainWindow::refreshMailView(const QValueList<RecMailP>&) |
181 | { | 182 | { |
182 | qDebug( "refreshMailView not reached" ); | 183 | qDebug( "refreshMailView not reached" ); |
183 | } | 184 | } |
184 | 185 | ||
185 | void MainWindow::mailLeftClicked(int, QListViewItem *,const QPoint&,int ) | 186 | void MainWindow::mailLeftClicked(int, QListViewItem *,const QPoint&,int ) |
186 | { | 187 | { |
187 | qDebug( "mailLeftClicked not reached" ); | 188 | qDebug( "mailLeftClicked not reached" ); |
188 | } | 189 | } |
189 | 190 | ||
190 | void MainWindow::displayMail() | 191 | void MainWindow::displayMail() |
191 | { | 192 | { |
192 | qDebug("displayMail not reached"); | 193 | qDebug("displayMail not reached"); |