summaryrefslogtreecommitdiffstats
path: root/src/langselectw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/langselectw.cpp')
-rw-r--r--src/langselectw.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/langselectw.cpp b/src/langselectw.cpp
index 357acfd..8faa67d 100644
--- a/src/langselectw.cpp
+++ b/src/langselectw.cpp
@@ -9,14 +9,14 @@
#include "langselectw.h"
-#include <qvariant.h>
-#include <qheader.h>
-#include <qlistview.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qimage.h>
-#include <qpixmap.h>
+#include <tqvariant.h>
+#include <tqheader.h>
+#include <tqlistview.h>
+#include <tqlayout.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
+#include <tqimage.h>
+#include <tqpixmap.h>
static const unsigned char img0_langselectw[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
@@ -74,31 +74,31 @@ static const unsigned char img0_langselectw[] = {
/*
- * Constructs a langSelect as a child of 'parent', with the
+ * Constructs a langSelect as a child of 'tqparent', with the
* name 'name' and widget flags set to 'f'.
*/
-langSelect::langSelect( QWidget* parent, const char* name, WFlags fl )
- : QWidget( parent, name, fl )
+langSelect::langSelect( TQWidget* tqparent, const char* name, WFlags fl )
+ : TQWidget( tqparent, name, fl )
{
- QImage img;
+ TQImage img;
img.loadFromData( img0_langselectw, sizeof( img0_langselectw ), "PNG" );
image0 = img;
if ( !name )
setName( "langSelect" );
setIcon( image0 );
- langSelectLayout = new QGridLayout( this, 1, 1, 2, 6, "langSelectLayout");
+ langSelectLayout = new TQGridLayout( this, 1, 1, 2, 6, "langSelectLayout");
- lvLanguages = new QListView( this, "lvLanguages" );
+ lvLanguages = new TQListView( this, "lvLanguages" );
lvLanguages->addColumn( tr2i18n( "Languages" ) );
lvLanguages->header()->setClickEnabled( FALSE, lvLanguages->header()->count() - 1 );
- lvLanguages->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)7, 0, 0, lvLanguages->sizePolicy().hasHeightForWidth() ) );
- lvLanguages->setMinimumSize( QSize( 208, 0 ) );
- lvLanguages->setHScrollBarMode( QListView::AlwaysOff );
- lvLanguages->setResizeMode( QListView::LastColumn );
+ lvLanguages->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)7, 0, 0, lvLanguages->sizePolicy().hasHeightForWidth() ) );
+ lvLanguages->setMinimumSize( TQSize( 208, 0 ) );
+ lvLanguages->setHScrollBarMode( TQListView::AlwaysOff );
+ lvLanguages->setResizeMode( TQListView::LastColumn );
langSelectLayout->addWidget( lvLanguages, 0, 0 );
languageChange();
- resize( QSize(600, 480).expandedTo(minimumSizeHint()) );
+ resize( TQSize(600, 480).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
}
@@ -107,7 +107,7 @@ langSelect::langSelect( QWidget* parent, const char* name, WFlags fl )
*/
langSelect::~langSelect()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, TQt does it all for us
}
/*