summaryrefslogtreecommitdiffstats
path: root/tdeutils
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 20:33:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-15 23:47:11 +0900
commit303b6445011a6ed10c48ac6e1eda415e5c371264 (patch)
treeaded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeutils
parent141ced0c41af8726eedac425ea24cd162bcff862 (diff)
downloadtdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz
tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeutils')
-rw-r--r--tdeutils/kfinddialog.cpp6
-rw-r--r--tdeutils/kpluginselector.cpp8
-rw-r--r--tdeutils/tdecmoduleproxy.cpp4
-rw-r--r--tdeutils/tdemultitabbar.cpp4
4 files changed, 11 insertions, 11 deletions
diff --git a/tdeutils/kfinddialog.cpp b/tdeutils/kfinddialog.cpp
index 31e502eb6..8339751f6 100644
--- a/tdeutils/kfinddialog.cpp
+++ b/tdeutils/kfinddialog.cpp
@@ -116,7 +116,7 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
topLayout->setSpacing( KDialog::spacingHint() );
topLayout->setMargin( 0 );
- m_findGrp = new TQGroupBox(0, Qt::Vertical, i18n("Find"), page);
+ m_findGrp = new TQGroupBox(0, TQt::Vertical, i18n("Find"), page);
m_findGrp->layout()->setSpacing( KDialog::spacingHint() );
// m_findGrp->layout()->setMargin( KDialog::marginHint() );
m_findLayout = new TQGridLayout(m_findGrp->layout());
@@ -137,7 +137,7 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
m_findLayout->addWidget(m_regExpItem, 2, 1);
topLayout->addWidget(m_findGrp);
- m_replaceGrp = new TQGroupBox(0, Qt::Vertical, i18n("Replace With"), page);
+ m_replaceGrp = new TQGroupBox(0, TQt::Vertical, i18n("Replace With"), page);
m_replaceGrp->layout()->setSpacing( KDialog::spacingHint() );
// m_replaceGrp->layout()->setMargin( KDialog::marginHint() );
m_replaceLayout = new TQGridLayout(m_replaceGrp->layout());
@@ -159,7 +159,7 @@ void KFindDialog::init(bool forReplace, const TQStringList &findStrings, bool ha
m_replaceLayout->addWidget(m_backRefItem, 2, 1);
topLayout->addWidget(m_replaceGrp);
- m_optionGrp = new TQGroupBox(0, Qt::Vertical, i18n("Options"), page);
+ m_optionGrp = new TQGroupBox(0, TQt::Vertical, i18n("Options"), page);
m_optionGrp->layout()->setSpacing(KDialog::spacingHint());
// m_optionGrp->layout()->setMargin(KDialog::marginHint());
optionsLayout = new TQGridLayout(m_optionGrp->layout());
diff --git a/tdeutils/kpluginselector.cpp b/tdeutils/kpluginselector.cpp
index 6afa7c8d3..e4f681209 100644
--- a/tdeutils/kpluginselector.cpp
+++ b/tdeutils/kpluginselector.cpp
@@ -246,7 +246,7 @@ TQWidget * KPluginSelectionWidget::insertKCM( TQWidget * parent,
{
//FIXME: not very verbose
TQLabel * label = new TQLabel( i18n( "Error" ), parent );
- label->setAlignment( Qt::AlignCenter );
+ label->setAlignment( TQt::AlignCenter );
return label;
}
@@ -264,7 +264,7 @@ void KPluginSelectionWidget::embeddPluginKCMs( KPluginInfo * plugininfo, bool ch
{
//if we have Services for the plugin we should be able to
//create KCM(s)
- TQApplication::setOverrideCursor( Qt::WaitCursor );
+ TQApplication::setOverrideCursor( TQt::WaitCursor );
if( plugininfo->kcmServices().size() > 1 )
{
// we need a tabwidget
@@ -523,7 +523,7 @@ KPluginSelector::KPluginSelector( TQWidget * parent, const char * name )
TQBoxLayout * hbox = new TQHBoxLayout( this, 0, KDialog::spacingHint() );
hbox->setAutoAdd( true );
- TQSplitter* splitter = new TQSplitter( Qt::Horizontal, this );
+ TQSplitter* splitter = new TQSplitter( TQt::Horizontal, this );
d->frame = new TQFrame( splitter, "KPluginSelector left frame" );
d->frame->setFrameStyle( TQFrame::NoFrame );
( new TQVBoxLayout( d->frame, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
@@ -536,7 +536,7 @@ KPluginSelector::KPluginSelector( TQWidget * parent, const char * name )
TQLabel * label = new TQLabel( i18n( "(This plugin is not configurable)" ),
d->widgetstack );
( new TQVBoxLayout( label, 0, KDialog::spacingHint() ) )->setAutoAdd( true );
- label->setAlignment( Qt::AlignCenter );
+ label->setAlignment( TQt::AlignCenter );
label->setMinimumSize( 200, 200 );
d->widgetstack->addWidget( label, 1 );
diff --git a/tdeutils/tdecmoduleproxy.cpp b/tdeutils/tdecmoduleproxy.cpp
index 487280e39..c2c2ca372 100644
--- a/tdeutils/tdecmoduleproxy.cpp
+++ b/tdeutils/tdecmoduleproxy.cpp
@@ -155,7 +155,7 @@ TDECModule * TDECModuleProxy::realModule() const
if( d->rootMode )
return 0;
- TQApplication::setOverrideCursor( Qt::WaitCursor );
+ TQApplication::setOverrideCursor( TQt::WaitCursor );
TDECModuleProxy * that = const_cast<TDECModuleProxy*>( this );
@@ -301,7 +301,7 @@ void TDECModuleProxy::runAsRoot()
if ( !moduleInfo().needsRootPrivileges() )
return;
- TQApplication::setOverrideCursor( Qt::WaitCursor );
+ TQApplication::setOverrideCursor( TQt::WaitCursor );
delete d->rootProcess;
delete d->embedWidget;
diff --git a/tdeutils/tdemultitabbar.cpp b/tdeutils/tdemultitabbar.cpp
index b2246e104..96dc3c9c3 100644
--- a/tdeutils/tdemultitabbar.cpp
+++ b/tdeutils/tdemultitabbar.cpp
@@ -74,8 +74,8 @@ KMultiTabBarInternal::KMultiTabBarInternal(TQWidget *parent, KMultiTabBar::KMult
addChild(box);
setFrameStyle(NoFrame);
viewport()->setBackgroundMode(TQt::PaletteBackground);
-/* box->setPaletteBackgroundColor(Qt::red);
- setPaletteBackgroundColor(Qt::green);*/
+/* box->setPaletteBackgroundColor(TQt::red);
+ setPaletteBackgroundColor(TQt::green);*/
}
void KMultiTabBarInternal::setStyle(enum KMultiTabBar::KMultiTabBarStyle style)