Removed unnecessary images from res folder and made a few cosmetic changes
authorPekka Nissinen <pekka.nissinen@ixonos.com>
Wed, 2 Jun 2010 12:41:13 +0000 (15:41 +0300)
committerPekka Nissinen <pekka.nissinen@ixonos.com>
Wed, 2 Jun 2010 12:41:13 +0000 (15:41 +0300)
14 files changed:
images.qrc
res/images/big_profile_image.gif [deleted file]
res/images/large_profile_pic_border_bottom_filler.png [deleted file]
res/images/large_profile_pic_border_bottom_left.png [deleted file]
res/images/large_profile_pic_border_bottom_right.png [deleted file]
res/images/large_profile_pic_border_side_filler.png [deleted file]
res/images/large_profile_pic_border_top_filler.png [deleted file]
res/images/large_profile_pic_border_top_left.png [deleted file]
res/images/large_profile_pic_border_top_right.png [deleted file]
src/situareservice/situareservice.cpp
src/src.pro
src/ui/avatarimage.cpp
src/ui/sidepanel.cpp
src/user/user.cpp

index 0847afd..b311eaf 100644 (file)
@@ -41,6 +41,5 @@
         <file>res/images/large_profile_pic_border_left.png</file>
         <file>res/images/large_profile_pic_border_middle.png</file>
         <file>res/images/large_profile_pic_border_right.png</file>
-        <file>res/images/big_profile_image.gif</file>
     </qresource>
 </RCC>
diff --git a/res/images/big_profile_image.gif b/res/images/big_profile_image.gif
deleted file mode 100644 (file)
index 1d68d35..0000000
Binary files a/res/images/big_profile_image.gif and /dev/null differ
diff --git a/res/images/large_profile_pic_border_bottom_filler.png b/res/images/large_profile_pic_border_bottom_filler.png
deleted file mode 100644 (file)
index 3a1db41..0000000
Binary files a/res/images/large_profile_pic_border_bottom_filler.png and /dev/null differ
diff --git a/res/images/large_profile_pic_border_bottom_left.png b/res/images/large_profile_pic_border_bottom_left.png
deleted file mode 100644 (file)
index 4f0693a..0000000
Binary files a/res/images/large_profile_pic_border_bottom_left.png and /dev/null differ
diff --git a/res/images/large_profile_pic_border_bottom_right.png b/res/images/large_profile_pic_border_bottom_right.png
deleted file mode 100644 (file)
index 7e251d7..0000000
Binary files a/res/images/large_profile_pic_border_bottom_right.png and /dev/null differ
diff --git a/res/images/large_profile_pic_border_side_filler.png b/res/images/large_profile_pic_border_side_filler.png
deleted file mode 100644 (file)
index 3c45627..0000000
Binary files a/res/images/large_profile_pic_border_side_filler.png and /dev/null differ
diff --git a/res/images/large_profile_pic_border_top_filler.png b/res/images/large_profile_pic_border_top_filler.png
deleted file mode 100644 (file)
index e533baa..0000000
Binary files a/res/images/large_profile_pic_border_top_filler.png and /dev/null differ
diff --git a/res/images/large_profile_pic_border_top_left.png b/res/images/large_profile_pic_border_top_left.png
deleted file mode 100644 (file)
index cd9a00f..0000000
Binary files a/res/images/large_profile_pic_border_top_left.png and /dev/null differ
diff --git a/res/images/large_profile_pic_border_top_right.png b/res/images/large_profile_pic_border_top_right.png
deleted file mode 100644 (file)
index d2a1ab6..0000000
Binary files a/res/images/large_profile_pic_border_top_right.png and /dev/null differ
index b98140c..fcc4c4f 100644 (file)
@@ -369,7 +369,7 @@ void SituareService::parseUserData(const QByteArray &jsonReply)
 void SituareService::imageReceived(const QUrl &url, const QPixmap &image)
 {
     qDebug() << __PRETTY_FUNCTION__;
-    qDebug() << "Image URL: " << url << " size :" << image.size();    
+    qDebug() << "Image URL: " << url << " size :" << image.size();
 
     // assign facebook silhouette image to all who doesn't have a profile image
     if(url == QUrl(SILHOUETTE_URL)) {
index 2368dba..ceb28fe 100644 (file)
@@ -105,8 +105,7 @@ maemo5 | simulator {
         HEADERS += network/networkhandlerprivate.h
         QT += dbus
         CONFIG += icd2
-    }
-    else {
+    } else {
         SOURCES += network/networkhandlerprivatestub.cpp
         HEADERS += network/networkhandlerprivatestub.h
     }
index 6266c3f..12b21d4 100644 (file)
@@ -42,7 +42,7 @@ const int RIGHT_BORDER_WIDHT = 20; ///< Width of large profile image right borde
 
 QPixmap AvatarImage::create(const QPixmap &image, ImageHeight height)
 {
-    qWarning() << __PRETTY_FUNCTION__;
+    qDebug() << __PRETTY_FUNCTION__;
 
     if (height == Small) {
         QPixmap avatarImage = QPixmap(IMAGE_WIDTH, IMAGE_HEIGHT);
index 162c3eb..9f90bae 100644 (file)
@@ -69,6 +69,7 @@ SidePanel::SidePanel(QWidget *parent) :
 void SidePanel::openPanel()
 {
     qDebug() << __PRETTY_FUNCTION__;
+    
     if(!m_isOpen)
     {
         emit toggleState();
@@ -78,6 +79,7 @@ void SidePanel::openPanel()
 void SidePanel::closePanel()
 {
     qDebug() << __PRETTY_FUNCTION__;
+    
     if(m_isOpen)
     {
         emit toggleState();
@@ -87,6 +89,7 @@ void SidePanel::closePanel()
 void SidePanel::screenResized(const QSize &size)
 {
     qDebug() << __PRETTY_FUNCTION__;
+
     if(currentType == SidePanel::UserPanel)
     {
         m_panelBase->resize(USERPANEL_WIDTH, SLIDINGBAR_HEIGHT + MARGIN_CORRECTION);
@@ -111,6 +114,7 @@ void SidePanel::screenResized(const QSize &size)
 void SidePanel::setType(SidePanel::PanelType type)
 {
     qDebug() << __PRETTY_FUNCTION__;
+
     if(currentType == SidePanel::None) {
         if(type == SidePanel::UserPanel) {
             currentType = type;
@@ -164,6 +168,7 @@ void SidePanel::setType(SidePanel::PanelType type)
 void SidePanel::stateChangedToClosed()
 {
     qDebug() << __PRETTY_FUNCTION__;
+    
     m_isOpen = false;
     emit panelClosed();
 }
@@ -171,6 +176,7 @@ void SidePanel::stateChangedToClosed()
 void SidePanel::stateChangedToOpen()
 {
     qDebug() << __PRETTY_FUNCTION__;
+    
     m_isOpen = true;
     emit panelOpened();
 }
index f63f1dd..9c8ca08 100644 (file)
@@ -28,7 +28,7 @@ User::User(const QString &address, const QPointF &coordinates, const QString &na
                , m_coordinates(coordinates)
                , m_name(name)
                , m_note(note)
-               , m_profileImageUrl(imageUrl)               
+               , m_profileImageUrl(imageUrl)
                , m_timestamp(timestamp)
                , m_type(type)
                , m_units(units)