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

List:       kde-commits
Subject:    playground/base/plasma/applets/presence
From:       George Goldberg <grundleborg () googlemail ! com>
Date:       2008-07-05 13:40:57
Message-ID: 1215265257.706286.9439.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 828345 by gberg:

Remove methods that are no longer needed.


 M  +2 -21     presence.cpp  
 M  +0 -3      presence.h  


--- trunk/playground/base/plasma/applets/presence/presence.cpp #828344:828345
@@ -97,20 +97,8 @@
 {
 
 }
+
 /*
-void Presence::constraintsEvent(Plasma::Constraints constraints)
-{
-    if (constraints & Plasma::SizeConstraint) {
-        if (m_layout) {
-            m_layout->setGeometry(QRectF(QPointF(0,0), contentSize()));
-            m_layout->setPreferredSize(contentSize());
-            m_form->resize(contentSize());
-            prepareGeometryChange();
-            update();
-        }
-    }
-}*/
-/*
 QSizeF Presence::contentSizeHint() const
 {
     if (m_layout) {
@@ -221,12 +209,5 @@
         kDebug() << "ERROR: two or more rows for the same data source in the \
model!";  }
 }
-/*
-void Presence::paintInterface(QPainter *p, const QStyleOptionGraphicsItem *option, \
                const QRect &contentsRect)
-{
-    Q_UNUSED(p);
-    Q_UNUSED(option);
-    Q_UNUSED(contentsRect);
-}
-*/
+
 #include "presence.moc"
--- trunk/playground/base/plasma/applets/presence/presence.h #828344:828345
@@ -41,8 +41,6 @@
         ~Presence();
 
      //   QSizeF contentSizeHint() const;
-      //  virtual void init(void);
-     //   void paintInterface(QPainter *painter, const QStyleOptionGraphicsItem \
*option, const QRect &contentsRect);  QWidget * widget();
 
     private slots:
@@ -51,7 +49,6 @@
         void dataUpdated(const QString &source, const Plasma::DataEngine::Data \
&data);  
     protected:
-     //   void constraintsEvent(Plasma::Constraints constraints);
         void initialize();
     private:
         QVBoxLayout* m_layout;


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

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