summaryrefslogtreecommitdiffabout
path: root/kmicromail
authorzautrix <zautrix>2005-06-19 08:07:46 (UTC)
committer zautrix <zautrix>2005-06-19 08:07:46 (UTC)
commit98f69fd81c23d99d9fe80326d4bc4d3af23e18ec (patch) (unidiff)
tree06472b263700b7d07030876c33f2535bf3ae51cb /kmicromail
parenta2e963324e6db541f322002c307b40f24747e036 (diff)
downloadkdepimpi-98f69fd81c23d99d9fe80326d4bc4d3af23e18ec.zip
kdepimpi-98f69fd81c23d99d9fe80326d4bc4d3af23e18ec.tar.gz
kdepimpi-98f69fd81c23d99d9fe80326d4bc4d3af23e18ec.tar.bz2
ompi select all
Diffstat (limited to 'kmicromail') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/opiemail.cpp9
-rw-r--r--kmicromail/opiemail.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp
index 8ac3451..e296d9c 100644
--- a/kmicromail/opiemail.cpp
+++ b/kmicromail/opiemail.cpp
@@ -492,2 +492,10 @@ void OpieMail::clearSelection()
492} 492}
493void OpieMail::selectAll()
494{
495 QListViewItem* item = mailView->firstChild ();
496 while ( item ) {
497 mailView->setSelected ( item, true );
498 item = item->nextSibling();
499 }
500}
493 501
@@ -522,2 +530,3 @@ void OpieMail::mailHold(int button, QListViewItem *item,const QPoint&,int )
522 m->insertSeparator(); 530 m->insertSeparator();
531 m->insertItem(i18n("Select all"),this,SLOT(selectAll()));
523 m->insertItem(i18n("Clear selection"),this,SLOT(clearSelection())); 532 m->insertItem(i18n("Clear selection"),this,SLOT(clearSelection()));
diff --git a/kmicromail/opiemail.h b/kmicromail/opiemail.h
index 48c5dda..bdd9058 100644
--- a/kmicromail/opiemail.h
+++ b/kmicromail/opiemail.h
@@ -53,2 +53,3 @@ protected slots:
53 void clearSelection(); 53 void clearSelection();
54 void selectAll();
54 void slotDownloadMail(); 55 void slotDownloadMail();