Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/6/head
Michele Calgaro 1 year ago
parent 2e5eec7891
commit f6469496cb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -353,7 +353,7 @@ void Katapult::keyReleased(TQKeyEvent *e)
void Katapult::mousePressEvent(TQMouseEvent *e) void Katapult::mousePressEvent(TQMouseEvent *e)
{ {
if(e->button() == Qt::LeftButton) if(e->button() == TQt::LeftButton)
showLauncher(); showLauncher();
else else
KSystemTray::mousePressEvent(e); KSystemTray::mousePressEvent(e);

@ -54,8 +54,8 @@ MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl
buttonHelp = new TQPushButton( this, "buttonHelp" ); buttonHelp = new TQPushButton( this, "buttonHelp" );
buttonHelp->setAutoDefault( TRUE ); buttonHelp->setAutoDefault( TRUE );
Layout1->addWidget( buttonHelp ); Layout1->addWidget( buttonHelp );
Qt::Horizontal_Spacing2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); TQt::Horizontal_Spacing2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
Layout1->addItem(Qt::Horizontal_Spacing2 ); Layout1->addItem(TQt::Horizontal_Spacing2 );
buttonOk = new TQPushButton( this, "buttonOk" ); buttonOk = new TQPushButton( this, "buttonOk" );
buttonOk->setAutoDefault( TRUE ); buttonOk->setAutoDefault( TRUE );

Loading…
Cancel
Save