diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-08-04 09:20:05 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-08-04 09:20:05 (GMT) |
commit | e3b1daaadf9daff424c71ddcf642986f1bc1be8c (patch) | |
tree | a9c61589570dc3379bc1f1696872705206003271 /demos/embedded/desktopservices/linktab.cpp | |
parent | 567f66047a8f3d73297048a6eb389732de6f4f87 (diff) | |
download | Qt-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.cpp | 10 |
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); } |