Added missing PanelTabBar to src.pro.
authorJussi Laitinen <jupe@l3l7588.ixonos.local>
Mon, 16 Aug 2010 10:22:13 +0000 (13:22 +0300)
committerJussi Laitinen <jupe@l3l7588.ixonos.local>
Mon, 16 Aug 2010 10:22:13 +0000 (13:22 +0300)
src/src.pro
src/ui/friendlistpanel.cpp
src/ui/routingpanel.cpp

index 8ea4422..81399d9 100644 (file)
@@ -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
index b9b4911..1788f48 100644 (file)
@@ -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);
index 4369909..7289978 100644 (file)
@@ -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();