summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/kbabelsplash.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/kbabeldict/kbabelsplash.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/kbabeldict/kbabelsplash.cpp')
-rw-r--r--kbabel/kbabeldict/kbabelsplash.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kbabel/kbabeldict/kbabelsplash.cpp b/kbabel/kbabeldict/kbabelsplash.cpp
index 16ac2352..7b62f31e 100644
--- a/kbabel/kbabeldict/kbabelsplash.cpp
+++ b/kbabel/kbabeldict/kbabelsplash.cpp
@@ -28,36 +28,36 @@
#include "kbabelsplash.h"
-#include <qapplication.h>
-#include <qlabel.h>
-#include <qpixmap.h>
-#include <qevent.h>
-#include <qstring.h>
-#include <qfontmetrics.h>
-#include <qpainter.h>
+#include <tqapplication.h>
+#include <tqlabel.h>
+#include <tqpixmap.h>
+#include <tqevent.h>
+#include <tqstring.h>
+#include <tqfontmetrics.h>
+#include <tqpainter.h>
#include <kstandarddirs.h>
KBabelSplash* KBabelSplash::instance = 0;
-KBabelSplash::KBabelSplash( QWidget* parent, const char* name )
- : QVBox( parent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
+KBabelSplash::KBabelSplash( TQWidget* parent, const char* name )
+ : TQVBox( parent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
{
setMargin( 0 );
setSpacing( 0 );
- QLabel* picLabel = new QLabel( this );
- QPixmap pixmap;
+ TQLabel* picLabel = new TQLabel( this );
+ TQPixmap pixmap;
if( pixmap.load( locate( "data", "kbabel/pics/splash.png" ) ) )
picLabel->setPixmap( pixmap );
- picLabel->setFrameStyle(QFrame::WinPanel | QFrame::Raised);
+ picLabel->setFrameStyle(TQFrame::WinPanel | TQFrame::Raised);
// Set geometry, with support for Xinerama systems
- QRect r;
+ TQRect r;
r.setSize(sizeHint());
- int ps = QApplication::desktop()->primaryScreen();
- r.moveCenter( QApplication::desktop()->screenGeometry(ps).center() );
+ int ps = TQApplication::desktop()->primaryScreen();
+ r.moveCenter( TQApplication::desktop()->screenGeometry(ps).center() );
setGeometry(r);
if( instance ) delete instance;
@@ -65,7 +65,7 @@ KBabelSplash::KBabelSplash( QWidget* parent, const char* name )
}
-void KBabelSplash::mousePressEvent( QMouseEvent* )
+void KBabelSplash::mousePressEvent( TQMouseEvent* )
{
close();
}