summaryrefslogtreecommitdiffstats
path: root/examples/applications/qtmail/messagelistview.cpp
diff options
context:
space:
mode:
authorAleksW <qt-info@nokia.com>2010-04-07 12:15:20 +1000
committerAleksW <qt-info@nokia.com>2010-04-07 12:15:20 +1000
commitc33ad182707dbc126429e716585110044aa2ec9c (patch)
tree0dff1b0f0cb78340398abae18bd910d94ae4e62d /examples/applications/qtmail/messagelistview.cpp
parentc929e64f61d87bbae25d89ca2ddf92671a834264 (diff)
WIP. Changes in preparation of supporting better service actions concurrency.
Diffstat (limited to 'examples/applications/qtmail/messagelistview.cpp')
-rw-r--r--examples/applications/qtmail/messagelistview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/applications/qtmail/messagelistview.cpp b/examples/applications/qtmail/messagelistview.cpp
index 311523c0..869e0e95 100644
--- a/examples/applications/qtmail/messagelistview.cpp
+++ b/examples/applications/qtmail/messagelistview.cpp
@@ -62,6 +62,7 @@
#include <QLineEdit>
#include <QApplication>
#include <qmaildatacomparator.h>
+#include <qtmailnamespace.h>
static QStringList headers(QStringList() << "Subject" << "Sender" << "Date" << "Size");
static const QColor newMessageColor(Qt::blue);
@@ -102,7 +103,7 @@ QWidget(parent)
QHBoxLayout* layout = new QHBoxLayout(this);
m_clearButton = new QToolButton(this);
- m_clearButton->setIcon(QIcon(":icon/clear_right"));
+ m_clearButton->setIcon(Qtmail::icon("clear"));
connect(m_clearButton,SIGNAL(clicked()),this,SLOT(reset()));
layout->addWidget(m_clearButton);
@@ -127,7 +128,7 @@ QWidget(parent)
layout->addWidget(m_statusCombo);
m_fullSearchButton = new QToolButton(this);
- m_fullSearchButton->setIcon(QIcon(":icon/find"));
+ m_fullSearchButton->setIcon(Qtmail::icon("search"));
connect(m_fullSearchButton,SIGNAL(clicked(bool)),this,SIGNAL(fullSearchRequested()));
layout->addWidget(m_fullSearchButton);