[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Thu Aug 4 17:53:59 CEST 2005


SVN commit 443000 by staikos:

add const 


 M  +1 -1      kstborderedviewobject.cpp  
 M  +1 -1      kstborderedviewobject.h  
 M  +1 -1      kstviewbox.cpp  
 M  +1 -1      kstviewbox.h  
 M  +1 -1      kstviewellipse.cpp  
 M  +1 -1      kstviewellipse.h  
 M  +1 -1      kstviewlabel.cpp  
 M  +1 -1      kstviewlabel.h  
 M  +1 -1      kstviewobject.cpp  
 M  +1 -1      kstviewobject.h  
 M  +1 -1      kstviewpicture.cpp  
 M  +1 -1      kstviewpicture.h  


--- trunk/extragear/graphics/kst/kst/kstborderedviewobject.cpp #442999:443000
@@ -181,7 +181,7 @@
 }
 
 
-QMap<QString, QPair<QString, QString> > KstBorderedViewObject::dialogData() {
+QMap<QString, QPair<QString, QString> > KstBorderedViewObject::dialogData() const {
   QMap<QString, QPair<QString, QString> > map = KstViewObject::dialogData();
   map.insert(QString("BorderColor"), qMakePair(QString("Border Color"), QString("KColorButton")));
   map.insert(QString("BorderWidth"), qMakePair(QString("Border Width"), QString("QSpinBox")));
--- trunk/extragear/graphics/kst/kst/kstborderedviewobject.h #442999:443000
@@ -87,7 +87,7 @@
     virtual QRect contentsRect() const;
     virtual void setContentsRect(QRect& rect);
     
-    virtual QMap<QString, QPair<QString, QString> > dialogData();
+    virtual QMap<QString, QPair<QString, QString> > dialogData() const;
 
   public slots:
     virtual void paint(KstPaintType type, QPainter& p);
--- trunk/extragear/graphics/kst/kst/kstviewbox.cpp #442999:443000
@@ -125,7 +125,7 @@
 }
 
 
-QMap<QString, QPair<QString, QString> > KstViewBox::dialogData() {
+QMap<QString, QPair<QString, QString> > KstViewBox::dialogData() const {
   QMap<QString, QPair<QString, QString> > map = KstBorderedViewObject::dialogData();
   map.insert(QString("xRound"), qMakePair(QString("X Roundness"), QString("QSpinBox")));
   map.insert(QString("yRound"), qMakePair(QString("Y Roundness"), QString("QSpinBox")));
--- trunk/extragear/graphics/kst/kst/kstviewbox.h #442999:443000
@@ -54,7 +54,7 @@
     virtual void setForegroundColor(const QColor& color);
     virtual QColor foregroundColor() const;
     
-    virtual QMap<QString, QPair<QString, QString> > dialogData();
+    virtual QMap<QString, QPair<QString, QString> > dialogData() const;
 
   private:
     int _xRound, _yRound;
--- trunk/extragear/graphics/kst/kst/kstviewellipse.cpp #442999:443000
@@ -91,7 +91,7 @@
 }
 
 
-QMap<QString, QPair<QString, QString> > KstViewEllipse::dialogData() {
+QMap<QString, QPair<QString, QString> > KstViewEllipse::dialogData() const {
   QMap<QString, QPair<QString, QString> > map = KstViewObject::dialogData();
   map.insert(QString("borderColor"), qMakePair(QString("Border Color"), QString("KColorButton")));
   map.insert(QString("borderWidth"), qMakePair(QString("Border Width"), QString("QSpinBox")));
--- trunk/extragear/graphics/kst/kst/kstviewellipse.h #442999:443000
@@ -49,7 +49,7 @@
     virtual void save(QTextStream& ts, const QString& indent = QString::null);
     virtual void saveTag(QTextStream& ts, const QString& indent = QString::null);
     
-    virtual QMap<QString, QPair<QString, QString> > dialogData();
+    virtual QMap<QString, QPair<QString, QString> > dialogData() const;
     
   private:
     int _borderWidth;
--- trunk/extragear/graphics/kst/kst/kstviewlabel.cpp #442999:443000
@@ -439,7 +439,7 @@
 }
 
 
-QMap<QString, QPair<QString, QString> > KstViewLabel::dialogData() {
+QMap<QString, QPair<QString, QString> > KstViewLabel::dialogData() const {
   QMap<QString, QPair<QString, QString> > map = KstBorderedViewObject::dialogData();
   map.insert(QString("Text"), qMakePair(QString("Text"), QString("QLineEdit")));
   map.insert(QString("Size"), qMakePair(QString("Font Size"), QString("QSpinBox")));
--- trunk/extragear/graphics/kst/kst/kstviewlabel.h #442999:443000
@@ -70,7 +70,7 @@
     virtual void resize(const QSize&);
     virtual QRegion clipRegion();
     
-    virtual QMap<QString, QPair<QString, QString> > dialogData();
+    virtual QMap<QString, QPair<QString, QString> > dialogData() const;
 
   public slots:
     void adjustSizeForText();
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #442999:443000
@@ -1438,7 +1438,7 @@
 }
 
 
-QMap<QString, QPair<QString, QString> > KstViewObject::dialogData() {
+QMap<QString, QPair<QString, QString> > KstViewObject::dialogData() const {
   return QMap<QString, QPair<QString, QString> >();
 }
 
--- trunk/extragear/graphics/kst/kst/kstviewobject.h #442999:443000
@@ -203,7 +203,7 @@
     // dialog data returns instructions for the edit dialog of this view object in the
     // following format:
     // QT_PROPERTY-name -> (Friendly name, widget type)
-    virtual QMap<QString, QPair<QString, QString> > dialogData();
+    virtual QMap<QString, QPair<QString, QString> > dialogData() const;
 
   public slots:
     virtual void paint(KstPaintType type, QPainter& p);
--- trunk/extragear/graphics/kst/kst/kstviewpicture.cpp #442999:443000
@@ -189,7 +189,7 @@
 }
 
 
-QMap<QString, QPair<QString, QString> > KstViewPicture::dialogData() {
+QMap<QString, QPair<QString, QString> > KstViewPicture::dialogData() const {
   QMap<QString, QPair<QString, QString> > map = KstViewObject::dialogData();
   map.insert(QString("Path"), qMakePair(QString("File Path"), QString("KURLRequester")));
   return map;
--- trunk/extragear/graphics/kst/kst/kstviewpicture.h #442999:443000
@@ -47,7 +47,7 @@
     void setRefreshTimer(int seconds);
     int refreshTimer() const;
     
-    virtual QMap<QString, QPair<QString, QString> > dialogData();
+    virtual QMap<QString, QPair<QString, QString> > dialogData() const;
 
   public slots:
     void paint(KstPaintType type, QPainter& p);


More information about the Kst mailing list