summaryrefslogtreecommitdiffstats
path: root/demos/embedded/desktopservices/linktab.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-04 09:20:05 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-08-04 09:20:05 (GMT)
commite3b1daaadf9daff424c71ddcf642986f1bc1be8c (patch)
treea9c61589570dc3379bc1f1696872705206003271 /demos/embedded/desktopservices/linktab.cpp
parent567f66047a8f3d73297048a6eb389732de6f4f87 (diff)
downloadQt-e3b1daaadf9daff424c71ddcf642986f1bc1be8c.zip
Qt-e3b1daaadf9daff424c71ddcf642986f1bc1be8c.tar.gz
Qt-e3b1daaadf9daff424c71ddcf642986f1bc1be8c.tar.bz2
Fixed some Qt coding style deviations for desktopservices demo
Diffstat (limited to 'demos/embedded/desktopservices/linktab.cpp')
-rw-r--r--demos/embedded/desktopservices/linktab.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/embedded/desktopservices/linktab.cpp b/demos/embedded/desktopservices/linktab.cpp
index 32411fe..67dbccf 100644
--- a/demos/embedded/desktopservices/linktab.cpp
+++ b/demos/embedded/desktopservices/linktab.cpp
@@ -50,7 +50,7 @@
#include "linktab.h"
LinkTab::LinkTab(QWidget *parent) :
- ContentTab(parent)
+ ContentTab(parent)
{
}
@@ -66,9 +66,9 @@ void LinkTab::populateListWidget()
QUrl LinkTab::itemUrl(QListWidgetItem *item)
{
- if(m_WebItem == item) {
+ if (m_WebItem == item) {
return QUrl(tr("http://www.qtsoftware.com"));
- } else if(m_MailToItem == item) {
+ } else if (m_MailToItem == item) {
return QUrl(tr("mailto:qts60-feedback@trolltech.com?subject=QtS60 feedback&body=Hello"));
} else {
// We should never endup here
@@ -78,8 +78,8 @@ QUrl LinkTab::itemUrl(QListWidgetItem *item)
}
void LinkTab::handleErrorInOpen(QListWidgetItem *item)
{
- if(m_MailToItem == item) {
- QMessageBox::warning( this, tr("Operation Failed"), tr("Please check that you have\ne-mail account defined."), QMessageBox::Close);
+ if (m_MailToItem == item) {
+ QMessageBox::warning(this, tr("Operation Failed"), tr("Please check that you have\ne-mail account defined."), QMessageBox::Close);
} else {
ContentTab::handleErrorInOpen(item);
}