Diff of /libgui/CornerPatchWidget.cpp [45d3b7] .. [99b84b] Maximize Restore

  Switch to side-by-side view

--- a/libgui/CornerPatchWidget.cpp
+++ b/libgui/CornerPatchWidget.cpp
@@ -1,37 +1,29 @@
-#include <stdio.h>
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qdir.h>
-#include <kapp.h>
+
+#include <qpainter.h>
 #include "CornerPatchWidget.h"
 
 //**********************************************************
-CornerPatchWidget::CornerPatchWidget (QWidget *parent,int pos): QWidget (parent)
+CornerPatchWidget::CornerPatchWidget(QWidget *parent, int pos)
+    :QWidget(parent)
 {
-  this->pos=pos;
+    this->pos = pos;
 }
+
 //**********************************************************
-CornerPatchWidget::~CornerPatchWidget ()
+CornerPatchWidget::~CornerPatchWidget()
 {
 }
+
 //**********************************************************
-void CornerPatchWidget::paintEvent  (QPaintEvent *)
+void CornerPatchWidget::paintEvent(QPaintEvent *)
 {
-  int h=height();
-  int w=width();
-  QPainter p;
-  p.begin (this);
-
-  p.setPen (colorGroup().light());
-  p.drawLine (0,0,0,h-1);
-  p.setPen (colorGroup().dark());
-  p.drawLine (0,h-1,w,h-1);
-  p.end ();
+    int h = height();
+    int w = width();
+    QPainter p;
+    p.begin (this);
+    p.setPen (colorGroup().light());
+    p.drawLine (0, 0, 0, h - 1);
+    p.setPen (colorGroup().dark());
+    p.drawLine (0, h - 1, w, h - 1);
+    p.end ();
 }
-
-
-
-
-
-
-