summaryrefslogtreecommitdiffstats
path: root/tdeui/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests')
-rw-r--r--tdeui/tests/itemcontainertest.cpp16
-rw-r--r--tdeui/tests/kblendtest.cpp2
-rw-r--r--tdeui/tests/kbuttonboxtest.cpp12
-rw-r--r--tdeui/tests/kcolordlgtest.cpp2
-rw-r--r--tdeui/tests/kcolortest.cpp22
-rw-r--r--tdeui/tests/kcompletiontest.cpp4
-rw-r--r--tdeui/tests/kdesattest.cpp2
-rw-r--r--tdeui/tests/kdocktest.cpp6
-rw-r--r--tdeui/tests/kgradienttest.cpp4
-rw-r--r--tdeui/tests/khashtest.cpp6
-rw-r--r--tdeui/tests/kledtest.cpp4
-rw-r--r--tdeui/tests/ktabwidgettest.cpp8
-rw-r--r--tdeui/tests/kunbalancedgrdtest.cpp4
-rw-r--r--tdeui/tests/kwizardtest.cpp2
-rw-r--r--tdeui/tests/kxmlguitest.cpp2
-rw-r--r--tdeui/tests/qxembedtest.cpp2
16 files changed, 49 insertions, 49 deletions
diff --git a/tdeui/tests/itemcontainertest.cpp b/tdeui/tests/itemcontainertest.cpp
index c3b6d1ddc..4837fe119 100644
--- a/tdeui/tests/itemcontainertest.cpp
+++ b/tdeui/tests/itemcontainertest.cpp
@@ -66,7 +66,7 @@ TopLevel::TopLevel(TQWidget *parent, const char *name)
hBox->addSpacing( 5 );
//Selection mode selection
- m_pbgMode = new TQButtonGroup( 1, Qt::Horizontal, "Selection Mode", this);
+ m_pbgMode = new TQButtonGroup( 1, TQt::Horizontal, "Selection Mode", this);
m_pbgMode->insert(new TQRadioButton("NoSlection", m_pbgMode), TopLevel::NoSelection );
m_pbgMode->insert(new TQRadioButton("Single", m_pbgMode), TopLevel::Single );
m_pbgMode->insert(new TQRadioButton("Multi", m_pbgMode), TopLevel::Multi );
@@ -78,17 +78,17 @@ TopLevel::TopLevel(TQWidget *parent, const char *name)
this, TQT_SLOT( slotSwitchMode( int ) ) );
//Signal labels
- TQGroupBox* gbWiget = new TQGroupBox( 1, Qt::Horizontal, "Widget", this);
+ TQGroupBox* gbWiget = new TQGroupBox( 1, TQt::Horizontal, "Widget", this);
m_plblWidget = new TQLabel( gbWiget );
vBox->addWidget( gbWiget );
- TQGroupBox* gbSignal = new TQGroupBox( 1, Qt::Horizontal, "emitted Signal", this);
+ TQGroupBox* gbSignal = new TQGroupBox( 1, TQt::Horizontal, "emitted Signal", this);
m_plblSignal = new TQLabel( gbSignal );
vBox->addWidget( gbSignal );
- TQGroupBox* gbItem = new TQGroupBox( 1, Qt::Horizontal, "on Item", this);
+ TQGroupBox* gbItem = new TQGroupBox( 1, TQt::Horizontal, "on Item", this);
m_plblItem = new TQLabel( gbItem );
vBox->addWidget( gbItem );
- TQButtonGroup* bgListView = new TQButtonGroup( 1, Qt::Horizontal, "TDEListView", this);
+ TQButtonGroup* bgListView = new TQButtonGroup( 1, TQt::Horizontal, "TDEListView", this);
TQCheckBox* cbListView = new TQCheckBox("Single Column", bgListView);
vBox->addWidget( bgListView );
connect( cbListView, TQT_SIGNAL( toggled( bool ) ),
@@ -97,7 +97,7 @@ TopLevel::TopLevel(TQWidget *parent, const char *name)
TDEGlobal::config()->reparseConfiguration();
//Create IconView
- TQGroupBox* gbIconView = new TQGroupBox( 1, Qt::Horizontal, "TDEIconView", this);
+ TQGroupBox* gbIconView = new TQGroupBox( 1, TQt::Horizontal, "TDEIconView", this);
m_pIconView = new TDEIconView( gbIconView );
hBox->addWidget( gbIconView );
hBox->addSpacing( 5 );
@@ -105,7 +105,7 @@ TopLevel::TopLevel(TQWidget *parent, const char *name)
this, TQT_SLOT( slotIconViewExec( TQIconViewItem* ) ) );
//Create ListView
- TQGroupBox* gbListView = new TQGroupBox( 1, Qt::Horizontal, "TDEListView", this);
+ TQGroupBox* gbListView = new TQGroupBox( 1, TQt::Horizontal, "TDEListView", this);
m_pListView = new TDEListView( gbListView );
m_pListView->addColumn("Item");
m_pListView->addColumn("Text");
@@ -115,7 +115,7 @@ TopLevel::TopLevel(TQWidget *parent, const char *name)
this, TQT_SLOT( slotListViewExec( TQListViewItem* ) ) );
//Create ListBox
- TQGroupBox* gbListBox = new TQGroupBox( 1, Qt::Horizontal, "TDEListBox", this);
+ TQGroupBox* gbListBox = new TQGroupBox( 1, TQt::Horizontal, "TDEListBox", this);
m_pListBox = new TDEListBox( gbListBox );
hBox->addWidget( gbListBox );
connect( m_pListBox, TQT_SIGNAL( executed( TQListBoxItem* ) ),
diff --git a/tdeui/tests/kblendtest.cpp b/tdeui/tests/kblendtest.cpp
index 4672b76ee..6484791b5 100644
--- a/tdeui/tests/kblendtest.cpp
+++ b/tdeui/tests/kblendtest.cpp
@@ -28,7 +28,7 @@ void KBlendWidget::paintEvent(TQPaintEvent */*ev*/)
image = TQImage("testimage.png");
TQPainter p(this);
- p.setPen(Qt::black);
+ p.setPen(TQt::black);
// you see here use of anti_dir param (blend from down to up, here)
time.start();
diff --git a/tdeui/tests/kbuttonboxtest.cpp b/tdeui/tests/kbuttonboxtest.cpp
index c9eb1134b..a44175b68 100644
--- a/tdeui/tests/kbuttonboxtest.cpp
+++ b/tdeui/tests/kbuttonboxtest.cpp
@@ -37,7 +37,7 @@ int main(int argc, char **argv) {
"the window!\n"
"Press OK or Cancel when done"
, w);
- l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -65,7 +65,7 @@ int main(int argc, char **argv) {
TQLabel *l = new TQLabel("Another common dialog\n\n"\
"OK and Cancel are right aligned\n"\
"Try resizing the window!", w);
- l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -91,7 +91,7 @@ int main(int argc, char **argv) {
TQLabel *l = new TQLabel("Another common dialog\n\n"\
"OK and Cancel are middle aligned\n"\
"Try resizing the window!", w);
- l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -120,7 +120,7 @@ int main(int argc, char **argv) {
"the maximum width for all buttons\n"
"since it will look ugly -- "
"anyway, it works", w);
- l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -152,7 +152,7 @@ int main(int argc, char **argv) {
"prevent this strange effect as seen\n"
"the former example!"
,w);
- l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -182,7 +182,7 @@ int main(int argc, char **argv) {
"to make vertically aligned buttons\n"
"too?"
,w);
- l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w, KButtonBox::Vertical);
diff --git a/tdeui/tests/kcolordlgtest.cpp b/tdeui/tests/kcolordlgtest.cpp
index dbe39484c..a7738a7ed 100644
--- a/tdeui/tests/kcolordlgtest.cpp
+++ b/tdeui/tests/kcolordlgtest.cpp
@@ -33,7 +33,7 @@ int main( int argc, char *argv[] )
aConfig.setGroup( "KColorDialog-test" );
color = aConfig.readColorEntry( "Chosen" );
- int nRet = KColorDialog::getColor( color, Qt::red /*testing default color*/ );
+ int nRet = KColorDialog::getColor( color, TQt::red /*testing default color*/ );
aConfig.writeEntry( "Chosen", color );
return nRet;
diff --git a/tdeui/tests/kcolortest.cpp b/tdeui/tests/kcolortest.cpp
index 8966be81a..09b4a56c1 100644
--- a/tdeui/tests/kcolortest.cpp
+++ b/tdeui/tests/kcolortest.cpp
@@ -25,7 +25,7 @@ void KColorWidget::paintEvent(TQPaintEvent *)
{
if(!pixmap.isNull())
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
void KColorWidget::doIntensityLoop()
@@ -58,7 +58,7 @@ void KColorWidget::doIntensityLoop()
}
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
stop = t.elapsed();
tqDebug ("Total fullscreen %s dim time for %d steps : %f s",
@@ -71,7 +71,7 @@ void KColorWidget::doIntensityLoop()
KImageEffect::fade(image, 1./max, black);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
}
stop = t.elapsed();
@@ -87,14 +87,14 @@ void KColorWidget::doIntensityLoop()
KImageEffect::intensity(image, 1./max);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::intensity(image, -1./max);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
image = original; image.detach();
@@ -103,13 +103,13 @@ void KColorWidget::doIntensityLoop()
KImageEffect::channelIntensity(image, -1./max, KImageEffect::Red);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::channelIntensity(image, 1./max, KImageEffect::Red);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
image = original; image.detach();
@@ -118,13 +118,13 @@ void KColorWidget::doIntensityLoop()
KImageEffect::channelIntensity(image, -1./max, KImageEffect::Green);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::channelIntensity(image, 1./max, KImageEffect::Green);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
image = original; image.detach();
@@ -133,13 +133,13 @@ void KColorWidget::doIntensityLoop()
KImageEffect::channelIntensity(image, -1./max, KImageEffect::Blue);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::channelIntensity(image, 1./max, KImageEffect::Blue);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
}
}
diff --git a/tdeui/tests/kcompletiontest.cpp b/tdeui/tests/kcompletiontest.cpp
index 261534465..ff477e027 100644
--- a/tdeui/tests/kcompletiontest.cpp
+++ b/tdeui/tests/kcompletiontest.cpp
@@ -38,11 +38,11 @@ Form1::Form1( TQWidget* parent, const char* name )
GroupBox1 = new TQGroupBox( this, "GroupBox1" );
GroupBox1->setTitle( "Completion Test" );
- GroupBox1->setColumnLayout(0, Qt::Vertical );
+ GroupBox1->setColumnLayout(0, TQt::Vertical );
GroupBox1->layout()->setSpacing( 0 );
GroupBox1->layout()->setMargin( 0 );
GroupBox1Layout = new TQVBoxLayout( GroupBox1->layout() );
- GroupBox1Layout->setAlignment( Qt::AlignTop );
+ GroupBox1Layout->setAlignment( TQt::AlignTop );
GroupBox1Layout->setSpacing( 6 );
GroupBox1Layout->setMargin( 11 );
diff --git a/tdeui/tests/kdesattest.cpp b/tdeui/tests/kdesattest.cpp
index 8eab0b125..a986ce026 100644
--- a/tdeui/tests/kdesattest.cpp
+++ b/tdeui/tests/kdesattest.cpp
@@ -33,7 +33,7 @@ void KDesatWidget::paintEvent(TQPaintEvent */*ev*/)
TQString say;
TQPainter p(this);
- p.setPen(Qt::black);
+ p.setPen(TQt::black);
// original image
time.start();
diff --git a/tdeui/tests/kdocktest.cpp b/tdeui/tests/kdocktest.cpp
index 538e2b888..57b8d2a08 100644
--- a/tdeui/tests/kdocktest.cpp
+++ b/tdeui/tests/kdocktest.cpp
@@ -18,7 +18,7 @@ DockTest::DockTest( TQWidget* parent )
m_blueDock->setCaption( "Blue" );
m_blueDock->setGeometry( 50, 50, 100, 100 );
TQWidget *l = new TQWidget( m_blueDock );
- l->setBackgroundColor( Qt::blue );
+ l->setBackgroundColor( TQt::blue );
l->setMinimumSize( 100,100 );
m_blueDock->setWidget( l );
@@ -32,7 +32,7 @@ DockTest::DockTest( TQWidget* parent )
m_redDock->setCaption( "Red" );
m_redDock->setGeometry( 50, 50, 100, 100 );
l = new TQWidget( m_redDock );
- l->setBackgroundColor( Qt::red );
+ l->setBackgroundColor( TQt::red );
l->setMinimumSize( 100,100 );
m_redDock->setWidget( l );
m_redDock->manualDock( m_blueDock, KDockWidget::DockLeft, 3000 );
@@ -45,7 +45,7 @@ DockTest::DockTest( TQWidget* parent )
m_yellowDock->setCaption( "Yellow" );
m_yellowDock->setGeometry( 50, 50, 100, 100 );
l = new TQWidget( m_yellowDock );
- l->setBackgroundColor( Qt::yellow );
+ l->setBackgroundColor( TQt::yellow );
l->setMinimumSize( 100,100 );
m_yellowDock->setWidget( l );
m_yellowDock->manualDock( m_blueDock, KDockWidget::DockTop, 5000 );
diff --git a/tdeui/tests/kgradienttest.cpp b/tdeui/tests/kgradienttest.cpp
index 4ee8c0f93..f828e31f7 100644
--- a/tdeui/tests/kgradienttest.cpp
+++ b/tdeui/tests/kgradienttest.cpp
@@ -13,13 +13,13 @@ void KGradientWidget::paintEvent(TQPaintEvent */*ev*/)
int it, ft;
TQString say;
- TQColor ca = Qt::black, cb = Qt::blue;
+ TQColor ca = TQt::black, cb = TQt::blue;
int x = 0, y = 0;
pix.resize(width()/cols, height()/rows);
TQPainter p(this);
- p.setPen(Qt::white);
+ p.setPen(TQt::white);
// draw once, so that the benchmarking be fair :-)
KPixmapEffect::gradient(pix,ca, cb, KPixmapEffect::VerticalGradient);
diff --git a/tdeui/tests/khashtest.cpp b/tdeui/tests/khashtest.cpp
index d392fcbc5..d2829606e 100644
--- a/tdeui/tests/khashtest.cpp
+++ b/tdeui/tests/khashtest.cpp
@@ -21,7 +21,7 @@ void KHashWidget::paintEvent(TQPaintEvent * /*ev*/)
pix.resize(width()/cols, height()/rows);
TQPainter p(this);
- p.setPen(Qt::white);
+ p.setPen(TQt::white);
// draw once, so that the benchmarking be fair :-)
KPixmapEffect::gradient(pix,ca, cb, KPixmapEffect::VerticalGradient);
@@ -86,9 +86,9 @@ void KHashWidget::paintEvent(TQPaintEvent * /*ev*/)
pix.resize(width()/cols, height()/rows);
say.setNum( ft - it); say += " ms, CrossDiagonal";
p.drawPixmap(x*width()/cols, y*height()/rows, pix);
- p.setPen(Qt::blue);
+ p.setPen(TQt::blue);
p.drawText(5+(x++)*width()/cols, 15+y*height()/rows, say);
- p.setPen(Qt::white);
+ p.setPen(TQt::white);
y++; // next row
diff --git a/tdeui/tests/kledtest.cpp b/tdeui/tests/kledtest.cpp
index 8a16c122f..564d4d2f2 100644
--- a/tdeui/tests/kledtest.cpp
+++ b/tdeui/tests/kledtest.cpp
@@ -22,7 +22,7 @@ KLedTest::KLedTest(TQWidget* parent)
if (kled_round) {
//KLed l(KLed::red, &qw); // create lamp
//KLed l(KLed::blue, &qw); // create lamp
- l = new KLed(Qt::green, this); // create lamp
+ l = new KLed(TQt::green, this); // create lamp
//KLed l(KLed::yellow, &qw); // create lamp
//KLed l(KLed::orange, &qw); // create lamp
@@ -55,7 +55,7 @@ KLedTest::KLedTest(TQWidget* parent)
for( int look=0; (int)look<3; look=(KLed::Look)(look+1)) {
for(state=KLed::Off; (int)state<2; state=(KLed::State)(state+1))
{
- leds[index]=new KLed(Qt::yellow, state,
+ leds[index]=new KLed(TQt::yellow, state,
(KLed::Look)(look+1),
(KLed::Shape)(shape+1), this);
leds[index]->setGeometry(x, y, LedWidth, LedHeight);
diff --git a/tdeui/tests/ktabwidgettest.cpp b/tdeui/tests/ktabwidgettest.cpp
index 64d2795fc..01bafd192 100644
--- a/tdeui/tests/ktabwidgettest.cpp
+++ b/tdeui/tests/ktabwidgettest.cpp
@@ -21,8 +21,8 @@ Test::Test( TQWidget* parent, const char *name )
mWidget->addTab( new TQLabel( "Testlabel 2", mWidget ), "Two" );
mWidget->addTab( new TQWidget( mWidget), SmallIcon( "konsole" ), "Three" );
mWidget->addTab( new TQWidget( mWidget), "Four" );
- mWidget->setTabColor( mWidget->page(0), Qt::red );
- mWidget->setTabColor( mWidget->page(1), Qt::blue );
+ mWidget->setTabColor( mWidget->page(0), TQt::red );
+ mWidget->setTabColor( mWidget->page(1), TQt::blue );
connect( mWidget, TQT_SIGNAL( currentChanged( TQWidget * ) ), TQT_SLOT( currentChanged( TQWidget * ) ) );
connect( mWidget, TQT_SIGNAL( contextMenu( TQWidget *, const TQPoint & )), TQT_SLOT(contextMenu( TQWidget *, const TQPoint & )));
@@ -89,7 +89,7 @@ Test::Test( TQWidget* parent, const char *name )
void Test::currentChanged(TQWidget* w)
{
- mWidget->setTabColor( w, Qt::black );
+ mWidget->setTabColor( w, TQt::black );
}
void Test::addTab()
@@ -326,7 +326,7 @@ void Test::mouseDoubleClick(TQWidget *w)
mWidget->label( mWidget->indexOf( w ) ), &ok, this );
if ( ok && !text.isEmpty() ) {
mWidget->changeTab( w, text );
- mWidget->setTabColor( w, Qt::green );
+ mWidget->setTabColor( w, TQt::green );
}
}
diff --git a/tdeui/tests/kunbalancedgrdtest.cpp b/tdeui/tests/kunbalancedgrdtest.cpp
index 40904000b..cf76e7980 100644
--- a/tdeui/tests/kunbalancedgrdtest.cpp
+++ b/tdeui/tests/kunbalancedgrdtest.cpp
@@ -20,13 +20,13 @@ void KGradientWidget::paintEvent(TQPaintEvent *)
int it, ft;
TQString say;
- TQColor ca = Qt::black, cb = Qt::cyan;
+ TQColor ca = TQt::black, cb = TQt::cyan;
int x = 0, y = 0;
pix.resize(width()/cols, height()/rows);
TQPainter p(this);
- p.setPen(Qt::white);
+ p.setPen(TQt::white);
// draw once, so that the benchmarking be fair :-)
KPixmapEffect::unbalancedGradient(pix,ca, cb,
diff --git a/tdeui/tests/kwizardtest.cpp b/tdeui/tests/kwizardtest.cpp
index 0635188d0..bbe028a1a 100644
--- a/tdeui/tests/kwizardtest.cpp
+++ b/tdeui/tests/kwizardtest.cpp
@@ -37,7 +37,7 @@ int main(int argc, char **argv)
TQString msg = TQString("This is page %1 out of 10").arg(i);
TQLabel *label = new TQLabel(msg, p);
TQHBoxLayout *layout = new TQHBoxLayout(p, 5);
- label->setAlignment(Qt::AlignCenter);
+ label->setAlignment(TQt::AlignCenter);
label->setFixedSize(300, 200);
layout->addWidget(label);
TQString title = TQString("%1. page").arg(i);
diff --git a/tdeui/tests/kxmlguitest.cpp b/tdeui/tests/kxmlguitest.cpp
index b72e9dc68..7c224db8d 100644
--- a/tdeui/tests/kxmlguitest.cpp
+++ b/tdeui/tests/kxmlguitest.cpp
@@ -48,7 +48,7 @@ int main( int argc, char **argv )
Client *part = new Client;
(void)new TDEAction( "decfont", "zoom-out", 0, 0, 0, part->actionCollection(), "decFontSizes" );
- (void)new TDEAction( "sec", "unlock", Qt::ALT + Qt::Key_1, part, TQT_SLOT( slotSec() ), part->actionCollection(), "security" );
+ (void)new TDEAction( "sec", "unlock", TQt::ALT + TQt::Key_1, part, TQT_SLOT( slotSec() ), part->actionCollection(), "security" );
part->setXMLFile( "./kxmlguitest_part.rc" );
diff --git a/tdeui/tests/qxembedtest.cpp b/tdeui/tests/qxembedtest.cpp
index 4965e5487..2ee3d7907 100644
--- a/tdeui/tests/qxembedtest.cpp
+++ b/tdeui/tests/qxembedtest.cpp
@@ -25,7 +25,7 @@ main(int argc, char**argv)
TQApplication a(argc,argv);
- TQWidget *main = new TQVBox(NULL,"main",Qt::WDestructiveClose);
+ TQWidget *main = new TQVBox(NULL,"main",TQt::WDestructiveClose);
TQWidget *top = new TQHBox(main);
TQPushButton *quit = new TQPushButton("Quit", top);
TQObject::connect( quit, TQT_SIGNAL(clicked()), main, TQT_SLOT(close()) );