[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Jun 18 00:12:13 CEST 2004


CVS commit by staikos: 

in general these interfaces look good to me.  I normalized some of the 
notation style since this is a public API.  Also, it's best to prefer US
English for public APIs (color vs colour)


  M +28 -28    kstiface.h   1.19


--- kdeextragear-2/kst/kst/kstiface.h  #1.18:1.19
@@ -120,12 +120,12 @@ k_dcop:
 
   //close window
-  virtual bool closeWindow(const QString& windowname) = 0;
+  virtual bool closeWindow(const QString& windowName) = 0;
 
   //make window active
-  virtual bool activateWindow(const QString& windowname) = 0;
+  virtual bool activateWindow(const QString& windowName) = 0;
 
   //position/resize window (relative to kst window)
-  virtual bool positionWindow(int topleftX,
-                              int topleftY,
+  virtual bool positionWindow(int topLeftX,
+      int topLeftY,
                               int width,
                               int height) = 0;
@@ -136,8 +136,8 @@ k_dcop:
   //change plot axes
   virtual bool setPlotAxes(const QString& plotName,
-                           int XLower,
-                           int XUpper,
-                           int YLower,
-                           int YUpper) = 0;
+      int xLower,
+      int xUpper,
+      int yLower,
+      int yUpper) = 0;
 
   //create new histogram object.  Will not be plotted.
@@ -154,5 +154,5 @@ k_dcop:
                                int numBins,
                                int normalizationType,
-                               const QColor& colour) = 0;
+      const QColor& color) = 0;
 
   //create new power spectrum.  Will not be plotted.
@@ -166,5 +166,5 @@ k_dcop:
                                    double sampleRate,
                                    const QString& vectorUnits,
-                                   const QColor& colour) = 0;
+      const QColor& color) = 0;
 
   //create new event.





More information about the Kst mailing list