[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/plasma/applets
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-02-11 8:24:21
Message-ID: 1202718261.860943.13847.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 773506 by aseigo:

setSize -> resize


 M  +3 -4      fortune-teller/fortune-teller.cpp  
 M  +1 -1      luna/luna.cpp  
 M  +1 -1      news/news.cpp  
 M  +1 -1      system-monitor/hdd.cpp  
 M  +1 -1      system-monitor/hwinfo.cpp  
 M  +1 -1      system-monitor/system-monitor.cpp  
 M  +1 -1      system-monitor/temperature.cpp  
 M  +1 -1      worldclock/plasmamap.cpp  


--- trunk/playground/base/plasma/applets/fortune-teller/fortune-teller.cpp \
#773505:773506 @@ -38,7 +38,7 @@
   m_updateInterval = 0;
   m_engine->connectSource(m_executable, this, m_updateInterval);
 
-  setSize(QSize(125,125));
+  resize(QSize(125,125));
  
   m_display = new Plasma::Label(this);
   m_display->setPen(QPen(QColor(Qt::white)));
@@ -80,7 +80,7 @@
   kDebug() << "Label:" << m_display->text();
   m_display->update();
   
-  setSize(size());
+  resize(size());
  
   updateGeometry();
   
@@ -96,8 +96,7 @@
 
 void FortuneTeller::constraintsUpdated(Plasma::Constraints constraints)
 {
-  
-  setSize(size());
+  resize(size());
  
   if (constraints & Plasma::FormFactorConstraint) {
     prepareGeometryChange();
--- trunk/playground/base/plasma/applets/luna/luna.cpp #773505:773506
@@ -34,7 +34,7 @@
 Luna::Luna(QObject *parent, const QVariantList &args)
     : Plasma::Applet(parent, args)
 {
-    setSize(QSize(128, 128));
+    resize(QSize(128, 128));
 
     counter = -1;
 }
--- trunk/playground/base/plasma/applets/news/news.cpp #773505:773506
@@ -46,7 +46,7 @@
       m_dialog(0)
 {
     setHasConfigurationInterface(true);
-    setSize(QSize(250, 400));
+    resize(QSize(250, 400));
 }
 
 News::~News()
--- trunk/playground/base/plasma/applets/system-monitor/hdd.cpp #773505:773506
@@ -30,7 +30,7 @@
     : SM::Applet(parent, args), m_interval(30), m_dialog(0), m_layout(0)
 {
     setHasConfigurationInterface(true);
-    setSize(QSize(215, 99));
+    resize(QSize(215, 99));
 }
 
 Hdd::~Hdd()
--- trunk/playground/base/plasma/applets/system-monitor/hwinfo.cpp #773505:773506
@@ -36,7 +36,7 @@
     : Plasma::Applet(parent, args), m_layout(0), m_header(0), m_info(0)
 {
     setHasConfigurationInterface(false);
-    setSize(QSize(234, 135));
+    resize(QSize(234, 135));
 }
 
 HWInfo::~HWInfo()
--- trunk/playground/base/plasma/applets/system-monitor/system-monitor.cpp \
#773505:773506 @@ -32,7 +32,7 @@
 SystemMonitor::SystemMonitor(QObject *parent, const QVariantList &args)
     : Plasma::Applet(parent, args), m_layout(0), m_buttons(0)
 {
-    setSize(QSize(220, 80));
+    resize(QSize(220, 80));
 }
 
 SystemMonitor::~SystemMonitor()
--- trunk/playground/base/plasma/applets/system-monitor/temperature.cpp \
#773505:773506 @@ -28,7 +28,7 @@
     : SM::Applet(parent, args), m_temps(0), m_showPlotters(false), m_dialog(0), \
m_layout(0), m_header(0), m_tempModel(0)  {
     setHasConfigurationInterface(true);
-    setSize(QSize(215, 109));
+    resize(QSize(215, 109));
 }
 
 Temperature::~Temperature()
--- trunk/playground/base/plasma/applets/worldclock/plasmamap.cpp #773505:773506
@@ -58,7 +58,7 @@
     m_lastContentsRect()
 {
     setDrawStandardBackground(true);
-    setSize(QSize(400, 200));
+    resize(QSize(400, 200));
     m_cityList = new CityList;
     m_currentCity = new City( " ", 0, 0 );
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic