summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
commitb965cbac5b21345e9dfc768a7e4f660ffa4aa72f (patch)
tree7fcff5d301752cbdcdfff64d8791aff1369b803f /kcontrol
parent7d6d35b42e00d6b6658951871b29489bdec80714 (diff)
downloadtdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.tar.gz
tdebase-b965cbac5b21345e9dfc768a7e4f660ffa4aa72f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/access/kaccess.cpp4
-rw-r--r--kcontrol/access/kcmaccess.cpp18
-rw-r--r--kcontrol/background/bgadvanced.cpp4
-rw-r--r--kcontrol/background/bgdialog.cpp2
-rw-r--r--kcontrol/background/bgrender.cpp8
-rw-r--r--kcontrol/bell/bell.cpp2
-rw-r--r--kcontrol/colors/colorscm.cpp2
-rw-r--r--kcontrol/colors/widgetcanvas.cpp2
-rw-r--r--kcontrol/crypto/crypto.cpp14
-rw-r--r--kcontrol/css/kcmcss.cpp8
-rw-r--r--kcontrol/displayconfig/displayconfig.cpp8
-rw-r--r--kcontrol/dnssd/kcmdnssd.cpp4
-rw-r--r--kcontrol/filetypes/filetypedetails.cpp2
-rw-r--r--kcontrol/hwmanager/hwdevicetray.cpp8
-rw-r--r--kcontrol/icons/icons.cpp24
-rw-r--r--kcontrol/joystick/poswidget.cpp10
-rw-r--r--kcontrol/kcontrol/moduletreeview.cpp2
-rw-r--r--kcontrol/kcontrol/toplevel.cpp2
-rw-r--r--kcontrol/kded/kcmkded.cpp2
-rw-r--r--kcontrol/keys/main.cpp6
-rw-r--r--kcontrol/keys/modifiers.cpp4
-rw-r--r--kcontrol/keys/treeview.cpp2
-rw-r--r--kcontrol/kicker/positiontab_impl.cpp2
-rw-r--r--kcontrol/konq/desktop.cpp2
-rw-r--r--kcontrol/konq/fontopts.cpp10
-rw-r--r--kcontrol/konqhtml/appearance.cpp2
-rw-r--r--kcontrol/konqhtml/domainlistview.cpp4
-rw-r--r--kcontrol/konqhtml/filteropts.cpp2
-rw-r--r--kcontrol/konqhtml/jsopts.cpp2
-rw-r--r--kcontrol/konqhtml/jspolicies.cpp4
-rw-r--r--kcontrol/konqhtml/pluginopts.cpp2
-rw-r--r--kcontrol/launch/kcmlaunch.cpp4
-rw-r--r--kcontrol/locale/klocalesample.cpp2
-rw-r--r--kcontrol/randr/tderandrmodule.cpp2
-rw-r--r--kcontrol/randr/tderandrtray.cpp4
-rw-r--r--kcontrol/samba/kcmsambalog.cpp2
-rw-r--r--kcontrol/screensaver/scrnsave.cpp4
-rw-r--r--kcontrol/style/kcmstyle.cpp10
-rw-r--r--kcontrol/tdefontinst/lib/FcEngine.cpp4
-rw-r--r--kcontrol/tdefontinst/viewpart/FontPreview.cpp2
-rw-r--r--kcontrol/tdeio/uagentproviderdlg.cpp4
-rw-r--r--kcontrol/tdm/tdm-appear.cpp10
-rw-r--r--kcontrol/tdm/tdm-users.cpp10
-rw-r--r--kcontrol/usbview/kcmusb.cpp2
-rw-r--r--kcontrol/xinerama/kcmxinerama.cpp2
45 files changed, 115 insertions, 115 deletions
diff --git a/kcontrol/access/kaccess.cpp b/kcontrol/access/kaccess.cpp
index 5e506470c..2cb9281df 100644
--- a/kcontrol/access/kaccess.cpp
+++ b/kcontrol/access/kaccess.cpp
@@ -132,7 +132,7 @@ void KAccessApp::readSettings()
_artsBellFile = config->readPathEntry("ArtsBellFile");
_visibleBell = config->readBoolEntry("VisibleBell", false);
_visibleBellInvert = config->readBoolEntry("VisibleBellInvert", false);
- TQColor def(Qt::red);
+ TQColor def(TQt::red);
_visibleBellColor = config->readColorEntry("VisibleBellColor", &def);
_visibleBellPause = config->readNumEntry("VisibleBellPause", 500);
@@ -579,7 +579,7 @@ void KAccessApp::createDialogContents() {
pixmap = TQMessageBox::standardIcon(TQMessageBox::Warning);
label1->setPixmap(pixmap);
- lay->addWidget( label1, 0, Qt::AlignCenter );
+ lay->addWidget( label1, 0, TQt::AlignCenter );
lay->addSpacing(KDialog::spacingHint());
TQVBoxLayout * vlay = new TQVBoxLayout(lay);
diff --git a/kcontrol/access/kcmaccess.cpp b/kcontrol/access/kcmaccess.cpp
index ccdb74f81..e38615ebb 100644
--- a/kcontrol/access/kcmaccess.cpp
+++ b/kcontrol/access/kcmaccess.cpp
@@ -245,7 +245,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
KDialogBase::spacingHint());
TQGroupBox *grp = new TQGroupBox(i18n("Audible Bell"), bell);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
TQVBoxLayout *vvbox = new TQVBoxLayout(grp->layout(),
@@ -288,7 +288,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
// visible bell ----------------------------------------
grp = new TQGroupBox(i18n("Visible Bell"), bell);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
@@ -350,7 +350,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
vbox = new TQVBoxLayout(modifiers, KDialog::marginHint(), KDialog::spacingHint());
grp = new TQGroupBox(i18n("S&ticky Keys"), modifiers);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
@@ -374,7 +374,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
hbox->addWidget(stickyKeysBeep);
grp = new TQGroupBox(i18n("Locking Keys"), modifiers);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
@@ -412,7 +412,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
vbox = new TQVBoxLayout(filters, KDialog::marginHint(), KDialog::spacingHint());
grp = new TQGroupBox(i18n("Slo&w Keys"), filters);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
@@ -444,7 +444,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
hbox->addWidget(slowKeysRejectBeep);
grp = new TQGroupBox(i18n("Bounce Keys"), filters);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
@@ -488,7 +488,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
vbox = new TQVBoxLayout(features, KDialog::marginHint(), KDialog::spacingHint());
grp = new TQGroupBox(i18n("Activation Gestures"), features);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
@@ -518,7 +518,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
hbox->addWidget(timeoutDelay);
grp = new TQGroupBox(i18n("Notification"), features);
- grp->setColumnLayout( 0, Qt::Horizontal );
+ grp->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(grp);
vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
@@ -614,7 +614,7 @@ void KAccessConfig::load( bool useDefaults )
visibleBell->setChecked(config->readBoolEntry("VisibleBell", false));
invertScreen->setChecked(config->readBoolEntry("VisibleBellInvert", true));
flashScreen->setChecked(!invertScreen->isChecked());
- TQColor def(Qt::red);
+ TQColor def(TQt::red);
colorButton->setColor(config->readColorEntry("VisibleBellColor", &def));
durationSlider->setValue(config->readNumEntry("VisibleBellPause", 500));
diff --git a/kcontrol/background/bgadvanced.cpp b/kcontrol/background/bgadvanced.cpp
index 2a80db02d..3194c2859 100644
--- a/kcontrol/background/bgadvanced.cpp
+++ b/kcontrol/background/bgadvanced.cpp
@@ -175,7 +175,7 @@ void BGAdvancedDialog::setTextBackgroundColor(const TQColor &color)
else
{
dlg->m_cbSolidTextBackground->setChecked(false);
- dlg->m_colorTextBackground->setColor(Qt::white);
+ dlg->m_colorTextBackground->setColor(TQt::white);
dlg->m_colorTextBackground->setEnabled(false);
}
dlg->m_colorTextBackground->blockSignals(false);
@@ -434,7 +434,7 @@ KProgramEditDialog::KProgramEditDialog(const TQString &program, TQWidget *parent
m_RefreshEdit->setSuffix(i18n(" min"));
m_RefreshEdit->setFixedSize(m_RefreshEdit->sizeHint());
lbl->setBuddy(m_RefreshEdit);
- grid->addWidget(m_RefreshEdit, 5, 1, Qt::AlignLeft);
+ grid->addWidget(m_RefreshEdit, 5, 1, TQt::AlignLeft);
m_Program = program;
if (m_Program.isEmpty()) {
diff --git a/kcontrol/background/bgdialog.cpp b/kcontrol/background/bgdialog.cpp
index aaa6f3260..89847c9b2 100644
--- a/kcontrol/background/bgdialog.cpp
+++ b/kcontrol/background/bgdialog.cpp
@@ -443,7 +443,7 @@ void BGDialog::slotIdentifyScreens()
screenLabel->setFrameStyle(TQFrame::Panel);
screenLabel->setFrameShadow(TQFrame::Plain);
- screenLabel->setAlignment(Qt::AlignCenter);
+ screenLabel->setAlignment(TQt::AlignCenter);
screenLabel->setNum(int(s + 1));
// BUGLET: we should not allow the identification to be entered again
// until the timer fires.
diff --git a/kcontrol/background/bgrender.cpp b/kcontrol/background/bgrender.cpp
index e6c8fcccd..ee67beb66 100644
--- a/kcontrol/background/bgrender.cpp
+++ b/kcontrol/background/bgrender.cpp
@@ -384,7 +384,7 @@ wp_load:
wpmode = NoWallpaper;
goto wp_out;
}
- m_Wallpaper = m_Wallpaper.convertDepth(32, Qt::DiffuseAlphaDither);
+ m_Wallpaper = m_Wallpaper.convertDepth(32, TQt::DiffuseAlphaDither);
// If we're previewing, scale the wallpaper down to make the preview
// look more like the real desktop.
@@ -628,7 +628,7 @@ void KBackgroundRenderer::fullWallpaperBlend()
m_Image = m_Background.copy();
if (m_Image.depth() < 32)
- m_Image = m_Image.convertDepth(32, Qt::DiffuseAlphaDither);
+ m_Image = m_Image.convertDepth(32, TQt::DiffuseAlphaDither);
} else {
m_Image.create(w, h, 32);
@@ -1160,7 +1160,7 @@ void KVirtualBGRenderer::desktopResized()
{
delete m_pPixmap;
m_pPixmap = new TQPixmap(m_size);
- m_pPixmap->fill(Qt::black);
+ m_pPixmap->fill(TQt::black);
}
initRenderers();
@@ -1317,7 +1317,7 @@ void KVirtualBGRenderer::start()
// If are screen sizes do not properly tile the overall virtual screen
// size, then we want the untiled parts to be black for use in desktop
// previews, etc
- m_pPixmap->fill(Qt::black);
+ m_pPixmap->fill(TQt::black);
}
m_bFinished.fill(false);
diff --git a/kcontrol/bell/bell.cpp b/kcontrol/bell/bell.cpp
index 5022ab420..8b24dac6b 100644
--- a/kcontrol/bell/bell.cpp
+++ b/kcontrol/bell/bell.cpp
@@ -71,7 +71,7 @@ KBellConfig::KBellConfig(TQWidget *parent, const char *name):
int row = 0;
TQGroupBox *box = new TQGroupBox( i18n("Bell Settings"), this );
- box->setColumnLayout( 0, Qt::Horizontal );
+ box->setColumnLayout( 0, TQt::Horizontal );
layout->addWidget(box);
layout->addStretch();
TQGridLayout *grid = new TQGridLayout(box->layout(), KDialog::spacingHint());
diff --git a/kcontrol/colors/colorscm.cpp b/kcontrol/colors/colorscm.cpp
index 214462046..c767836fd 100644
--- a/kcontrol/colors/colorscm.cpp
+++ b/kcontrol/colors/colorscm.cpp
@@ -254,7 +254,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis
groupLayout = new TQHBoxLayout;
groupLayout2->addLayout(groupLayout);
- sb = new TQSlider( Qt::Horizontal,group,"Slider" );
+ sb = new TQSlider( TQt::Horizontal,group,"Slider" );
sb->setRange( 0, 10 );
sb->setFocusPolicy( TQWidget::StrongFocus );
connect(sb, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(sliderValueChanged(int)));
diff --git a/kcontrol/colors/widgetcanvas.cpp b/kcontrol/colors/widgetcanvas.cpp
index b08ef6135..e93452caa 100644
--- a/kcontrol/colors/widgetcanvas.cpp
+++ b/kcontrol/colors/widgetcanvas.cpp
@@ -315,7 +315,7 @@ void WidgetCanvas::drawSampleWidgets()
// Create a scrollbar and redirect drawing into a temp. pixmap to save a
// lot of fiddly drawing later.
- TQScrollBar *vertScrollBar = new TQScrollBar( Qt::Vertical, this );
+ TQScrollBar *vertScrollBar = new TQScrollBar( TQt::Vertical, this );
// TODO: vertScrollBar->setStyle( new TQMotifStyle() );
vertScrollBar->setGeometry( 400, 400, SCROLLBAR_SIZE, height());
vertScrollBar->setRange( 0, 0 );
diff --git a/kcontrol/crypto/crypto.cpp b/kcontrol/crypto/crypto.cpp
index f8558c866..71521af04 100644
--- a/kcontrol/crypto/crypto.cpp
+++ b/kcontrol/crypto/crypto.cpp
@@ -1540,7 +1540,7 @@ TQString iss = TQString();
TQPalette cspl;
iss = cert->getIssuer();
cspl = validFrom->palette();
- if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) < cert->getQDTNotBefore()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@@ -1548,7 +1548,7 @@ TQString iss = TQString();
validFrom->setPalette(cspl);
cspl = validUntil->palette();
- if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@@ -1558,7 +1558,7 @@ TQString iss = TQString();
validFrom->setText(cert->getNotBefore());
validUntil->setText(cert->getNotAfter());
untilDate->setText(x ? TDEGlobal::locale()->formatDateTime(x->getExpires())
- : TDEGlobal::locale()->formatDateTime(TQDateTime::currentDateTime(Qt::UTC)));
+ : TDEGlobal::locale()->formatDateTime(TQDateTime::currentDateTime(TQt::UTC)));
untilDate->setEnabled(x && !x->isPermanent());
pHash->setText(cert->getMD5DigestText());
delete cert;
@@ -1778,7 +1778,7 @@ TQString iss;
TQPalette cspl;
KSSLCertificate *cert = pkcs->getCertificate();
cspl = yValidFrom->palette();
- if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) < cert->getQDTNotBefore()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@@ -1786,7 +1786,7 @@ TQString iss;
yValidFrom->setPalette(cspl);
cspl = yValidUntil->palette();
- if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@@ -1818,7 +1818,7 @@ TQString iss;
KSSLCertificate *cert = pkcs->getCertificate();
iss = cert->getIssuer();
cspl = yValidFrom->palette();
- if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) < cert->getQDTNotBefore()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
@@ -1826,7 +1826,7 @@ TQString iss;
yValidFrom->setPalette(cspl);
cspl = yValidUntil->palette();
- if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
} else {
cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
diff --git a/kcontrol/css/kcmcss.cpp b/kcontrol/css/kcmcss.cpp
index e2e043f76..65748686a 100644
--- a/kcontrol/css/kcmcss.cpp
+++ b/kcontrol/css/kcmcss.cpp
@@ -342,13 +342,13 @@ void CSSConfig::slotPreview()
if (customDialog->blackOnWhite->isChecked())
{
- back = Qt::white;
- fore = Qt::black;
+ back = TQt::white;
+ fore = TQt::black;
}
else if (customDialog->whiteOnBlack->isChecked())
{
- back = Qt::black;
- fore = Qt::white;
+ back = TQt::black;
+ fore = TQt::white;
}
else
{
diff --git a/kcontrol/displayconfig/displayconfig.cpp b/kcontrol/displayconfig/displayconfig.cpp
index 4c96fabf1..e8a7ac528 100644
--- a/kcontrol/displayconfig/displayconfig.cpp
+++ b/kcontrol/displayconfig/displayconfig.cpp
@@ -914,16 +914,16 @@ void KDisplayConfig::identifyMonitors () {
if (!randr_screen_info->outputs[i]->cur_crtc) {
continue;
}
- idWidget = new TQLabel(TQString("Screen\n%1").arg(i+1), (TQWidget*)0, "", Qt::WStyle_Customize | Qt::WStyle_NoBorder | Qt::WStyle_StaysOnTop | Qt::WX11BypassWM | Qt::WDestructiveClose);
+ idWidget = new TQLabel(TQString("Screen\n%1").arg(i+1), (TQWidget*)0, "", TQt::WStyle_Customize | TQt::WStyle_NoBorder | TQt::WStyle_StaysOnTop | TQt::WX11BypassWM | TQt::WDestructiveClose);
widgetList.append(idWidget);
idWidget->resize(150, 100);
- idWidget->setAlignment(Qt::AlignCenter);
+ idWidget->setAlignment(TQt::AlignCenter);
TQFont font = idWidget->font();
font.setBold( true );
font.setPointSize(24);
idWidget->setFont( font );
- idWidget->setPaletteForegroundColor(Qt::white);
- idWidget->setPaletteBackgroundColor(Qt::black);
+ idWidget->setPaletteForegroundColor(TQt::white);
+ idWidget->setPaletteBackgroundColor(TQt::black);
idWidget->show();
KDialog::centerOnScreen(idWidget, i);
TQTimer::singleShot(3000, idWidget, SLOT(close()));
diff --git a/kcontrol/dnssd/kcmdnssd.cpp b/kcontrol/dnssd/kcmdnssd.cpp
index d1fe3269c..d442552e3 100644
--- a/kcontrol/dnssd/kcmdnssd.cpp
+++ b/kcontrol/dnssd/kcmdnssd.cpp
@@ -84,7 +84,7 @@ KCMDnssd::~KCMDnssd()
void KCMDnssd::save()
{
- setCursor(TQCursor(Qt::BusyCursor));
+ setCursor(TQCursor(TQt::BusyCursor));
TDECModule::save();
if (geteuid()==0 && m_wdchanged) saveMdnsd();
domain->setFileWriteMode(0644); // this should be readable for everyone
@@ -112,7 +112,7 @@ void KCMDnssd::save()
proc->start(TDEProcess::Block);
}
}
- setCursor(TQCursor(Qt::ArrowCursor));
+ setCursor(TQCursor(TQt::ArrowCursor));
}
void KCMDnssd::load()
diff --git a/kcontrol/filetypes/filetypedetails.cpp b/kcontrol/filetypes/filetypedetails.cpp
index c4f3ce7bb..589677b58 100644
--- a/kcontrol/filetypes/filetypedetails.cpp
+++ b/kcontrol/filetypes/filetypedetails.cpp
@@ -76,7 +76,7 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name )
gb = new TQGroupBox(i18n("Description"), firstWidget);
firstLayout->addWidget(gb);
- gb->setColumnLayout(1, Qt::Horizontal);
+ gb->setColumnLayout(1, TQt::Horizontal);
description = new KLineEdit(gb);
connect(description, TQT_SIGNAL(textChanged(const TQString &)),
TQT_SLOT(updateDescription(const TQString &)));
diff --git a/kcontrol/hwmanager/hwdevicetray.cpp b/kcontrol/hwmanager/hwdevicetray.cpp
index 405b562b6..8aade89ca 100644
--- a/kcontrol/hwmanager/hwdevicetray.cpp
+++ b/kcontrol/hwmanager/hwdevicetray.cpp
@@ -154,7 +154,7 @@ HwDeviceSystemTray::HwDeviceSystemTray(TQWidget *parent, const char *name)
initMenus();
setPixmap(KSystemTray::loadIcon("hwinfo"));
- setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
+ setAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(quitApp()));
TQToolTip::add(this, i18n("Device monitor"));
@@ -225,16 +225,16 @@ void HwDeviceSystemTray::mousePressEvent(TQMouseEvent* e)
{
switch (e->button())
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
populateLMBMenu();
d->m_LMBMenu->popup(e->globalPos());
break;
- case Qt::MidButton:
+ case TQt::MidButton:
TQTimer::singleShot(0, this, TQT_SLOT(slotHardwareConfig()));
break;
- case Qt::RightButton:
+ case TQt::RightButton:
contextMenuAboutToShow(d->m_RMBMenu);
d->m_RMBMenu->popup(e->globalPos());
break;
diff --git a/kcontrol/icons/icons.cpp b/kcontrol/icons/icons.cpp
index 667ecaa22..c271d4419 100644
--- a/kcontrol/icons/icons.cpp
+++ b/kcontrol/icons/icons.cpp
@@ -81,27 +81,27 @@ TDEIconConfig::TDEIconConfig(TQWidget *parent, const char *name)
// Size
TQLabel *lbl = new TQLabel(i18n("Size:"), m_pTab1);
lbl->setFixedSize(lbl->sizeHint());
- grid->addWidget(lbl, 0, 0, Qt::AlignLeft);
+ grid->addWidget(lbl, 0, 0, TQt::AlignLeft);
mpSizeBox = new TQComboBox(m_pTab1);
connect(mpSizeBox, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSize(int)));
lbl->setBuddy(mpSizeBox);
- grid->addWidget(mpSizeBox, 0, 1, Qt::AlignLeft);
+ grid->addWidget(mpSizeBox, 0, 1, TQt::AlignLeft);
mpDPCheck = new TQCheckBox(i18n("Double-sized pixels"), m_pTab1);
connect(mpDPCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotDPCheck(bool)));
- grid->addMultiCellWidget(mpDPCheck, 1, 1, 0, 1, Qt::AlignLeft);
+ grid->addMultiCellWidget(mpDPCheck, 1, 1, 0, 1, TQt::AlignLeft);
mpAnimatedCheck = new TQCheckBox(i18n("Animate icons"), m_pTab1);
connect(mpAnimatedCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotAnimatedCheck(bool)));
- grid->addMultiCellWidget(mpAnimatedCheck, 2, 2, 0, 1, Qt::AlignLeft);
+ grid->addMultiCellWidget(mpAnimatedCheck, 2, 2, 0, 1, TQt::AlignLeft);
mpRoundedCheck = new TQCheckBox(i18n("Rounded text selection"), m_pTab1);
connect(mpRoundedCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotRoundedCheck(bool)));
- grid->addMultiCellWidget(mpRoundedCheck, 3, 3, 0, 1, Qt::AlignLeft);
+ grid->addMultiCellWidget(mpRoundedCheck, 3, 3, 0, 1, TQt::AlignLeft);
mpActiveEffectCheck = new TQCheckBox(i18n("Show icon activation effect"), m_pTab1);
connect(mpActiveEffectCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotActiveEffect(bool)));
- grid->addMultiCellWidget(mpActiveEffectCheck, 4, 4, 0, 1, Qt::AlignLeft);
+ grid->addMultiCellWidget(mpActiveEffectCheck, 4, 4, 0, 1, TQt::AlignLeft);
top->activate();
@@ -123,13 +123,13 @@ TDEIconConfig::~TDEIconConfig()
TQPushButton *TDEIconConfig::addPreviewIcon(int i, const TQString &str, TQWidget *parent, TQGridLayout *lay)
{
TQLabel *lab = new TQLabel(str, parent);
- lay->addWidget(lab, 1, i, Qt::AlignCenter);
+ lay->addWidget(lab, 1, i, TQt::AlignCenter);
mpPreview[i] = new TQLabel(parent);
mpPreview[i]->setAlignment(AlignCenter);
mpPreview[i]->setMinimumSize(105, 105);
lay->addWidget(mpPreview[i], 2, i);
TQPushButton *push = new TQPushButton(i18n("Set Effect..."), parent);
- lay->addWidget(push, 3, i, Qt::AlignCenter);
+ lay->addWidget(push, 3, i, TQt::AlignCenter);
return push;
}
@@ -689,7 +689,7 @@ TDEIconEffectSetupDialog::TDEIconEffectSetupDialog(const Effect &effect,
lbl = new TQLabel(i18n("&Effect:"), page);
lbl->setFixedSize(lbl->sizeHint());
- top->addWidget(lbl, 0, 0, Qt::AlignLeft);
+ top->addWidget(lbl, 0, 0, TQt::AlignLeft);
mpEffectBox = new TQListBox(page);
mpEffectBox->insertItem(i18n("No Effect"));
mpEffectBox->insertItem(i18n("To Gray"));
@@ -699,12 +699,12 @@ TDEIconEffectSetupDialog::TDEIconEffectSetupDialog(const Effect &effect,
mpEffectBox->insertItem(i18n("To Monochrome"));
mpEffectBox->setMinimumWidth( 100 );
connect(mpEffectBox, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotEffectType(int)));
- top->addMultiCellWidget(mpEffectBox, 1, 2, 0, 0, Qt::AlignLeft);
+ top->addMultiCellWidget(mpEffectBox, 1, 2, 0, 0, TQt::AlignLeft);
lbl->setBuddy(mpEffectBox);
mpSTCheck = new TQCheckBox(i18n("&Semi-transparent"), page);
connect(mpSTCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSTCheck(bool)));
- top->addWidget(mpSTCheck, 3, 0, Qt::AlignLeft);
+ top->addWidget(mpSTCheck, 3, 0, TQt::AlignLeft);
frame = new TQGroupBox(i18n("Preview"), page);
top->addMultiCellWidget(frame, 0, 1, 1, 1);
@@ -724,7 +724,7 @@ TDEIconEffectSetupDialog::TDEIconEffectSetupDialog(const Effect &effect,
mpEffectLabel = new TQLabel(i18n("&Amount:"), mpEffectGroup);
grid->addWidget(mpEffectLabel, 1, 0);
- mpEffectSlider = new TQSlider(0, 100, 5, 10, Qt::Horizontal, mpEffectGroup);
+ mpEffectSlider = new TQSlider(0, 100, 5, 10, TQt::Horizontal, mpEffectGroup);
mpEffectLabel->setBuddy( mpEffectSlider );
connect(mpEffectSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotEffectValue(int)));
grid->addWidget(mpEffectSlider, 1, 1);
diff --git a/kcontrol/joystick/poswidget.cpp b/kcontrol/joystick/poswidget.cpp
index af8609070..5eb249f58 100644
--- a/kcontrol/joystick/poswidget.cpp
+++ b/kcontrol/joystick/poswidget.cpp
@@ -32,7 +32,7 @@ PosWidget::PosWidget(TQWidget *parent, const char *name)
{
setMinimumSize(XY_WIDTH, XY_WIDTH);
setMaximumSize(XY_WIDTH, XY_WIDTH);
- setPaletteBackgroundColor(Qt::white);
+ setPaletteBackgroundColor(TQt::white);
}
//-----------------------------------------------------------------
@@ -42,7 +42,7 @@ void PosWidget::paintEvent(TQPaintEvent *)
TQPainter paint(this);
paint.drawRect(0, 0, width(), height());
- paint.setPen(Qt::gray);
+ paint.setPen(TQt::gray);
// draw a center grid
paint.drawLine(XY_WIDTH/2, 1,
@@ -52,7 +52,7 @@ void PosWidget::paintEvent(TQPaintEvent *)
XY_WIDTH - 2, XY_WIDTH/2);
// draw the current position marker
- paint.setPen(Qt::blue);
+ paint.setPen(TQt::blue);
paint.drawLine(x - MARK_WIDTH/2, y - MARK_WIDTH/2,
x + MARK_WIDTH/2, y + MARK_WIDTH/2);
@@ -111,7 +111,7 @@ void PosWidget::eraseOld()
//paint.eraseRect(x - MARK_WIDTH/2, y - MARK_WIDTH/2, MARK_WIDTH + 1, MARK_WIDTH + 1);
// erase previous cross (don't use eraseRect() so that trace flags will be not destroyed so much)
- paint.setPen(Qt::white);
+ paint.setPen(TQt::white);
paint.drawLine(x - MARK_WIDTH/2, y - MARK_WIDTH/2,
x + MARK_WIDTH/2, y + MARK_WIDTH/2);
@@ -121,7 +121,7 @@ void PosWidget::eraseOld()
if ( trace ) // show previous position with a smaller black cross
{
- paint.setPen(Qt::black);
+ paint.setPen(TQt::black);
paint.drawLine(x - 2, y - 2,
x + 2, y + 2);
diff --git a/kcontrol/kcontrol/moduletreeview.cpp b/kcontrol/kcontrol/moduletreeview.cpp
index fd0bda8aa..4b25e4be3 100644
--- a/kcontrol/kcontrol/moduletreeview.cpp
+++ b/kcontrol/kcontrol/moduletreeview.cpp
@@ -340,7 +340,7 @@ void ModuleTreeItem::paintCell( TQPainter * p, const TQColorGroup & cg, int colu
if (offset > 0)
{
TQPixmap pixmap(offset, offset);
- pixmap.fill(Qt::color0);
+ pixmap.fill(TQt::color0);
pixmap.setMask(pixmap.createHeuristicMask());
TQBitmap mask( pixmap.size(), true );
pixmap.setMask( mask );
diff --git a/kcontrol/kcontrol/toplevel.cpp b/kcontrol/kcontrol/toplevel.cpp
index 519ec91df..c9a8a6763 100644
--- a/kcontrol/kcontrol/toplevel.cpp
+++ b/kcontrol/kcontrol/toplevel.cpp
@@ -86,7 +86,7 @@ TopLevel::TopLevel(const char* name)
}
// create the layout box
- _splitter = new TQSplitter( Qt::Horizontal, this );
+ _splitter = new TQSplitter( TQt::Horizontal, this );
TQFrame* leftFrame = new TQFrame ( _splitter );
TQBoxLayout *leftFrameLayout = new TQVBoxLayout( leftFrame );
diff --git a/kcontrol/kded/kcmkded.cpp b/kcontrol/kded/kcmkded.cpp
index f6fcd2e5a..a560183eb 100644
--- a/kcontrol/kded/kcmkded.cpp
+++ b/kcontrol/kded/kcmkded.cpp
@@ -96,7 +96,7 @@ KDEDConfig::KDEDConfig(TQWidget* parent, const char* name, const TQStringList &)
_lvStartup->setAllColumnsShowFocus(true);
_lvStartup->header()->setStretchEnabled(true, 2);
- KButtonBox *buttonBox = new KButtonBox( gb, Qt::Horizontal);
+ KButtonBox *buttonBox = new KButtonBox( gb, TQt::Horizontal);
_pbStart = buttonBox->addButton( i18n("Start"));
_pbStop = buttonBox->addButton( i18n("Stop"));
diff --git a/kcontrol/keys/main.cpp b/kcontrol/keys/main.cpp
index d002b667f..eccc5210a 100644
--- a/kcontrol/keys/main.cpp
+++ b/kcontrol/keys/main.cpp
@@ -181,9 +181,9 @@ extern "C"
kdDebug(125) << "KeyModule::init() - Load Included Bindings\n";
// this should match the included files above
#define NOSLOTS
-#define SHIFT Qt::SHIFT
-#define CTRL Qt::CTRL
-#define ALT Qt::ALT
+#define SHIFT TQt::SHIFT
+#define CTRL TQt::CTRL
+#define ALT TQt::ALT
#include "../../klipper/klipperbindings.cpp"
#include "../../twin/twinbindings.cpp"
#define KICKER_ALL_BINDINGS
diff --git a/kcontrol/keys/modifiers.cpp b/kcontrol/keys/modifiers.cpp
index 084bf040d..349bd492d 100644
--- a/kcontrol/keys/modifiers.cpp
+++ b/kcontrol/keys/modifiers.cpp
@@ -172,7 +172,7 @@ void ModifiersModule::initGUI()
TQGridLayout* pLayoutTop = new TQGridLayout( this, 6, 2, KDialog::marginHint() );
pLayoutTop->setColStretch( 1, 1 );
- TQGroupBox* pGroup = new TQGroupBox( 2, Qt::Horizontal, i18n("TDE Modifiers"), this );
+ TQGroupBox* pGroup = new TQGroupBox( 2, TQt::Horizontal, i18n("TDE Modifiers"), this );
pLayoutTop->addWidget( pGroup, 0, 0 );
TQLabel* plbl = new TQLabel( i18n("Modifier"), pGroup );
@@ -226,7 +226,7 @@ void ModifiersModule::initGUI()
//------------------
pLayoutTop->addRowSpacing( 3, KDialog::spacingHint() * 3 );
- pGroup = new TQGroupBox( 1, Qt::Horizontal, i18n("X Modifier Mapping"), this );
+ pGroup = new TQGroupBox( 1, TQt::Horizontal, i18n("X Modifier Mapping"), this );
pLayoutTop->addWidget( pGroup, 4, 0 );
m_plstXMods = new TDEListView( pGroup );
diff --git a/kcontrol/keys/treeview.cpp b/kcontrol/keys/treeview.cpp
index 36d0e3bf4..06d01e317 100644
--- a/kcontrol/keys/treeview.cpp
+++ b/kcontrol/keys/treeview.cpp
@@ -122,7 +122,7 @@ AppTreeView::~AppTreeView()
void AppTreeView::fill()
{
- TQApplication::setOverrideCursor(Qt::WaitCursor);
+ TQApplication::setOverrideCursor(TQt::WaitCursor);
clear();
fillBranch(TQString::null, 0);
TQApplication::restoreOverrideCursor();
diff --git a/kcontrol/kicker/positiontab_impl.cpp b/kcontrol/kicker/positiontab_impl.cpp
index 63cdb35a9..5fdb22983 100644
--- a/kcontrol/kicker/positiontab_impl.cpp
+++ b/kcontrol/kicker/positiontab_impl.cpp
@@ -696,7 +696,7 @@ void PositionTab::showIdentify()
screenLabel->setFrameStyle(TQFrame::Panel);
screenLabel->setFrameShadow(TQFrame::Plain);
- screenLabel->setAlignment(Qt::AlignCenter);
+ screenLabel->setAlignment(TQt::AlignCenter);
screenLabel->setNum(s + 1);
// BUGLET: we should not allow the identification to be entered again
// until the timer fires.
diff --git a/kcontrol/konq/desktop.cpp b/kcontrol/konq/desktop.cpp
index 5d5305b09..d7af32f8b 100644
--- a/kcontrol/konq/desktop.cpp
+++ b/kcontrol/konq/desktop.cpp
@@ -86,7 +86,7 @@ KDesktopConfig::KDesktopConfig(TQWidget *parent, const char * /*name*/)
// name group
TQGroupBox *name_group = new TQGroupBox(i18n("Desktop &Names"), this);
- name_group->setColumnLayout(4, Qt::Horizontal);
+ name_group->setColumnLayout(4, TQt::Horizontal);
for(int i = 0; i < (maxDesktops/2); i++)
{
diff --git a/kcontrol/konq/fontopts.cpp b/kcontrol/konq/fontopts.cpp
index 9dcb68e55..94f866b1a 100644
--- a/kcontrol/konq/fontopts.cpp
+++ b/kcontrol/konq/fontopts.cpp
@@ -94,7 +94,7 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop
m_pNormalText = new KColorButton( normalTextColor, this );
label = new TQLabel( m_pNormalText, i18n("Normal te&xt color:"), this );
lay->addWidget(label,row,0);
- lay->addWidget(m_pNormalText,row,COLOR_BUTTON_COL,(Qt::AlignmentFlags)hAlign);
+ lay->addWidget(m_pNormalText,row,COLOR_BUTTON_COL,(TQt::AlignmentFlags)hAlign);
wtstr = i18n("This is the color used to display text in Konqueror windows.");
TQWhatsThis::add( label, wtstr );
@@ -129,7 +129,7 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop
TQT_SLOT( slotTextBackgroundClicked() ) );
m_pTextBackground = new KColorButton( textBackgroundColor, this );
- lay->addWidget(m_pTextBackground,row,COLOR_BUTTON_COL,(Qt::AlignmentFlags)hAlign);
+ lay->addWidget(m_pTextBackground,row,COLOR_BUTTON_COL,(TQt::AlignmentFlags)hAlign);
wtstr = i18n("This is the color used behind the text for the icons on the desktop.");
TQWhatsThis::add( label, wtstr );
@@ -179,7 +179,7 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop
}
cbUnderline = new TQCheckBox(i18n("&Underline filenames"), this);
- lay->addMultiCellWidget(cbUnderline,row,row,0,LASTCOLUMN,(Qt::AlignmentFlags)hAlign);
+ lay->addMultiCellWidget(cbUnderline,row,row,0,LASTCOLUMN,(TQt::AlignmentFlags)hAlign);
connect(cbUnderline, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
TQWhatsThis::add( cbUnderline, i18n("Checking this option will result in filenames"
@@ -192,7 +192,7 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop
row++;
m_pSizeInBytes = new TQCheckBox(i18n("Display file sizes in b&ytes"), this);
- lay->addMultiCellWidget( m_pSizeInBytes,row,row,0,LASTCOLUMN,(Qt::AlignmentFlags)hAlign );
+ lay->addMultiCellWidget( m_pSizeInBytes,row,row,0,LASTCOLUMN,(TQt::AlignmentFlags)hAlign );
connect( m_pSizeInBytes, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()) );
TQWhatsThis::add( m_pSizeInBytes, i18n("Checking this option will result in file sizes"
@@ -263,7 +263,7 @@ void KonqFontOptions::load( bool useDefaults )
m_pTextBackground->setColor( textBackgroundColor );
// Don't keep an invalid color around, otherwise checking the checkbox still gives invalid.
if ( !textBackgroundColor.isValid() )
- textBackgroundColor = Qt::black;
+ textBackgroundColor = TQt::black;
}
else
{
diff --git a/kcontrol/konqhtml/appearance.cpp b/kcontrol/konqhtml/appearance.cpp
index 30272c3f6..c921ef64d 100644
--- a/kcontrol/konqhtml/appearance.cpp
+++ b/kcontrol/konqhtml/appearance.cpp
@@ -40,7 +40,7 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg
int r = 0;
int E = 0, M = 1, W = 3; //CT 3 (instead 2) allows smaller color buttons
- TQGroupBox* gb = new TQGroupBox( 1, Qt::Horizontal, i18n("Font Si&ze"), this );
+ TQGroupBox* gb = new TQGroupBox( 1, TQt::Horizontal, i18n("Font Si&ze"), this );
lay->addMultiCellWidget(gb, r, r, E, W);
TQWhatsThis::add( gb, i18n("This is the relative font size Konqueror uses to display web sites.") );
diff --git a/kcontrol/konqhtml/domainlistview.cpp b/kcontrol/konqhtml/domainlistview.cpp
index fcddac791..e6521b3b8 100644
--- a/kcontrol/konqhtml/domainlistview.cpp
+++ b/kcontrol/konqhtml/domainlistview.cpp
@@ -35,11 +35,11 @@
DomainListView::DomainListView(TDEConfig *config,const TQString &title,
TQWidget *parent,const char *name) :
TQGroupBox(title, parent, name), config(config) {
- setColumnLayout(0, Qt::Vertical);
+ setColumnLayout(0, TQt::Vertical);
layout()->setSpacing(0);
layout()->setMargin(0);
TQGridLayout* thisLayout = new TQGridLayout(layout());
- thisLayout->setAlignment(Qt::AlignTop);
+ thisLayout->setAlignment(TQt::AlignTop);
thisLayout->setSpacing(KDialog::spacingHint());
thisLayout->setMargin(KDialog::marginHint());
diff --git a/kcontrol/konqhtml/filteropts.cpp b/kcontrol/konqhtml/filteropts.cpp
index 9a2ae9efe..6603c06ca 100644
--- a/kcontrol/konqhtml/filteropts.cpp
+++ b/kcontrol/konqhtml/filteropts.cpp
@@ -55,7 +55,7 @@ KCMFilter::KCMFilter(TDEConfig *config, TQString group,
mKillCheck = new TQCheckBox(i18n("Hide filtered images"), this);
topLayout->addWidget( mKillCheck );
- TQGroupBox *topBox = new TQGroupBox( 1, Qt::Horizontal, i18n("URL Expressions to Filter"), this );
+ TQGroupBox *topBox = new TQGroupBox( 1, TQt::Horizontal, i18n("URL Expressions to Filter"), this );
topLayout->addWidget( topBox );
mListBox = new TQListBox( topBox );
diff --git a/kcontrol/konqhtml/jsopts.cpp b/kcontrol/konqhtml/jsopts.cpp
index da5af132d..ebbf7c4aa 100644
--- a/kcontrol/konqhtml/jsopts.cpp
+++ b/kcontrol/konqhtml/jsopts.cpp
@@ -45,7 +45,7 @@ KJavaScriptOptions::KJavaScriptOptions( TDEConfig* config, TQString group, TQWid
TQVBoxLayout* toplevel = new TQVBoxLayout( this, 10, 5 );
// the global checkbox
- TQGroupBox* globalGB = new TQGroupBox( 2, Qt::Vertical, i18n( "Global Settings" ), this );
+ TQGroupBox* globalGB = new TQGroupBox( 2, TQt::Vertical, i18n( "Global Settings" ), this );
toplevel->addWidget( globalGB );
enableJavaScriptGloballyCB = new TQCheckBox( i18n( "Ena&ble JavaScript globally" ), globalGB );
diff --git a/kcontrol/konqhtml/jspolicies.cpp b/kcontrol/konqhtml/jspolicies.cpp
index 1debc0ace..07a0cbea6 100644
--- a/kcontrol/konqhtml/jspolicies.cpp
+++ b/kcontrol/konqhtml/jspolicies.cpp
@@ -132,11 +132,11 @@ JSPoliciesFrame::JSPoliciesFrame(JSPolicies *policies, const TQString &title,
bool is_per_domain = !policies->isGlobal();
- setColumnLayout(0, Qt::Vertical);
+ setColumnLayout(0, TQt::Vertical);
layout()->setSpacing(0);
layout()->setMargin(0);
TQGridLayout *this_layout = new TQGridLayout(layout(),5,10+is_per_domain*2);
- this_layout->setAlignment(Qt::AlignTop);
+ this_layout->setAlignment(TQt::AlignTop);
this_layout->setSpacing(3);
this_layout->setMargin(11);
diff --git a/kcontrol/konqhtml/pluginopts.cpp b/kcontrol/konqhtml/pluginopts.cpp
index f8e1ad10a..547182f2d 100644
--- a/kcontrol/konqhtml/pluginopts.cpp
+++ b/kcontrol/konqhtml/pluginopts.cpp
@@ -62,7 +62,7 @@ KPluginOptions::KPluginOptions( TDEConfig* config, TQString group, TQWidget *par
enableHTTPOnly = new TQCheckBox( i18n( "Only allow &HTTP and HTTPS URLs for plugins" ), globalGB );
enableUserDemand = new TQCheckBox( i18n( "&Load plugins on demand only" ), globalGB );
priorityLabel = new TQLabel(i18n("CPU priority for plugins: %1").arg(TQString()), globalGB);
- priority = new TQSlider(5, 100, 5, 100, Qt::Horizontal, globalGB);
+ priority = new TQSlider(5, 100, 5, 100, TQt::Horizontal, globalGB);
connect( enablePluginsGloballyCB, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChanged() ) );
connect( enablePluginsGloballyCB, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotTogglePluginsEnabled() ) );
connect( enableHTTPOnly, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChanged() ) );
diff --git a/kcontrol/launch/kcmlaunch.cpp b/kcontrol/launch/kcmlaunch.cpp
index 1b7875e7f..33f78e18e 100644
--- a/kcontrol/launch/kcmlaunch.cpp
+++ b/kcontrol/launch/kcmlaunch.cpp
@@ -56,7 +56,7 @@ LaunchConfig::LaunchConfig(TQWidget * parent, const char * name, const TQStringL
"notification. In this case, the cursor stops blinking after the time\n"
"given in the section 'Startup indication timeout'"));
- GroupBox1->setColumnLayout(0, Qt::Vertical );
+ GroupBox1->setColumnLayout(0, TQt::Vertical );
GroupBox1->layout()->setSpacing( 0 );
GroupBox1->layout()->setMargin( 0 );
Form1Layout->addWidget( GroupBox1 );
@@ -96,7 +96,7 @@ LaunchConfig::LaunchConfig(TQWidget * parent, const char * name, const TQStringL
"notification. In this case, the button disappears after the time\n"
"given in the section 'Startup indication timeout'"));
- GroupBox2->setColumnLayout( 0, Qt::Vertical );
+ GroupBox2->setColumnLayout( 0, TQt::Vertical );
GroupBox2->layout()->setSpacing( 0 );
GroupBox2->layout()->setMargin( 0 );
Form1Layout->addWidget( GroupBox2 );
diff --git a/kcontrol/locale/klocalesample.cpp b/kcontrol/locale/klocalesample.cpp
index 1f34e9c89..4e09726b4 100644
--- a/kcontrol/locale/klocalesample.cpp
+++ b/kcontrol/locale/klocalesample.cpp
@@ -46,7 +46,7 @@ TDELocaleSample::TDELocaleSample(TDELocale *locale,
// Whatever the color scheme is, we want black text
TQColorGroup a = palette().active();
- a.setColor(TQColorGroup::Foreground, Qt::black);
+ a.setColor(TQColorGroup::Foreground, TQt::black);
TQPalette pal(a, a, a);
m_labNumber = new TQLabel(this, I18N_NOOP("Numbers:"));
diff --git a/kcontrol/randr/tderandrmodule.cpp b/kcontrol/randr/tderandrmodule.cpp
index 11263bbf4..39e00980d 100644
--- a/kcontrol/randr/tderandrmodule.cpp
+++ b/kcontrol/randr/tderandrmodule.cpp
@@ -121,7 +121,7 @@ KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringLis
connect(m_refreshRates, TQT_SIGNAL(activated(int)), TQT_SLOT(slotRefreshChanged(int)));
rateLabel->setBuddy( m_refreshRates );
- m_rotationGroup = new TQButtonGroup(2, Qt::Horizontal, i18n("Orientation (degrees counterclockwise)"), this);
+ m_rotationGroup = new TQButtonGroup(2, TQt::Horizontal, i18n("Orientation (degrees counterclockwise)"), this);
topLayout->addWidget(m_rotationGroup);
m_rotationGroup->setRadioButtonExclusive(true);
TQWhatsThis::add(m_rotationGroup, i18n("The options in this section allow you to change the rotation of your screen."));
diff --git a/kcontrol/randr/tderandrtray.cpp b/kcontrol/randr/tderandrtray.cpp
index 647f0eca7..6a65662a7 100644
--- a/kcontrol/randr/tderandrtray.cpp
+++ b/kcontrol/randr/tderandrtray.cpp
@@ -61,7 +61,7 @@ KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name)
TDEPopupMenu *help = m_help->menu();
help->connectItem(KHelpMenu::menuHelpContents, this, TQT_SLOT(slotHelpContents()));
setPixmap(KSystemTray::loadIcon("randr"));
- setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
+ setAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(_quit()));
TQToolTip::add(this, i18n("Screen resize & rotate"));
my_parent = parent;
@@ -147,7 +147,7 @@ void KRandRSystemTray::showEvent ( TQShowEvent * )
void KRandRSystemTray::mousePressEvent(TQMouseEvent* e)
{
// Popup the context menu with left-click
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
contextMenuAboutToShow(contextMenu());
contextMenu()->popup(e->globalPos());
e->accept();
diff --git a/kcontrol/samba/kcmsambalog.cpp b/kcontrol/samba/kcmsambalog.cpp
index fb7eea1b7..cb6b40c99 100644
--- a/kcontrol/samba/kcmsambalog.cpp
+++ b/kcontrol/samba/kcmsambalog.cpp
@@ -59,7 +59,7 @@ LogView::LogView(TQWidget *parent,TDEConfig *config, const char *name)
subLayout->addWidget(&showConnClose,1,0);
subLayout->addWidget(&showFileOpen,0,1);
subLayout->addWidget(&showFileClose,1,1);
- mainLayout->addWidget(&updateButton,0,Qt::AlignLeft);
+ mainLayout->addWidget(&updateButton,0,TQt::AlignLeft);
TQWhatsThis::add( &logFileName, i18n("This page presents the contents of"
" your samba log file in a friendly layout. Check that the correct log"
diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp
index cd30fa1a1..67a93a5e2 100644
--- a/kcontrol/screensaver/scrnsave.cpp
+++ b/kcontrol/screensaver/scrnsave.cpp
@@ -140,7 +140,7 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis
new TQVBoxLayout(leftColumnLayout, KDialog::spacingHint());
mSaverGroup = new TQGroupBox(i18n("Screen Saver"), this );
- mSaverGroup->setColumnLayout( 0, Qt::Horizontal );
+ mSaverGroup->setColumnLayout( 0, TQt::Horizontal );
vLayout->addWidget(mSaverGroup);
vLayout->setStretchFactor( mSaverGroup, 10 );
TQBoxLayout *groupLayout = new TQVBoxLayout( mSaverGroup->layout(),
@@ -170,7 +170,7 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis
TQWhatsThis::add( mTestBt, i18n("Show a full screen preview of the screen saver.") );
mSettingsGroup = new TQGroupBox( i18n("Settings"), this );
- mSettingsGroup->setColumnLayout( 0, Qt::Vertical );
+ mSettingsGroup->setColumnLayout( 0, TQt::Vertical );
leftColumnLayout->addWidget( mSettingsGroup );
TQGridLayout *settingsGroupLayout = new TQGridLayout( mSettingsGroup->layout(), 5, 2, KDialog::spacingHint() );
diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp
index 49ca332dd..cc052e4c3 100644
--- a/kcontrol/style/kcmstyle.cpp
+++ b/kcontrol/style/kcmstyle.cpp
@@ -156,12 +156,12 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name )
// Add Page1 (Style)
// -----------------
gbWidgetStyle = new TQGroupBox( i18n("Widget Style"), page1, "gbWidgetStyle" );
- gbWidgetStyle->setColumnLayout( 0, Qt::Vertical );
+ gbWidgetStyle->setColumnLayout( 0, TQt::Vertical );
gbWidgetStyle->layout()->setMargin( KDialog::marginHint() );
gbWidgetStyle->layout()->setSpacing( KDialog::spacingHint() );
gbWidgetStyleLayout = new TQVBoxLayout( gbWidgetStyle->layout() );
- gbWidgetStyleLayout->setAlignment( Qt::AlignTop );
+ gbWidgetStyleLayout->setAlignment( TQt::AlignTop );
hbLayout = new TQHBoxLayout( KDialog::spacingHint(), "hbLayout" );
cbStyle = new KComboBox( gbWidgetStyle, "cbStyle" );
@@ -205,7 +205,7 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name )
gbWidgetStyleLayout->addSpacing(10);
TQGroupBox *gbPreview = new TQGroupBox( i18n( "Preview" ), page1 );
- gbPreview->setColumnLayout( 0, Qt::Vertical );
+ gbPreview->setColumnLayout( 0, TQt::Vertical );
gbPreview->layout()->setMargin( 0 );
gbPreview->layout()->setSpacing( KDialog::spacingHint() );
gbPreview->setFlat( true );
@@ -304,7 +304,7 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name )
sliderBox = new TQVBox( menuContainer );
sliderBox->setSpacing( KDialog::spacingHint() );
sliderBox->setMargin( 0 );
- slOpacity = new TQSlider( 0, 100, 5, /*opacity*/ 90, Qt::Horizontal, sliderBox );
+ slOpacity = new TQSlider( 0, 100, 5, /*opacity*/ 90, TQt::Horizontal, sliderBox );
slOpacity->setTickmarks( TQSlider::Below );
slOpacity->setTickInterval( 10 );
TQHBox* box1 = new TQHBox( sliderBox );
@@ -813,7 +813,7 @@ void KCMStyle::loadStyle( TDEConfig& config )
// they use QPopupMenus for the drop-down list!
// ##### Since Trolltech likes to seemingly copy & paste code,
- // TQStringList::findItem() doesn't have a Qt::StringComparisonMode field.
+ // TQStringList::findItem() doesn't have a TQt::StringComparisonMode field.
// We roll our own (yuck)
cfgStyle = cfgStyle.lower();
int item = 0;
diff --git a/kcontrol/tdefontinst/lib/FcEngine.cpp b/kcontrol/tdefontinst/lib/FcEngine.cpp
index 1956a34a6..987a44174 100644
--- a/kcontrol/tdefontinst/lib/FcEngine.cpp
+++ b/kcontrol/tdefontinst/lib/FcEngine.cpp
@@ -491,7 +491,7 @@ bool CFcEngine::draw(const KURL &url, int w, int h, TQPixmap &pix, int faceNo, b
x=offset, y=offset;
pix.resize(w, h);
- pix.fill(Qt::white);
+ pix.fill(TQt::white);
TQPainter painter(&pix);
@@ -580,7 +580,7 @@ bool CFcEngine::draw(const KURL &url, int w, int h, TQPixmap &pix, int faceNo, b
title=i18n("%1 [1 pixel]", "%1 [%n pixels]", itsSizes[0]).arg(title);
painter.setFont(TDEGlobalSettings::generalFont());
- painter.setPen(Qt::black);
+ painter.setPen(TQt::black);
y=painter.fontMetrics().height();
drawText(painter, x, y, w-offset, title);
y+=4;
diff --git a/kcontrol/tdefontinst/viewpart/FontPreview.cpp b/kcontrol/tdefontinst/viewpart/FontPreview.cpp
index 41367d586..ff2eaae77 100644
--- a/kcontrol/tdefontinst/viewpart/FontPreview.cpp
+++ b/kcontrol/tdefontinst/viewpart/FontPreview.cpp
@@ -65,7 +65,7 @@ void CFontPreview::showFont()
if(!itsCurrentUrl.isEmpty() &&
itsEngine.draw(itsCurrentUrl, itsLastWidth, itsLastHeight, itsPixmap, itsCurrentFace-1, false))
{
- setEraseColor(Qt::white);
+ setEraseColor(TQt::white);
update();
emit status(true);
}
diff --git a/kcontrol/tdeio/uagentproviderdlg.cpp b/kcontrol/tdeio/uagentproviderdlg.cpp
index 5e5cbd233..821d2e8e4 100644
--- a/kcontrol/tdeio/uagentproviderdlg.cpp
+++ b/kcontrol/tdeio/uagentproviderdlg.cpp
@@ -45,8 +45,8 @@ void UALineEdit::keyPressEvent( TQKeyEvent* e )
{
int key = e->key();
TQString keycode = e->text();
- if ( (key >= Qt::Key_Escape && key <= Qt::Key_Help) || key == Qt::Key_Period ||
- (cursorPosition() > 0 && key == Qt::Key_Minus) ||
+ if ( (key >= TQt::Key_Escape && key <= TQt::Key_Help) || key == TQt::Key_Period ||
+ (cursorPosition() > 0 && key == TQt::Key_Minus) ||
(!keycode.isEmpty() && keycode.unicode()->isLetterOrNumber()) )
{
KLineEdit::keyPressEvent(e);
diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp
index a1ee6bda4..21745ef5d 100644
--- a/kcontrol/tdm/tdm-appear.cpp
+++ b/kcontrol/tdm/tdm-appear.cpp
@@ -130,7 +130,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name)
logobutton->installEventFilter(this); // for drag and drop
connect(logobutton, TQT_SIGNAL(clicked()), TQT_SLOT(slotLogoButtonClicked()));
hglay->addWidget(logoLabel, 1, 0);
- hglay->addWidget(logobutton, 1, 1, Qt::AlignCenter);
+ hglay->addWidget(logobutton, 1, 1, TQt::AlignCenter);
hglay->addRowSpacing(1, 110);
wtstr = i18n("Click here to choose an image that TDM will display. "
"You can also drag and drop an image onto this button "
@@ -145,7 +145,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name)
grid->addLayout(hglay, 2, 1);
label = new TQLabel(i18n("Position:"), group);
- hglay->addMultiCellWidget(label, 0,1, 0,0, Qt::AlignVCenter);
+ hglay->addMultiCellWidget(label, 0,1, 0,0, TQt::AlignVCenter);
TQValidator *posValidator = new TQIntValidator(0, 100, TQT_TQOBJECT(group));
TQLabel *xLineLabel = new TQLabel(i18n("&X:"), group);
hglay->addWidget(xLineLabel, 0, 1);
@@ -226,7 +226,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name)
// The Language group box
- group = new TQGroupBox(0, Qt::Vertical, i18n("Locale"), this);
+ group = new TQGroupBox(0, TQt::Vertical, i18n("Locale"), this);
vbox->addWidget(group);
langcombo = new KLanguageButton(group);
@@ -243,7 +243,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name)
TQWhatsThis::add( langcombo, wtstr );
// The SAK group box
- group = new TQGroupBox(0, Qt::Vertical, i18n("Secure Attention Key"), this);
+ group = new TQGroupBox(0, TQt::Vertical, i18n("Secure Attention Key"), this);
vbox->addWidget(group);
sakbox = new TQCheckBox( i18n("Enable Secure Attention Key"), group );
@@ -262,7 +262,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name)
TQWhatsThis::add( sakbox, wtstr );
// Keyboard group box
- group = new TQGroupBox(0, Qt::Vertical, i18n("Keyboard"), this);
+ group = new TQGroupBox(0, TQt::Vertical, i18n("Keyboard"), this);
vbox->addWidget(group);
kbdledbox = new TQCheckBox(i18n("Sync keyboard led status"), group);
diff --git a/kcontrol/tdm/tdm-users.cpp b/kcontrol/tdm/tdm-users.cpp
index c7e155565..4b7b64ba3 100644
--- a/kcontrol/tdm/tdm-users.cpp
+++ b/kcontrol/tdm/tdm-users.cpp
@@ -93,7 +93,7 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name)
TQString wtstr;
- minGroup = new TQGroupBox( 2, Qt::Horizontal, i18n("System U&IDs"), this );
+ minGroup = new TQGroupBox( 2, TQt::Horizontal, i18n("System U&IDs"), this );
TQWhatsThis::add( minGroup, i18n("Users with a UID (numerical user identification) outside this range will not be listed by TDM and this setup dialog."
" Note that users with the UID 0 (typically root) are not affected by this and must be"
" explicitly hidden in \"Not hidden\" mode."));
@@ -114,7 +114,7 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name)
connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) );
connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) );
- usrGroup = new TQButtonGroup( 5, Qt::Vertical, i18n("Users"), this );
+ usrGroup = new TQButtonGroup( 5, TQt::Vertical, i18n("Users"), this );
connect( usrGroup, TQT_SIGNAL(clicked( int )), TQT_SLOT(slotShowOpts()) );
connect( usrGroup, TQT_SIGNAL(clicked( int )), TQT_SLOT(slotChanged()) );
cbshowlist = new TQCheckBox( i18n("Show list"), usrGroup );
@@ -154,7 +154,7 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name)
connect( optoutlv, TQT_SIGNAL(clicked( TQListViewItem * )),
TQT_SLOT(slotChanged()) );
- faceGroup = new TQButtonGroup( 5, Qt::Vertical, i18n("User Image Source"), this );
+ faceGroup = new TQButtonGroup( 5, TQt::Vertical, i18n("User Image Source"), this );
TQWhatsThis::add( faceGroup, i18n("Here you can specify where TDM will obtain the images that represent users."
" \"Admin\" represents the global folder; these are the pictures you can set below."
" \"User\" means that TDM should read the user's $HOME/.face.icon file."
@@ -191,8 +191,8 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name)
hlpl->addWidget( userlabel, 0, 0 );
// hlpl->addSpacing( KDialog::spacingHint() );
hlpl->addWidget( usercombo, 0, 1 );
- hlpl->addMultiCellWidget( userbutton, 1,1, 0,1, Qt::AlignHCenter );
- hlpl->addMultiCellWidget( rstuserbutton, 2,2, 0,1, Qt::AlignHCenter );
+ hlpl->addMultiCellWidget( userbutton, 1,1, 0,1, TQt::AlignHCenter );
+ hlpl->addMultiCellWidget( rstuserbutton, 2,2, 0,1, TQt::AlignHCenter );
TQHBoxLayout *main = new TQHBoxLayout( this, 10 );
diff --git a/kcontrol/usbview/kcmusb.cpp b/kcontrol/usbview/kcmusb.cpp
index b58647a9e..223a201d1 100644
--- a/kcontrol/usbview/kcmusb.cpp
+++ b/kcontrol/usbview/kcmusb.cpp
@@ -36,7 +36,7 @@ USBViewer::USBViewer(TQWidget *parent, const char *name, const TQStringList &)
TQVBoxLayout *vbox = new TQVBoxLayout(this, 0, KDialog::spacingHint());
TQGroupBox *gbox = new TQGroupBox(i18n("USB Devices"), this);
- gbox->setColumnLayout( 0, Qt::Horizontal );
+ gbox->setColumnLayout( 0, TQt::Horizontal );
vbox->addWidget(gbox);
TQVBoxLayout *vvbox = new TQVBoxLayout(gbox->layout(), KDialog::spacingHint());
diff --git a/kcontrol/xinerama/kcmxinerama.cpp b/kcontrol/xinerama/kcmxinerama.cpp
index d32adc1b8..f5d74a191 100644
--- a/kcontrol/xinerama/kcmxinerama.cpp
+++ b/kcontrol/xinerama/kcmxinerama.cpp
@@ -223,7 +223,7 @@ TQWidget *KCMXinerama::indicator(int dpy) {
si->setFont(fnt);
si->setFrameStyle(TQFrame::Panel);
si->setFrameShadow(TQFrame::Plain);
- si->setAlignment(Qt::AlignCenter);
+ si->setAlignment(TQt::AlignCenter);
TQPoint screenCenter(TQApplication::desktop()->screenGeometry(dpy).center());
TQRect targetGeometry(TQPoint(0,0), si->sizeHint());