summaryrefslogtreecommitdiff
path: root/client/aboutwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2006-03-06 10:44:07 +0000
committerdeva <deva>2006-03-06 10:44:07 +0000
commitc9bfc4db72b84292f541c795993abde98e22121f (patch)
tree687411dce72a70dc0f4c337c8e496607308f8ab4 /client/aboutwindow.cc
parentc629a137b5f91097004f1a267d1433393e5cc512 (diff)
*** empty log message ***
Diffstat (limited to 'client/aboutwindow.cc')
-rw-r--r--client/aboutwindow.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/aboutwindow.cc b/client/aboutwindow.cc
index 8743ed8..849608d 100644
--- a/client/aboutwindow.cc
+++ b/client/aboutwindow.cc
@@ -29,14 +29,14 @@
#include "aboutwindow.h"
-#include <qpainter.h>
-#include <qfont.h>
+#include <QPainter>
+#include <QFont>
#include <config.h>
#define MARGIN 12
-AboutWindow::AboutWindow( QWidget* parent, const char* name )
- : QDialog( parent, name )
+AboutWindow::AboutWindow( QWidget* parent)
+ : QDialog( parent )
{
setModal(true);
pix_about = new QPixmap();
@@ -44,7 +44,7 @@ AboutWindow::AboutWindow( QWidget* parent, const char* name )
resize(pix_about->width(), pix_about->height());
- setBackgroundColor(QColor(200,200,200));
+ // setBackgroundColor(QColor(200,200,200));
btn_ok = new QPushButton(this);
btn_ok->setText("OK");
@@ -79,7 +79,7 @@ void AboutWindow::paintEvent( QPaintEvent *event )
painter.drawPixmap(0,0, *pix_about);
// Draw title and version
- painter.setBrush( SolidPattern );
+ painter.setBrush( Qt::SolidPattern );
painter.setFont( QFont( "Arial", 18, QFont::Bold ) );
painter.setPen( Qt::black );
painter.drawText(version_x, version_y, "MIAV-Grab v" VERSION);