summaryrefslogtreecommitdiff
path: root/client/aboutwindow.cc
diff options
context:
space:
mode:
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);