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

List:       kde-commits
Subject:    branches/work/~cgilles/hdrcreator/common
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2009-12-08 9:02:30
Message-ID: 1260262950.123090.30988.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1060132 by cgilles:

polish


 M  +25 -25    smartscrollarea.h  


--- branches/work/~cgilles/hdrcreator/common/smartscrollarea.h #1060131:1060132
@@ -22,8 +22,8 @@
  *
  * ============================================================ */
 
-#ifndef SMARTSA_H
-#define SMARTSA_H
+#ifndef SMARTSSCROLLAREA_H
+#define SMARTSSCROLLAREA_H
 
 // Qt includes
 
@@ -37,33 +37,33 @@
 
 class SmartScrollArea : public QScrollArea 
 {
-	Q_OBJECT
+    Q_OBJECT
     
 public:
   
-	SmartScrollArea( QWidget *parent, QLabel *imagelabel );
-	void zoomIn();
-	void zoomOut();
-	void fitToWindow(bool checked);
-	void normalSize();
-	void scaleLabelToFit();
-	double getScaleFactor()
+    SmartScrollArea( QWidget *parent, QLabel *imagelabel );
+    void zoomIn();
+    void zoomOut();
+    void fitToWindow(bool checked);
+    void normalSize();
+    void scaleLabelToFit();
+    double getScaleFactor()
     {
-		return scaleFactor;
-	}
-	bool isFitting()
+        return scaleFactor;
+    }
+    bool isFitting()
     {
-		return fittingwin;
-	}
+        return fittingwin;
+    }
     
 protected:
 
     void resizeEvent ( QResizeEvent * );
-	void mousePressEvent(QMouseEvent *e) 
+    void mousePressEvent(QMouseEvent *e) 
     {
-		mousePos = e->globalPos();
-	}
-	void mouseMoveEvent(QMouseEvent *e);
+        mousePos = e->globalPos();
+    }
+    void mouseMoveEvent(QMouseEvent *e);
 
 private:
 
@@ -72,12 +72,12 @@
 
 private:
   
-	QLabel* imageLabel;
-	QPoint  mousePos;
-	double  scaleFactor;
-	bool    fittingwin;
+    QLabel* imageLabel;
+    QPoint  mousePos;
+    double  scaleFactor;
+    bool    fittingwin;
 };
 
-#endif // SMARTSA_H
+} // namespace KIPIHDRCreatorPlugin
 
-} // namespace KIPIHDRCreatorPlugin
+#endif // SMARTSSCROLLAREA_H
[prev in list] [next in list] [prev in thread] [next in thread] 

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