From: Jussi Laitinen Date: Mon, 16 Aug 2010 10:22:13 +0000 (+0300) Subject: Added missing PanelTabBar to src.pro. X-Git-Tag: v2.0b-1~61^2^2~13^2~2 X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=58dc173493d348a056511e5caf6b886ebd12d47e;hp=29bc57d6aee49487110c32268e7af1372f134883;p=situare Added missing PanelTabBar to src.pro. --- diff --git a/src/src.pro b/src/src.pro index 8ea4422..81399d9 100644 --- a/src/src.pro +++ b/src/src.pro @@ -75,6 +75,7 @@ SOURCES += main.cpp \ ui/panelbar.cpp \ ui/panelcontent.cpp \ ui/panelbase.cpp \ + ui/paneltabbar.cpp \ user/user.cpp \ ui/routingpanel.cpp \ ui/routewaypointlistview.cpp \ @@ -157,6 +158,7 @@ HEADERS += application.h \ ui/panelbar.h \ ui/panelcontent.h \ ui/panelbase.h \ + ui/paneltabbar.h \ ui/routingpanel.h \ ui/routewaypointlistview.h \ ui/routewaypointlistitem.h diff --git a/src/ui/friendlistpanel.cpp b/src/ui/friendlistpanel.cpp index b9b4911..1788f48 100644 --- a/src/ui/friendlistpanel.cpp +++ b/src/ui/friendlistpanel.cpp @@ -45,7 +45,6 @@ FriendListPanel::FriendListPanel(QWidget *parent) setLayout(friendListPanelLayout); QHBoxLayout *filterLayout = new QHBoxLayout(); -///< @todo magic filterLayout->setContentsMargins(FRIENDPANEL_FILTER_MARGIN_LEFT, 0, FRIENDPANEL_FILTER_MARGIN_RIGHT, 0); @@ -53,7 +52,7 @@ FriendListPanel::FriendListPanel(QWidget *parent) m_friendListHeaderWidget->setLayout(filterLayout); m_friendListHeaderWidget->setAutoFillBackground(true); - m_routeButton = new QPushButton("Route to friend"); + m_routeButton = new QPushButton(tr("Route to friend")); QPalette labelPalette = m_friendListHeaderWidget->palette(); labelPalette.setColor(QPalette::Background, Qt::black); diff --git a/src/ui/routingpanel.cpp b/src/ui/routingpanel.cpp index 4369909..7289978 100644 --- a/src/ui/routingpanel.cpp +++ b/src/ui/routingpanel.cpp @@ -27,9 +27,9 @@ RoutingPanel::RoutingPanel(QWidget *parent) QVBoxLayout *listViewLayout = new QVBoxLayout; listViewLayout->setContentsMargins(PANEL_MARGIN_LEFT, 0, PANEL_MARGIN_RIGHT, 0); - m_searchLocationButton = new QPushButton("Search location"); + m_searchLocationButton = new QPushButton(tr("Search location")); - m_routeButton = new QPushButton("Route to location"); + m_routeButton = new QPushButton(tr("Route to location")); m_routeButton->hide(); m_locationListHeaderWidget = new QWidget();