author | groucho <groucho> | 2003-04-24 11:19:11 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-04-24 11:19:11 (UTC) |
commit | 9671975e21266e3bfa6f3c793a3278b67cea34b7 (patch) (unidiff) | |
tree | 876c77939cfd0e00fc844b1b5af09b2978564a6d /noncore/net/mailit/viewatt.cpp | |
parent | 51e782b9658de61dc02579e115a9c62f396609a3 (diff) | |
download | opie-9671975e21266e3bfa6f3c793a3278b67cea34b7.zip opie-9671975e21266e3bfa6f3c793a3278b67cea34b7.tar.gz opie-9671975e21266e3bfa6f3c793a3278b67cea34b7.tar.bz2 |
- reworked size filtering
- started reworking offline download
- better tab focus switching
- Hello "Whats this" capability
- Fixed parsing of To: header files (no more Delivered-To: and Reply-To: matches)
- Good bye Settings.txt, hello Config Objects and encrypted passwords
- Translation improvements (added trs)
- Parser optimizations
Diffstat (limited to 'noncore/net/mailit/viewatt.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mailit/viewatt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/mailit/viewatt.cpp b/noncore/net/mailit/viewatt.cpp index b6f5015..21885c2 100644 --- a/noncore/net/mailit/viewatt.cpp +++ b/noncore/net/mailit/viewatt.cpp | |||
@@ -16,30 +16,33 @@ | |||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "resource.h" | 20 | #include "resource.h" |
21 | #include "viewatt.h" | 21 | #include "viewatt.h" |
22 | #include <qwhatsthis.h> | ||
22 | #include <qpe/applnk.h> | 23 | #include <qpe/applnk.h> |
23 | #include <qpe/mimetype.h> | 24 | #include <qpe/mimetype.h> |
24 | 25 | ||
25 | ViewAtt::ViewAtt(QWidget *parent, const char *name, WFlags f) | 26 | ViewAtt::ViewAtt(QWidget *parent, const char *name, WFlags f) |
26 | : QMainWindow(parent, name, f) | 27 | : QMainWindow(parent, name, f) |
27 | { | 28 | { |
28 | setCaption("Exploring attatchments"); | 29 | setCaption("Exploring attatchments"); |
29 | 30 | ||
30 | setToolBarsMovable( FALSE ); | 31 | setToolBarsMovable( FALSE ); |
31 | bar = new QToolBar(this); | 32 | bar = new QToolBar(this); |
32 | installButton = new QAction( tr( "Install" ), Resource::loadPixmap( "exec" ), QString::null, CTRL + Key_C, this, 0 ); | 33 | installButton = new QAction( tr( "Install" ), Resource::loadPixmap( "exec" ), QString::null, CTRL + Key_C, this, 0 ); |
33 | connect(installButton, SIGNAL(activated()), this, SLOT(install()) ); | 34 | connect(installButton, SIGNAL(activated()), this, SLOT(install()) ); |
35 | installButton->setWhatsThis(tr("Click here to install the attachment to your Documents")); | ||
34 | 36 | ||
35 | listView = new QListView(this, "AttView"); | 37 | listView = new QListView(this, "AttView"); |
36 | listView->addColumn( "Attatchment" ); | 38 | listView->addColumn( "Attatchment" ); |
37 | listView->addColumn( "Type" ); | 39 | listView->addColumn( "Type" ); |
38 | listView->addColumn( "Installed" ); | 40 | listView->addColumn( "Installed" ); |
39 | setCentralWidget(listView); | 41 | setCentralWidget(listView); |
42 | QWhatsThis::add(listView,QWidget::tr("This is an overview about all attachments in the mail")); | ||
40 | } | 43 | } |
41 | 44 | ||
42 | void ViewAtt::update(Email *mailIn, bool inbox) | 45 | void ViewAtt::update(Email *mailIn, bool inbox) |
43 | { | 46 | { |
44 | QListViewItem *item; | 47 | QListViewItem *item; |
45 | Enclosure *ePtr; | 48 | Enclosure *ePtr; |