diff options
Diffstat (limited to 'kcontrol')
169 files changed, 1765 insertions, 1765 deletions
diff --git a/kcontrol/access/kaccess.cpp b/kcontrol/access/kaccess.cpp index 2cb9281df..3b79f8ce7 100644 --- a/kcontrol/access/kaccess.cpp +++ b/kcontrol/access/kaccess.cpp @@ -96,10 +96,10 @@ KAccessApp::KAccessApp(bool allowStyles, bool GUIenabled) overlay(0), wm(0, KWinModule::INFO_DESKTOP) { _activeWindow = wm.activeWindow(); - connect(&wm, TQT_SIGNAL(activeWindowChanged(WId)), this, TQT_SLOT(activeWindowChanged(WId))); + connect(&wm, TQ_SIGNAL(activeWindowChanged(WId)), this, TQ_SLOT(activeWindowChanged(WId))); artsBellTimer = new TQTimer( this ); - connect( artsBellTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotArtsBellTimeout() )); + connect( artsBellTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotArtsBellTimeout() )); features = 0; requestedFeatures = 0; @@ -364,7 +364,7 @@ bool KAccessApp::x11EventFilter(XEvent *event) void VisualBell::paintEvent(TQPaintEvent *event) { TQWidget::paintEvent(event); - TQTimer::singleShot(_pause, this, TQT_SLOT(hide())); + TQTimer::singleShot(_pause, this, TQ_SLOT(hide())); } @@ -605,9 +605,9 @@ void KAccessApp::createDialogContents() { dialog->setMainWidget(topcontents); dialog->enableButtonSeparator(false); - connect (dialog, TQT_SIGNAL(yesClicked()), this, TQT_SLOT(yesClicked())); - connect (dialog, TQT_SIGNAL(noClicked()), this, TQT_SLOT(noClicked())); - connect (dialog, TQT_SIGNAL(closeClicked()), this, TQT_SLOT(dialogClosed())); + connect (dialog, TQ_SIGNAL(yesClicked()), this, TQ_SLOT(yesClicked())); + connect (dialog, TQ_SIGNAL(noClicked()), this, TQ_SLOT(noClicked())); + connect (dialog, TQ_SIGNAL(closeClicked()), this, TQ_SLOT(dialogClosed())); } } diff --git a/kcontrol/access/kcmaccess.cpp b/kcontrol/access/kcmaccess.cpp index e38615ebb..5c6cc68b4 100644 --- a/kcontrol/access/kcmaccess.cpp +++ b/kcontrol/access/kcmaccess.cpp @@ -55,10 +55,10 @@ void ExtendedIntNumInput::setRange(int min, int max, int step, bool slider) { KIntNumInput::setRange (min,max,step, slider); if (slider) { - disconnect(m_slider, TQT_SIGNAL(valueChanged(int)), - m_spin, TQT_SLOT(setValue(int))); - disconnect(m_spin, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(spinValueChanged(int))); + disconnect(m_slider, TQ_SIGNAL(valueChanged(int)), + m_spin, TQ_SLOT(setValue(int))); + disconnect(m_spin, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(spinValueChanged(int))); this->min = min; this->max = max; @@ -72,10 +72,10 @@ void ExtendedIntNumInput::setRange(int min, int max, int step, bool slider) { double logVal = alpha * (log((double)value())-log((double)min)); m_slider->setValue ((int)floor (0.5 + logVal)); - connect(m_slider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotSliderValueChanged(int))); - connect(m_spin, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotSpinValueChanged(int))); + connect(m_slider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotSliderValueChanged(int))); + connect(m_spin, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotSpinValueChanged(int))); } } @@ -276,13 +276,13 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) TQWhatsThis::add( soundLabel, wtstr ); TQWhatsThis::add( soundButton, wtstr ); - connect(soundButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(selectSound())); + connect(soundButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(selectSound())); - connect(customBell, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); + connect(customBell, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); - connect(systemBell, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(customBell, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(soundEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(configChanged())); + connect(systemBell, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(customBell, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(soundEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(configChanged())); // ----------------------------------------------------- @@ -326,16 +326,16 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) hbox->addWidget(durationSlider); TQWhatsThis::add( durationSlider, i18n("Here you can customize the duration of the \"visible bell\" effect being shown.") ); - connect(invertScreen, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(flashScreen, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(visibleBell, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(visibleBell, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); - connect(colorButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeFlashScreenColor())); + connect(invertScreen, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(flashScreen, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(visibleBell, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(visibleBell, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); + connect(colorButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(changeFlashScreenColor())); - connect(invertScreen, TQT_SIGNAL(clicked()), this, TQT_SLOT(invertClicked())); - connect(flashScreen, TQT_SIGNAL(clicked()), this, TQT_SLOT(flashClicked())); + connect(invertScreen, TQ_SIGNAL(clicked()), this, TQ_SLOT(invertClicked())); + connect(flashScreen, TQ_SIGNAL(clicked()), this, TQ_SLOT(flashClicked())); - connect(durationSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); + connect(durationSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); vbox->addStretch(); @@ -391,16 +391,16 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) kNotifyModifiersButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); hbox->addWidget(kNotifyModifiersButton); - connect(stickyKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(stickyKeysLock, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(stickyKeysAutoOff, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(stickyKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); + connect(stickyKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(stickyKeysLock, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(stickyKeysAutoOff, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(stickyKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); - connect(stickyKeysBeep, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(toggleKeysBeep, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(kNotifyModifiers, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(kNotifyModifiers, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); - connect(kNotifyModifiersButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(configureKNotify())); + connect(stickyKeysBeep, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(toggleKeysBeep, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(kNotifyModifiers, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(kNotifyModifiers, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); + connect(kNotifyModifiersButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(configureKNotify())); vbox->addStretch(); @@ -465,18 +465,18 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) bounceKeysRejectBeep = new TQCheckBox(i18n("Use the system bell whenever a key is rejected"), grp); hbox->addWidget(bounceKeysRejectBeep); - connect(slowKeysDelay, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); - connect(slowKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(slowKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); + connect(slowKeysDelay, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); + connect(slowKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(slowKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); - connect(slowKeysPressBeep, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(slowKeysAcceptBeep, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(slowKeysRejectBeep, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); + connect(slowKeysPressBeep, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(slowKeysAcceptBeep, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(slowKeysRejectBeep, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); - connect(bounceKeysDelay, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); - connect(bounceKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(bounceKeysRejectBeep, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(bounceKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); + connect(bounceKeysDelay, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); + connect(bounceKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(bounceKeysRejectBeep, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(bounceKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); vbox->addStretch(); @@ -539,15 +539,15 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) kNotifyAccessXButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); hbox->addWidget(kNotifyAccessXButton); - connect(gestures, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(timeout, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(timeout, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); - connect(timeoutDelay, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); - connect(accessxBeep, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(gestureConfirmation, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(kNotifyAccessX, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged())); - connect(kNotifyAccessX, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); - connect(kNotifyAccessXButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(configureKNotify())); + connect(gestures, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(timeout, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(timeout, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); + connect(timeoutDelay, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); + connect(accessxBeep, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(gestureConfirmation, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(kNotifyAccessX, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged())); + connect(kNotifyAccessX, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); + connect(kNotifyAccessXButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(configureKNotify())); vbox->addStretch(); diff --git a/kcontrol/arts/arts.cpp b/kcontrol/arts/arts.cpp index 388776bc1..5f78072a1 100644 --- a/kcontrol/arts/arts.cpp +++ b/kcontrol/arts/arts.cpp @@ -100,10 +100,10 @@ void KArtsModule::initAudioIOList() *artsd << "artsd"; *artsd << "-A"; - connect(artsd, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(slotArtsdExited(TDEProcess*))); - connect(artsd, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), - this, TQT_SLOT(slotProcessArtsdOutput(TDEProcess*, char*, int))); + connect(artsd, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(slotArtsdExited(TDEProcess*))); + connect(artsd, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), + this, TQ_SLOT(slotProcessArtsdOutput(TDEProcess*, char*, int))); if (!artsd->start(TDEProcess::Block, TDEProcess::Stderr)) { KMessageBox::error(0, i18n("Unable to start the sound server to " @@ -216,31 +216,31 @@ KArtsModule::KArtsModule(TQWidget *parent, const char *name) suspendTime->setRange( 1, 999, 1, true ); - connect(startServer,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotChanged())); - connect(networkTransparent,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotChanged())); - connect(startRealtime,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotChanged())); - connect(fullDuplex,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotChanged())); - connect(customDevice, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); - connect(deviceName, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged())); - connect(customRate, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); - connect(samplingRate, TQT_SIGNAL(valueChanged(const TQString&)), TQT_SLOT(slotChanged())); -// connect(general->volumeSystray, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChanged()) ); - - connect(hardware->audioIO,TQT_SIGNAL(highlighted(int)),TQT_SLOT(slotChanged())); - connect(hardware->audioIO,TQT_SIGNAL(activated(int)),TQT_SLOT(slotChanged())); - connect(hardware->customOptions,TQT_SIGNAL(clicked()),TQT_SLOT(slotChanged())); - connect(hardware->addOptions,TQT_SIGNAL(textChanged(const TQString&)),TQT_SLOT(slotChanged())); - connect(hardware->soundQuality,TQT_SIGNAL(highlighted(int)),TQT_SLOT(slotChanged())); - connect(hardware->soundQuality,TQT_SIGNAL(activated(int)),TQT_SLOT(slotChanged())); - connect(general->latencySlider,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(slotChanged())); - connect(autoSuspend,TQT_SIGNAL(clicked()),TQT_SLOT(slotChanged())); - connect(suspendTime,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(slotChanged())); - connect(general->testSound,TQT_SIGNAL(clicked()),TQT_SLOT(slotTestSound())); - connect(hardware->midiDevice, TQT_SIGNAL( highlighted(int) ), this, TQT_SLOT( slotChanged() ) ); - connect(hardware->midiDevice, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( slotChanged() ) ); - connect(hardware->midiUseMapper, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChanged() ) ); - connect(hardware->midiMapper, TQT_SIGNAL( textChanged( const TQString& ) ), - this, TQT_SLOT( slotChanged() ) ); + connect(startServer,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotChanged())); + connect(networkTransparent,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotChanged())); + connect(startRealtime,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotChanged())); + connect(fullDuplex,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotChanged())); + connect(customDevice, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); + connect(deviceName, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged())); + connect(customRate, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); + connect(samplingRate, TQ_SIGNAL(valueChanged(const TQString&)), TQ_SLOT(slotChanged())); +// connect(general->volumeSystray, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChanged()) ); + + connect(hardware->audioIO,TQ_SIGNAL(highlighted(int)),TQ_SLOT(slotChanged())); + connect(hardware->audioIO,TQ_SIGNAL(activated(int)),TQ_SLOT(slotChanged())); + connect(hardware->customOptions,TQ_SIGNAL(clicked()),TQ_SLOT(slotChanged())); + connect(hardware->addOptions,TQ_SIGNAL(textChanged(const TQString&)),TQ_SLOT(slotChanged())); + connect(hardware->soundQuality,TQ_SIGNAL(highlighted(int)),TQ_SLOT(slotChanged())); + connect(hardware->soundQuality,TQ_SIGNAL(activated(int)),TQ_SLOT(slotChanged())); + connect(general->latencySlider,TQ_SIGNAL(valueChanged(int)),TQ_SLOT(slotChanged())); + connect(autoSuspend,TQ_SIGNAL(clicked()),TQ_SLOT(slotChanged())); + connect(suspendTime,TQ_SIGNAL(valueChanged(int)),TQ_SLOT(slotChanged())); + connect(general->testSound,TQ_SIGNAL(clicked()),TQ_SLOT(slotTestSound())); + connect(hardware->midiDevice, TQ_SIGNAL( highlighted(int) ), this, TQ_SLOT( slotChanged() ) ); + connect(hardware->midiDevice, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( slotChanged() ) ); + connect(hardware->midiUseMapper, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChanged() ) ); + connect(hardware->midiMapper, TQ_SIGNAL( textChanged( const TQString& ) ), + this, TQ_SLOT( slotChanged() ) ); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmarts"), I18N_NOOP("The Sound Server Control Module"), @@ -553,8 +553,8 @@ bool KArtsModule::realtimeIsPossible() *checkProcess << "artswrapper"; *checkProcess << "check"; - connect(checkProcess, TQT_SIGNAL(processExited(TDEProcess*)), - this, TQT_SLOT(slotArtsdExited(TDEProcess*))); + connect(checkProcess, TQ_SIGNAL(processExited(TDEProcess*)), + this, TQ_SLOT(slotArtsdExited(TDEProcess*))); if (!checkProcess->start(TDEProcess::Block)) { delete checkProcess; @@ -672,7 +672,7 @@ KStartArtsProgressDialog::KStartArtsProgressDialog(KArtsModule *parent, const ch const TQString &caption, const TQString &text) : KProgressDialog(parent, name, caption, text, true), m_module(parent), m_shutdown(false) { - connect(&m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotProgress())); + connect(&m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotProgress())); progressBar()->setTotalSteps(20); m_timeStep = 700; m_timer.start(m_timeStep); @@ -718,7 +718,7 @@ KStartArtsProgressDialog::slotFinished() { progressBar()->setProgress(20); m_timer.stop(); - TQTimer::singleShot(1000, this, TQT_SLOT(close())); + TQTimer::singleShot(1000, this, TQ_SLOT(close())); } diff --git a/kcontrol/background/bgadvanced.cpp b/kcontrol/background/bgadvanced.cpp index 3194c2859..03be761d7 100644 --- a/kcontrol/background/bgadvanced.cpp +++ b/kcontrol/background/bgadvanced.cpp @@ -77,8 +77,8 @@ BGAdvancedDialog::BGAdvancedDialog(KBackgroundRenderer *_r, dlg->m_listPrograms->header()->setStretchEnabled ( true, 1 ); dlg->m_listPrograms->setAllColumnsShowFocus(true); - connect(dlg->m_listPrograms, TQT_SIGNAL(clicked(TQListViewItem *)), - TQT_SLOT(slotProgramItemClicked(TQListViewItem *))); + connect(dlg->m_listPrograms, TQ_SIGNAL(clicked(TQListViewItem *)), + TQ_SLOT(slotProgramItemClicked(TQListViewItem *))); // Load programs TQStringList lst = KBackgroundProgram::list(); @@ -100,15 +100,15 @@ BGAdvancedDialog::BGAdvancedDialog(KBackgroundRenderer *_r, dlg->m_spinCache->setSpecialValueText(i18n("Unlimited")); dlg->m_spinCache->setSuffix(i18n(" KB")); - connect(dlg->m_buttonAdd, TQT_SIGNAL(clicked()), - TQT_SLOT(slotAdd())); - connect(dlg->m_buttonRemove, TQT_SIGNAL(clicked()), - TQT_SLOT(slotRemove())); - connect(dlg->m_buttonModify, TQT_SIGNAL(clicked()), - TQT_SLOT(slotModify())); + connect(dlg->m_buttonAdd, TQ_SIGNAL(clicked()), + TQ_SLOT(slotAdd())); + connect(dlg->m_buttonRemove, TQ_SIGNAL(clicked()), + TQ_SLOT(slotRemove())); + connect(dlg->m_buttonModify, TQ_SIGNAL(clicked()), + TQ_SLOT(slotModify())); - connect(dlg->m_listPrograms, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - TQT_SLOT(slotProgramItemDoubleClicked(TQListViewItem *))); + connect(dlg->m_listPrograms, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + TQ_SLOT(slotProgramItemDoubleClicked(TQListViewItem *))); } else { @@ -119,8 +119,8 @@ BGAdvancedDialog::BGAdvancedDialog(KBackgroundRenderer *_r, dlg->m_groupCache->hide(); } - connect( dlg->m_cbProgram, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(slotEnableProgram(bool))); + connect( dlg->m_cbProgram, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(slotEnableProgram(bool))); m_backgroundMode = m_oldBackgroundMode = r->backgroundMode(); if (m_oldBackgroundMode == KBackgroundSettings::Program) diff --git a/kcontrol/background/bgdialog.cpp b/kcontrol/background/bgdialog.cpp index 66acb0fce..c5d56af0f 100644 --- a/kcontrol/background/bgdialog.cpp +++ b/kcontrol/background/bgdialog.cpp @@ -122,21 +122,21 @@ BGDialog::BGDialog(TQWidget* parent, TDEConfig* _config, bool _multidesktop) m_eScreen = 0; } - connect(m_buttonIdentifyScreens, TQT_SIGNAL(clicked()), TQT_SLOT(slotIdentifyScreens())); + connect(m_buttonIdentifyScreens, TQ_SIGNAL(clicked()), TQ_SLOT(slotIdentifyScreens())); // preview monitor m_pMonitorArrangement = new BGMonitorArrangement(m_screenArrangement, "monitor arrangement"); - connect(m_pMonitorArrangement, TQT_SIGNAL(imageDropped(const TQString &)), TQT_SLOT(slotImageDropped(const TQString &))); + connect(m_pMonitorArrangement, TQ_SIGNAL(imageDropped(const TQString &)), TQ_SLOT(slotImageDropped(const TQString &))); if( m_multidesktop) { // desktop - connect(m_comboDesktop, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotSelectDesk(int))); + connect(m_comboDesktop, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotSelectDesk(int))); } if (m_numScreens > 1) { - connect(m_comboScreen, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotSelectScreen(int))); + connect(m_comboScreen, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotSelectScreen(int))); } // background image settings @@ -146,42 +146,42 @@ BGDialog::BGDialog(TQWidget* parent, TDEConfig* _config, bool _multidesktop) m_urlWallpaperButton->setFixedSize( pixMap.width()+8, pixMap.height()+8 ); TQToolTip::add(m_urlWallpaperButton, i18n("Open file dialog")); - connect(m_buttonGroupBackground, TQT_SIGNAL(clicked(int)), - TQT_SLOT(slotWallpaperTypeChanged(int))); - connect(m_urlWallpaperBox, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotWallpaper(int))); - connect(m_urlWallpaperButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotWallpaperSelection())); - connect(m_comboWallpaperPos, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotWallpaperPos(int))); - connect(m_buttonSetupWallpapers, TQT_SIGNAL(clicked()), - TQT_SLOT(slotSetupMulti())); + connect(m_buttonGroupBackground, TQ_SIGNAL(clicked(int)), + TQ_SLOT(slotWallpaperTypeChanged(int))); + connect(m_urlWallpaperBox, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotWallpaper(int))); + connect(m_urlWallpaperButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotWallpaperSelection())); + connect(m_comboWallpaperPos, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotWallpaperPos(int))); + connect(m_buttonSetupWallpapers, TQ_SIGNAL(clicked()), + TQ_SLOT(slotSetupMulti())); // set up the background colour stuff - connect(m_colorPrimary, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(slotPrimaryColor(const TQColor &))); - connect(m_colorSecondary, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(slotSecondaryColor(const TQColor &))); - connect(m_comboPattern, TQT_SIGNAL(activated(int)), - TQT_SLOT(slotPattern(int))); + connect(m_colorPrimary, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(slotPrimaryColor(const TQColor &))); + connect(m_colorSecondary, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(slotSecondaryColor(const TQColor &))); + connect(m_comboPattern, TQ_SIGNAL(activated(int)), + TQ_SLOT(slotPattern(int))); // blend - connect(m_comboBlend, TQT_SIGNAL(activated(int)), TQT_SLOT(slotBlendMode(int))); - connect(m_sliderBlend, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(slotBlendBalance(int))); - connect(m_cbBlendReverse, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(slotBlendReverse(bool))); + connect(m_comboBlend, TQ_SIGNAL(activated(int)), TQ_SLOT(slotBlendMode(int))); + connect(m_sliderBlend, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(slotBlendBalance(int))); + connect(m_cbBlendReverse, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(slotBlendReverse(bool))); // Crossfading background - connect(m_cbCrossFadeBg, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(slotCrossFadeBg(bool))); + connect(m_cbCrossFadeBg, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(slotCrossFadeBg(bool))); // advanced options - connect(m_buttonAdvanced, TQT_SIGNAL(clicked()), - TQT_SLOT(slotAdvanced())); + connect(m_buttonAdvanced, TQ_SIGNAL(clicked()), + TQ_SLOT(slotAdvanced())); - connect(m_buttonGetNew, TQT_SIGNAL(clicked()), - TQT_SLOT(slotGetNewStuff())); + connect(m_buttonGetNew, TQ_SIGNAL(clicked()), + TQ_SLOT(slotGetNewStuff())); // renderers m_renderer.resize(m_numDesks+1); @@ -198,19 +198,19 @@ BGDialog::BGDialog(TQWidget* parent, TDEConfig* _config, bool _multidesktop) // Setup the merged-screen renderer KBackgroundRenderer * r = new KBackgroundRenderer(eDesk, 0, false, _config); m_renderer[i].insert( 0, r ); - connect( r, TQT_SIGNAL(imageDone(int,int)), TQT_SLOT(slotPreviewDone(int,int)) ); + connect( r, TQ_SIGNAL(imageDone(int,int)), TQ_SLOT(slotPreviewDone(int,int)) ); // Setup the common-screen renderer r = new KBackgroundRenderer(eDesk, 0, true, _config); m_renderer[i].insert( 1, r ); - connect( r, TQT_SIGNAL(imageDone(int,int)), TQT_SLOT(slotPreviewDone(int,int)) ); + connect( r, TQ_SIGNAL(imageDone(int,int)), TQ_SLOT(slotPreviewDone(int,int)) ); // Setup the remaining renderers for each screen for (unsigned j=0; j < m_numScreens; ++j ) { r = new KBackgroundRenderer(eDesk, j, true, _config); m_renderer[i].insert( j+2, r ); - connect( r, TQT_SIGNAL(imageDone(int,int)), TQT_SLOT(slotPreviewDone(int,int)) ); + connect( r, TQ_SIGNAL(imageDone(int,int)), TQ_SLOT(slotPreviewDone(int,int)) ); } } } @@ -225,14 +225,14 @@ BGDialog::BGDialog(TQWidget* parent, TDEConfig* _config, bool _multidesktop) // set up the common desktop renderer KBackgroundRenderer * r = new KBackgroundRenderer(0, 0, false, _config); m_renderer[0].insert(0, r); - connect(r, TQT_SIGNAL(imageDone(int,int)), TQT_SLOT(slotPreviewDone(int,int))); + connect(r, TQ_SIGNAL(imageDone(int,int)), TQ_SLOT(slotPreviewDone(int,int))); // set up all the other desktop renderers for (unsigned i = 0; i < m_numDesks; ++i) { r = new KBackgroundRenderer(i, 0, false, _config); m_renderer[i+1].insert(0, r); - connect(r, TQT_SIGNAL(imageDone(int,int)), TQT_SLOT(slotPreviewDone(int,int))); + connect(r, TQ_SIGNAL(imageDone(int,int)), TQ_SLOT(slotPreviewDone(int,int))); } } @@ -285,7 +285,7 @@ BGDialog::BGDialog(TQWidget* parent, TDEConfig* _config, bool _multidesktop) updateUI(); #if (TQT_VERSION-0 >= 0x030200) - connect( tqApp->desktop(), TQT_SIGNAL( resized( int )), TQT_SLOT( desktopResized())); // RANDR support + connect( tqApp->desktop(), TQ_SIGNAL( resized( int )), TQ_SLOT( desktopResized())); // RANDR support #endif } @@ -447,7 +447,7 @@ void BGDialog::slotIdentifyScreens() screenLabel->setNum(int(s + 1)); // BUGLET: we should not allow the identification to be entered again // until the timer fires. - TQTimer::singleShot(1500, screenLabel, TQT_SLOT(close())); + TQTimer::singleShot(1500, screenLabel, TQ_SLOT(close())); TQPoint screenCenter(TQApplication::desktop()->screenGeometry(s).center()); TQRect targetGeometry(TQPoint(0,0),screenLabel->sizeHint()); diff --git a/kcontrol/background/bgmonitor.cpp b/kcontrol/background/bgmonitor.cpp index 1cf601bee..c75d42f6c 100644 --- a/kcontrol/background/bgmonitor.cpp +++ b/kcontrol/background/bgmonitor.cpp @@ -47,7 +47,7 @@ BGMonitorArrangement::BGMonitorArrangement(TQWidget *parent, const char *name) BGMonitorLabel * label = new BGMonitorLabel(this); m_pBGMonitor[screen] = label; - connect( label->monitor(), TQT_SIGNAL(imageDropped(const TQString &)), this, TQT_SIGNAL(imageDropped(const TQString &)) ); + connect( label->monitor(), TQ_SIGNAL(imageDropped(const TQString &)), this, TQ_SIGNAL(imageDropped(const TQString &)) ); } parent->setFixedSize(200, 186); diff --git a/kcontrol/background/bgrender.cpp b/kcontrol/background/bgrender.cpp index ee67beb66..12455b608 100644 --- a/kcontrol/background/bgrender.cpp +++ b/kcontrol/background/bgrender.cpp @@ -63,7 +63,7 @@ KBackgroundRenderer::KBackgroundRenderer(int desk, int screen, bool drawBackgrou m_TilingEnabled = false; m_pTimer = new TQTimer(this); - connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(render())); + connect(m_pTimer, TQ_SIGNAL(timeout()), TQ_SLOT(render())); } @@ -239,8 +239,8 @@ int KBackgroundRenderer::doBackground(bool quit) delete m_pProc; m_pProc = new KShellProcess; *m_pProc << file; - connect(m_pProc, TQT_SIGNAL(processExited(TDEProcess *)), - TQT_SLOT(slotBackgroundDone(TDEProcess *))); + connect(m_pProc, TQ_SIGNAL(processExited(TDEProcess *)), + TQ_SLOT(slotBackgroundDone(TDEProcess *))); m_pProc->start(KShellProcess::NotifyOnExit); retval = Wait; break; @@ -1228,7 +1228,7 @@ void KVirtualBGRenderer::initRenderers() KCrossBGRender *r = new KCrossBGRender(m_desk, eScreen, m_bDrawBackgroundPerScreen, m_pConfig); m_renderer.insert( i, r ); r->setSize(renderSize(i)); - connect( r, TQT_SIGNAL(imageDone(int,int)), this, TQT_SLOT(screenDone(int,int)) ); + connect( r, TQ_SIGNAL(imageDone(int,int)), this, TQ_SLOT(screenDone(int,int)) ); } } diff --git a/kcontrol/background/bgwallpaper.cpp b/kcontrol/background/bgwallpaper.cpp index b10c3707b..bc7de3e63 100644 --- a/kcontrol/background/bgwallpaper.cpp +++ b/kcontrol/background/bgwallpaper.cpp @@ -114,11 +114,11 @@ BGMultiWallpaperDialog::BGMultiWallpaperDialog(KBackgroundSettings *settings, if (m_pSettings->multiWallpaperMode() == KBackgroundSettings::Random) dlg->m_cbRandom->setChecked(true); - connect(dlg->m_buttonAdd, TQT_SIGNAL(clicked()), TQT_SLOT(slotAdd())); - connect(dlg->m_buttonRemove, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemove())); - connect(dlg->m_buttonMoveUp, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveUp())); - connect(dlg->m_buttonMoveDown, TQT_SIGNAL(clicked()), TQT_SLOT(slotMoveDown())); - connect(dlg->m_listImages, TQT_SIGNAL(clicked ( TQListBoxItem * )), TQT_SLOT(slotItemSelected( TQListBoxItem *))); + connect(dlg->m_buttonAdd, TQ_SIGNAL(clicked()), TQ_SLOT(slotAdd())); + connect(dlg->m_buttonRemove, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemove())); + connect(dlg->m_buttonMoveUp, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveUp())); + connect(dlg->m_buttonMoveDown, TQ_SIGNAL(clicked()), TQ_SLOT(slotMoveDown())); + connect(dlg->m_listImages, TQ_SIGNAL(clicked ( TQListBoxItem * )), TQ_SLOT(slotItemSelected( TQListBoxItem *))); dlg->m_buttonRemove->setEnabled( false ); dlg->m_buttonMoveUp->setEnabled( false ); dlg->m_buttonMoveDown->setEnabled( false ); diff --git a/kcontrol/background/main.cpp b/kcontrol/background/main.cpp index 75ed22269..e27aa50ac 100644 --- a/kcontrol/background/main.cpp +++ b/kcontrol/background/main.cpp @@ -65,7 +65,7 @@ KBackground::KBackground(TQWidget *parent, const char *name, const TQStringList // reparenting that is done. setAcceptDrops(true); - connect(m_base, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(m_base, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmbackground"), I18N_NOOP("TDE Background Control Module"), diff --git a/kcontrol/bell/bell.cpp b/kcontrol/bell/bell.cpp index 8b24dac6b..8abc606db 100644 --- a/kcontrol/bell/bell.cpp +++ b/kcontrol/bell/bell.cpp @@ -84,7 +84,7 @@ KBellConfig::KBellConfig(TQWidget *parent, const char *name): "more sophisticated system notification, see the " "\"System Notifications\" control module for the " "\"Something Special Happened in the Program\" event.")); - connect(m_useBell, TQT_SIGNAL( toggled( bool )), TQT_SLOT( useBell( bool ))); + connect(m_useBell, TQ_SIGNAL( toggled( bool )), TQ_SLOT( useBell( bool ))); row++; grid->addMultiCellWidget(m_useBell, row, row, 0, 1); @@ -124,13 +124,13 @@ KBellConfig::KBellConfig(TQWidget *parent, const char *name): m_testButton = new TQPushButton(i18n("&Test"), box, "test"); boxLayout->addWidget(m_testButton, 0, AlignRight); grid->addLayout( boxLayout, ++row, 1 ); - connect( m_testButton, TQT_SIGNAL(clicked()), TQT_SLOT(ringBell())); + connect( m_testButton, TQ_SIGNAL(clicked()), TQ_SLOT(ringBell())); TQWhatsThis::add( m_testButton, i18n("Click \"Test\" to hear how the system bell will sound using your changed settings.") ); // watch for changes - connect(m_volume, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed())); - connect(m_pitch, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed())); - connect(m_duration, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed())); + connect(m_volume, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed())); + connect(m_pitch, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed())); + connect(m_duration, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed())); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmbell"), I18N_NOOP("TDE Bell Control Module"), diff --git a/kcontrol/clock/dtime.cpp b/kcontrol/clock/dtime.cpp index a492c9deb..3e45b3b19 100644 --- a/kcontrol/clock/dtime.cpp +++ b/kcontrol/clock/dtime.cpp @@ -70,14 +70,14 @@ Dtime::Dtime(TQWidget * parent, const char *name) setDateTimeAuto = new TQCheckBox( privateLayoutWidget, "setDateTimeAuto" ); setDateTimeAuto->setText(i18n("Set date and time &automatically:")); - connect(setDateTimeAuto, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(serverTimeCheck())); - connect(setDateTimeAuto, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged())); + connect(setDateTimeAuto, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(serverTimeCheck())); + connect(setDateTimeAuto, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged())); layout1->addWidget( setDateTimeAuto ); timeServerList = new TQComboBox( false, privateLayoutWidget, "timeServerList" ); - connect(timeServerList, TQT_SIGNAL(activated(int)), TQT_SLOT(configChanged())); - connect(timeServerList, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(configChanged())); - connect(setDateTimeAuto, TQT_SIGNAL(toggled(bool)), timeServerList, TQT_SLOT(setEnabled(bool))); + connect(timeServerList, TQ_SIGNAL(activated(int)), TQ_SLOT(configChanged())); + connect(timeServerList, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(configChanged())); + connect(setDateTimeAuto, TQ_SIGNAL(toggled(bool)), timeServerList, TQ_SLOT(setEnabled(bool))); timeServerList->setEnabled(false); timeServerList->setEditable(true); layout1->addWidget( timeServerList ); @@ -164,12 +164,12 @@ Dtime::Dtime(TQWidget * parent, const char *name) // End Dialog // ************************************************************* - connect( hour, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(set_time()) ); - connect( minute, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(set_time()) ); - connect( second, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(set_time()) ); - connect( cal, TQT_SIGNAL(dateChanged(TQDate)), TQT_SLOT(changeDate(TQDate))); + connect( hour, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(set_time()) ); + connect( minute, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(set_time()) ); + connect( second, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(set_time()) ); + connect( cal, TQ_SIGNAL(dateChanged(TQDate)), TQ_SLOT(changeDate(TQDate))); - connect( &internalTimer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout()) ); + connect( &internalTimer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout()) ); load(); diff --git a/kcontrol/clock/main.cpp b/kcontrol/clock/main.cpp index a59599b71..7d791b9f7 100644 --- a/kcontrol/clock/main.cpp +++ b/kcontrol/clock/main.cpp @@ -63,11 +63,11 @@ KclockModule::KclockModule(TQWidget *parent, const char *name, const TQStringLis dtime = new Dtime(this); layout->addWidget(dtime); - connect(dtime, TQT_SIGNAL(timeChanged(bool)), this, TQT_SIGNAL(changed(bool))); + connect(dtime, TQ_SIGNAL(timeChanged(bool)), this, TQ_SIGNAL(changed(bool))); tzone = new Tzone(this); layout->addWidget(tzone); - connect(tzone, TQT_SIGNAL(zoneChanged(bool)), this, TQT_SIGNAL(changed(bool))); + connect(tzone, TQ_SIGNAL(zoneChanged(bool)), this, TQ_SIGNAL(changed(bool))); layout->addStretch(); diff --git a/kcontrol/clock/tzone.cpp b/kcontrol/clock/tzone.cpp index 518c6663d..593b9ca1d 100644 --- a/kcontrol/clock/tzone.cpp +++ b/kcontrol/clock/tzone.cpp @@ -52,7 +52,7 @@ Tzone::Tzone(TQWidget * parent, const char *name) setTitle(i18n("To change the timezone, select your area from the list below")); tzonelist = new KTimezoneWidget(this, "ComboBox_1", &m_zoneDb); - connect( tzonelist, TQT_SIGNAL(selectionChanged()), TQT_SLOT(handleZoneChange()) ); + connect( tzonelist, TQ_SIGNAL(selectionChanged()), TQ_SLOT(handleZoneChange()) ); m_local = new TQLabel(this); diff --git a/kcontrol/colors/colorscm.cpp b/kcontrol/colors/colorscm.cpp index c767836fd..ee4bd087a 100644 --- a/kcontrol/colors/colorscm.cpp +++ b/kcontrol/colors/colorscm.cpp @@ -136,10 +136,10 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis " \"Widget color\" box will change to reflect the part of the preview" " image you clicked.") ); - connect( cs, TQT_SIGNAL( widgetSelected( int ) ), - TQT_SLOT( slotWidgetColor( int ) ) ); - connect( cs, TQT_SIGNAL( colorDropped( int, const TQColor&)), - TQT_SLOT( slotColorForWidget( int, const TQColor&))); + connect( cs, TQ_SIGNAL( widgetSelected( int ) ), + TQ_SLOT( slotWidgetColor( int ) ) ); + connect( cs, TQ_SIGNAL( colorDropped( int, const TQColor&)), + TQ_SLOT( slotColorForWidget( int, const TQColor&))); topLayout->addMultiCellWidget( cs, 0, 0, 0, 1 ); TQGroupBox *group = new TQVGroupBox( i18n("Color Scheme"), this ); @@ -149,7 +149,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis mSchemeList = new KColorSchemeList(); readSchemeNames(); sList->setCurrentItem( 0 ); - connect(sList, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotPreviewScheme(int))); + connect(sList, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotPreviewScheme(int))); TQWhatsThis::add( sList, i18n("This is a list of predefined color schemes," " including any that you may have created. You can preview an existing" @@ -160,7 +160,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis " another color scheme.") ); addBt = new TQPushButton(i18n("&Save Scheme..."), group); - connect(addBt, TQT_SIGNAL(clicked()), TQT_SLOT(slotAdd())); + connect(addBt, TQ_SIGNAL(clicked()), TQ_SLOT(slotAdd())); TQWhatsThis::add( addBt, i18n("Press this button if you want to save" " the current color settings as a color scheme. You will be" @@ -168,14 +168,14 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis removeBt = new TQPushButton(i18n("R&emove Scheme"), group); removeBt->setEnabled(FALSE); - connect(removeBt, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemove())); + connect(removeBt, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemove())); TQWhatsThis::add( removeBt, i18n("Press this button to remove the selected" " color scheme. Note that this button is disabled if you do not have" " permission to delete the color scheme.") ); importBt = new TQPushButton(i18n("I&mport Scheme..."), group); - connect(importBt, TQT_SIGNAL(clicked()),TQT_SLOT(slotImport())); + connect(importBt, TQ_SIGNAL(clicked()),TQ_SLOT(slotImport())); TQWhatsThis::add( importBt, i18n("Press this button to import a new color" " scheme. Note that the color scheme will only be available for the" @@ -221,7 +221,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis setColorName(i18n("Alternate Background in Lists"), CSM_Alternate_background); wcCombo->adjustSize(); - connect(wcCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotWidgetColor(int))); + connect(wcCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotWidgetColor(int))); groupLayout->addWidget(wcCombo); TQWhatsThis::add( wcCombo, i18n("Click here to select an element of" @@ -230,8 +230,8 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis " of the preview image above.") ); colorButton = new KColorButton( group ); - connect( colorButton, TQT_SIGNAL( changed(const TQColor &)), - TQT_SLOT(slotSelectColor(const TQColor &))); + connect( colorButton, TQ_SIGNAL( changed(const TQColor &)), + TQ_SLOT(slotSelectColor(const TQColor &))); groupLayout->addWidget( colorButton ); @@ -241,7 +241,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis cbShadeList = new TQCheckBox(i18n("Shade sorted column in lists"), this); stackLayout->addWidget(cbShadeList); - connect(cbShadeList, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotShadeSortColumnChanged(bool))); + connect(cbShadeList, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotShadeSortColumnChanged(bool))); TQWhatsThis::add(cbShadeList, i18n("Check this box to show the sorted column in a list with a shaded background")); @@ -257,7 +257,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis 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))); + connect(sb, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(sliderValueChanged(int))); TQWhatsThis::add(sb, i18n("Use this slider to change the contrast level" " of the current color scheme. Contrast does not affect all of the" @@ -272,7 +272,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis cbExportColors = new TQCheckBox(i18n("Apply colors to &non-TDE applications"), this); topLayout->addMultiCellWidget( cbExportColors, 2, 2, 0, 1 ); - connect(cbExportColors, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(changed())); + connect(cbExportColors, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(changed())); TQWhatsThis::add(cbExportColors, i18n("Check this box to apply the" " current color scheme to non-TDE applications.")); @@ -550,8 +550,8 @@ void KColorScheme::slotAdd() valid = true; } - disconnect(sList, TQT_SIGNAL(highlighted(int)), this, - TQT_SLOT(slotPreviewScheme(int))); + disconnect(sList, TQ_SIGNAL(highlighted(int)), this, + TQ_SLOT(slotPreviewScheme(int))); if (exists != -1) { @@ -574,7 +574,7 @@ void KColorScheme::slotAdd() TQPixmap preview = mkColorPreview(cs); int current = sList->currentItem(); sList->changeItem(preview, sList->text(current), current); - connect(sList, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotPreviewScheme(int))); + connect(sList, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotPreviewScheme(int))); slotPreviewScheme(current); } @@ -605,7 +605,7 @@ void KColorScheme::slotImport() TQPixmap preview = mkColorPreview(cs); int current = sList->currentItem(); sList->changeItem(preview, sList->text(current), current); - connect(sList, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotPreviewScheme(int))); + connect(sList, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotPreviewScheme(int))); slotPreviewScheme(current); } } diff --git a/kcontrol/componentchooser/componentchooser.cpp b/kcontrol/componentchooser/componentchooser.cpp index e7b807327..b469fc001 100644 --- a/kcontrol/componentchooser/componentchooser.cpp +++ b/kcontrol/componentchooser/componentchooser.cpp @@ -53,7 +53,7 @@ public: CfgComponent::CfgComponent(TQWidget *parent):ComponentConfig_UI(parent),CfgPlugin(){ m_lookupDict.setAutoDelete(true); m_revLookupDict.setAutoDelete(true); - connect(ComponentSelector,TQT_SIGNAL(activated(const TQString&)),this,TQT_SLOT(slotComponentChanged(const TQString&))); + connect(ComponentSelector,TQ_SIGNAL(activated(const TQString&)),this,TQ_SLOT(slotComponentChanged(const TQString&))); } CfgComponent::~CfgComponent(){} @@ -126,9 +126,9 @@ void CfgComponent::defaults() CfgEmailClient::CfgEmailClient(TQWidget *parent):EmailClientConfig_UI(parent),CfgPlugin(){ pSettings = new KEMailSettings(); - connect(kmailCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged()) ); - connect(txtEMailClient, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(configChanged()) ); - connect(chkRunTerminal, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged()) ); + connect(kmailCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged()) ); + connect(txtEMailClient, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(configChanged()) ); + connect(chkRunTerminal, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged()) ); } CfgEmailClient::~CfgEmailClient() { @@ -252,9 +252,9 @@ void CfgFileManager::selectFileAssociations() //BEGIN Terminal Emulator Configuration CfgTerminalEmulator::CfgTerminalEmulator(TQWidget *parent):TerminalEmulatorConfig_UI(parent),CfgPlugin(){ - connect(terminalLE,TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(configChanged())); - connect(terminalCB,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(configChanged())); - connect(otherCB,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(configChanged())); + connect(terminalLE,TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(configChanged())); + connect(terminalCB,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(configChanged())); + connect(otherCB,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(configChanged())); } CfgTerminalEmulator::~CfgTerminalEmulator() { @@ -323,9 +323,9 @@ void CfgTerminalEmulator::selectTerminalApp() //BEGIN Browser Configuration CfgBrowser::CfgBrowser(TQWidget *parent) : BrowserConfig_UI(parent),CfgPlugin(){ - connect(lineExec,TQT_SIGNAL(textChanged(const TQString &)),this,TQT_SLOT(configChanged())); - connect(radioKIO,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(configChanged())); - connect(radioExec,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(configChanged())); + connect(lineExec,TQ_SIGNAL(textChanged(const TQString &)),this,TQ_SLOT(configChanged())); + connect(radioKIO,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(configChanged())); + connect(radioExec,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(configChanged())); } CfgBrowser::~CfgBrowser() { @@ -431,7 +431,7 @@ ComponentChooser::ComponentChooser(TQWidget *parent, const char *name): } ServiceChooser->setFixedWidth(ServiceChooser->sizeHint().width()); ServiceChooser->sort(); - connect(ServiceChooser,TQT_SIGNAL(highlighted(TQListBoxItem*)),this,TQT_SLOT(slotServiceSelected(TQListBoxItem*))); + connect(ServiceChooser,TQ_SIGNAL(highlighted(TQListBoxItem*)),this,TQ_SLOT(slotServiceSelected(TQListBoxItem*))); ServiceChooser->setSelected(0,true); slotServiceSelected(ServiceChooser->item(0)); @@ -504,7 +504,7 @@ void ComponentChooser::slotServiceSelected(TQListBoxItem* it) { configContainer->removeWidget(configWidget); delete configWidget; configWidget=newConfigWidget; - connect(configWidget,TQT_SIGNAL(changed(bool)),this,TQT_SLOT(emitChanged(bool))); + connect(configWidget,TQ_SIGNAL(changed(bool)),this,TQ_SLOT(emitChanged(bool))); configContainer->setMinimumSize(configWidget->sizeHint()); } diff --git a/kcontrol/componentchooser/kcm_componentchooser.cpp b/kcontrol/componentchooser/kcm_componentchooser.cpp index 30750bdd5..6c71f8a42 100644 --- a/kcontrol/componentchooser/kcm_componentchooser.cpp +++ b/kcontrol/componentchooser/kcm_componentchooser.cpp @@ -27,7 +27,7 @@ KCMComponentChooser::KCMComponentChooser( TQWidget *parent, const char *name ): (new TQVBoxLayout(this))->setAutoAdd(true); m_chooser=new ComponentChooser(this,"ComponentChooser"); - connect(m_chooser,TQT_SIGNAL(changed(bool)),this,TQT_SIGNAL(changed(bool))); + connect(m_chooser,TQ_SIGNAL(changed(bool)),this,TQ_SIGNAL(changed(bool))); setButtons( Help | Apply ); TDEAboutData *about = diff --git a/kcontrol/crypto/certexport.cpp b/kcontrol/crypto/certexport.cpp index 034d69897..d289f4aed 100644 --- a/kcontrol/crypto/certexport.cpp +++ b/kcontrol/crypto/certexport.cpp @@ -55,21 +55,21 @@ TQGridLayout *grid = new TQGridLayout(this, 9, 6, marginHint(), spacingHint()); _filename = new KLineEdit(this); grid->addMultiCellWidget(_filename, 6, 6, 0, 4); - connect(_filename, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotTextChanged(const TQString &))); - connect(_filename, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(slotExport())); + connect(_filename, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotTextChanged(const TQString &))); + connect(_filename, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(slotExport())); _choose = new TQPushButton("...", this); grid->addWidget(_choose, 6, 5); - connect(_choose, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotChoose())); + connect(_choose, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotChoose())); _export = new TQPushButton(i18n("&Export"), this); grid->addWidget(_export, 8, 4); - connect(_export, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotExport())); + connect(_export, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotExport())); _export->setEnabled(false); _cancel = new TQPushButton(i18n("&Cancel"), this); grid->addWidget(_cancel, 8, 5); - connect(_cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); + connect(_cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject())); } diff --git a/kcontrol/crypto/crypto.cpp b/kcontrol/crypto/crypto.cpp index 71521af04..53a73f4a1 100644 --- a/kcontrol/crypto/crypto.cpp +++ b/kcontrol/crypto/crypto.cpp @@ -265,7 +265,7 @@ TQString whatstr; grid = new TQGridLayout(tabSSL, 7, 2, KDialog::marginHint(), KDialog::spacingHint() ); mUseTLS = new TQCheckBox(i18n("Enable &TLS support if supported by the server"), tabSSL); - connect(mUseTLS, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mUseTLS, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addWidget(mUseTLS, 0, 0); whatstr = i18n("TLS is the newest revision of the SSL protocol." " It integrates better with other protocols and has" @@ -273,14 +273,14 @@ TQString whatstr; TQWhatsThis::add(mUseTLS, whatstr); mUseSSLv2 = new TQCheckBox(i18n("Enable SSLv&2"), tabSSL); - connect(mUseSSLv2, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mUseSSLv2, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addWidget(mUseSSLv2, 1, 0); whatstr = i18n("SSL v2 is the second revision of the SSL protocol." " It is most common to enable v2 and v3."); TQWhatsThis::add(mUseSSLv2, whatstr); mUseSSLv3 = new TQCheckBox(i18n("Enable SSLv&3"), tabSSL); - connect(mUseSSLv3, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mUseSSLv3, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addWidget(mUseSSLv3, 1, 1); whatstr = i18n("SSL v3 is the third revision of the SSL protocol." " It is most common to enable v2 and v3."); @@ -296,8 +296,8 @@ TQString whatstr; SSLv2Box->setSelectionMode(TQListView::NoSelection); grid->addWidget( SSLv2Box, 2, 0 ); - connect( mUseSSLv2, TQT_SIGNAL( toggled( bool ) ), - SSLv2Box, TQT_SLOT( setEnabled( bool ))); + connect( mUseSSLv2, TQ_SIGNAL( toggled( bool ) ), + SSLv2Box, TQ_SLOT( setEnabled( bool ))); #else TQLabel *nossllabel = new TQLabel(i18n("SSL ciphers cannot be configured" " because this module was not linked" @@ -321,8 +321,8 @@ TQString whatstr; TQWhatsThis::add(SSLv3Box, whatstr); SSLv3Box->setSelectionMode(TQListView::NoSelection); grid->addWidget(SSLv3Box, 2, 1); - connect( mUseSSLv3, TQT_SIGNAL( toggled( bool ) ), - SSLv3Box, TQT_SLOT( setEnabled( bool ))); + connect( mUseSSLv3, TQ_SIGNAL( toggled( bool ) ), + SSLv3Box, TQ_SLOT( setEnabled( bool ))); loadCiphers(); @@ -346,7 +346,7 @@ TQString whatstr; TQWhatsThis::add(cwcb, whatStr); - connect(cwcb, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSelectCipher(int))); + connect(cwcb, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSelectCipher(int))); @@ -354,21 +354,21 @@ TQString whatstr; #endif mWarnOnEnter = new TQCheckBox(i18n("Warn on &entering SSL mode"), tabSSL); - connect(mWarnOnEnter, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mWarnOnEnter, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addWidget(mWarnOnEnter, 5, 0); whatstr = i18n("If selected, you will be notified when entering an SSL" " enabled site"); TQWhatsThis::add(mWarnOnEnter, whatstr); mWarnOnLeave = new TQCheckBox(i18n("Warn on &leaving SSL mode"), tabSSL); - connect(mWarnOnLeave, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mWarnOnLeave, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addWidget(mWarnOnLeave, 5, 1); whatstr = i18n("If selected, you will be notified when leaving an SSL" " based site."); TQWhatsThis::add(mWarnOnLeave, whatstr); mWarnOnUnencrypted = new TQCheckBox(i18n("Warn on sending &unencrypted data"), tabSSL); - connect(mWarnOnUnencrypted, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mWarnOnUnencrypted, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addWidget(mWarnOnUnencrypted, 6, 0); whatstr = i18n("If selected, you will be notified before sending" " unencrypted data via a web browser."); @@ -376,7 +376,7 @@ TQString whatstr; #if 0 // NOT IMPLEMENTED IN KDE 3.0 mWarnOnMixed = new TQCheckBox(i18n("Warn on &mixed SSL/non-SSL pages"), tabSSL); - connect(mWarnOnMixed, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mWarnOnMixed, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addWidget(mWarnOnMixed, 6, 1); whatstr = i18n("If selected, you will be notified if you view a page" " that has both encrypted and non-encrypted parts."); @@ -396,9 +396,9 @@ TQString whatstr; oPath = new KURLRequester(oInfo); oPath->setMode(KFile::Directory); oTest = new TQPushButton(i18n("&Test"), oInfo); - connect(oTest, TQT_SIGNAL(clicked()), TQT_SLOT(slotTestOSSL())); + connect(oTest, TQ_SIGNAL(clicked()), TQ_SLOT(slotTestOSSL())); - connect(oPath, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(configChanged())); + connect(oPath, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(configChanged())); // // Settings for the EGD @@ -406,9 +406,9 @@ TQString whatstr; TQFrame *eFrame = new TQFrame(tabOSSL); TQVBoxLayout *egrid = new TQVBoxLayout(eFrame); mUseEGD = new TQCheckBox(i18n("Use EGD"), eFrame); - connect(mUseEGD, TQT_SIGNAL(clicked()), TQT_SLOT(slotUseEGD())); + connect(mUseEGD, TQ_SIGNAL(clicked()), TQ_SLOT(slotUseEGD())); mUseEFile = new TQCheckBox(i18n("Use entropy file"), eFrame); - connect(mUseEFile, TQT_SIGNAL(clicked()), TQT_SLOT(slotUseEFile())); + connect(mUseEFile, TQ_SIGNAL(clicked()), TQ_SLOT(slotUseEFile())); vbox->addWidget(eFrame); egrid->addWidget(mUseEGD); egrid->addWidget(mUseEFile); @@ -419,7 +419,7 @@ TQString whatstr; grid2->addWidget(mEGDLabel, 0, 0); mEGDPath = new KURLRequester(egdframe); grid2->addWidget(mEGDPath, 0, 1); - connect(mEGDPath, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(configChanged())); + connect(mEGDPath, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(configChanged())); vbox->addWidget(egdframe); whatstr = i18n("If selected, OpenSSL will be asked to use the entropy gathering" " daemon (EGD) for initializing the pseudo-random number generator."); @@ -454,35 +454,35 @@ TQString whatstr; grid->addMultiCellWidget(yourSSLBox, 0, 5, 0, 4); yourSSLBox->addColumn(i18n("Common Name")); yourSSLBox->addColumn(i18n("Email Address")); - connect(yourSSLBox, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotYourCertSelect())); + connect(yourSSLBox, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotYourCertSelect())); yourSSLImport = new TQPushButton(i18n("I&mport..."), tabYourSSLCert); - connect(yourSSLImport, TQT_SIGNAL(clicked()), TQT_SLOT(slotYourImport())); + connect(yourSSLImport, TQ_SIGNAL(clicked()), TQ_SLOT(slotYourImport())); grid->addWidget(yourSSLImport, 0, 5); yourSSLExport = new TQPushButton(i18n("&Export..."), tabYourSSLCert); yourSSLExport->setEnabled(false); - connect(yourSSLExport, TQT_SIGNAL(clicked()), TQT_SLOT(slotYourExport())); + connect(yourSSLExport, TQ_SIGNAL(clicked()), TQ_SLOT(slotYourExport())); grid->addWidget(yourSSLExport, 1, 5); yourSSLRemove = new TQPushButton(i18n("Remo&ve"), tabYourSSLCert); yourSSLRemove->setEnabled(false); - connect(yourSSLRemove, TQT_SIGNAL(clicked()), TQT_SLOT(slotYourRemove())); + connect(yourSSLRemove, TQ_SIGNAL(clicked()), TQ_SLOT(slotYourRemove())); grid->addWidget(yourSSLRemove, 2, 5); yourSSLUnlock = new TQPushButton(i18n("&Unlock"), tabYourSSLCert); yourSSLUnlock->setEnabled(false); - connect(yourSSLUnlock, TQT_SIGNAL(clicked()), TQT_SLOT(slotYourUnlock())); + connect(yourSSLUnlock, TQ_SIGNAL(clicked()), TQ_SLOT(slotYourUnlock())); grid->addWidget(yourSSLUnlock, 3, 5); yourSSLVerify = new TQPushButton(i18n("Verif&y"), tabYourSSLCert); yourSSLVerify->setEnabled(false); - connect(yourSSLVerify, TQT_SIGNAL(clicked()), TQT_SLOT(slotYourVerify())); + connect(yourSSLVerify, TQ_SIGNAL(clicked()), TQ_SLOT(slotYourVerify())); grid->addWidget(yourSSLVerify, 4, 5); yourSSLPass = new TQPushButton(i18n("Chan&ge Password..."), tabYourSSLCert); yourSSLPass->setEnabled(false); - connect(yourSSLPass, TQT_SIGNAL(clicked()), TQT_SLOT(slotYourPass())); + connect(yourSSLPass, TQ_SIGNAL(clicked()), TQ_SLOT(slotYourPass())); grid->addWidget(yourSSLPass, 5, 5); grid->addMultiCellWidget(new KSeparator(KSeparator::HLine, tabYourSSLCert), 6, 6, 0, 5); @@ -579,14 +579,14 @@ TQString whatstr; hostCertBG->setEnabled(false); authRemove->setEnabled(false); - connect(defCertBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(configChanged())); - connect(defCertBG, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(configChanged())); - connect(hostAuthList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotAuthItemChanged())); - connect(authAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewHostAuth())); - connect(authRemove, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotRemoveHostAuth())); - connect(authHost, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotAuthText(const TQString &))); - connect(hostCertBG, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotAuthButtons())); - connect(hostCertBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotAuthCombo())); + connect(defCertBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged())); + connect(defCertBG, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(configChanged())); + connect(hostAuthList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotAuthItemChanged())); + connect(authAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewHostAuth())); + connect(authRemove, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRemoveHostAuth())); + connect(authHost, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotAuthText(const TQString &))); + connect(hostCertBG, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotAuthButtons())); + connect(hostCertBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotAuthCombo())); #else nossllabel = new TQLabel(i18n("SSL certificates cannot be managed" @@ -607,7 +607,7 @@ TQString whatstr; otherSSLBox = new TQListView(tabOtherSSLCert); otherSSLBox->setAllColumnsShowFocus(true); - connect(otherSSLBox, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotOtherCertSelect())); + connect(otherSSLBox, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotOtherCertSelect())); whatstr = i18n("This list box shows which site and person certificates TDE" " knows about. You can easily manage them from here."); TQWhatsThis::add(otherSSLBox, whatstr); @@ -616,21 +616,21 @@ TQString whatstr; grid->addMultiCellWidget(otherSSLBox, 0, 7, 0, 4); otherSSLExport = new TQPushButton(i18n("&Export..."), tabOtherSSLCert); - connect(otherSSLExport, TQT_SIGNAL(clicked()), TQT_SLOT(slotExportCert())); + connect(otherSSLExport, TQ_SIGNAL(clicked()), TQ_SLOT(slotExportCert())); grid->addWidget(otherSSLExport, 0, 5); whatstr = i18n("This button allows you to export the selected certificate" " to a file of various formats."); TQWhatsThis::add(otherSSLExport, whatstr); otherSSLRemove = new TQPushButton(i18n("&Remove"), tabOtherSSLCert); - connect(otherSSLRemove, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveCert())); + connect(otherSSLRemove, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveCert())); grid->addWidget(otherSSLRemove, 1, 5); whatstr = i18n("This button removes the selected certificate" " from the certificate cache."); TQWhatsThis::add(otherSSLRemove, whatstr); otherSSLVerify = new TQPushButton(i18n("&Verify"), tabOtherSSLCert); - connect(otherSSLVerify, TQT_SIGNAL(clicked()), TQT_SLOT(slotVerifyCert())); + connect(otherSSLVerify, TQ_SIGNAL(clicked()), TQ_SLOT(slotVerifyCert())); grid->addWidget(otherSSLVerify, 2, 5); whatstr = i18n("This button tests the selected certificate" " for validity."); @@ -675,9 +675,9 @@ TQString whatstr; cachePerm->setEnabled(false); cacheUntil->setEnabled(false); untilDate->setEnabled(false); - connect(cachePerm, TQT_SIGNAL(clicked()), TQT_SLOT(slotPermanent())); - connect(cacheUntil, TQT_SIGNAL(clicked()), TQT_SLOT(slotUntil())); - connect(untilDate, TQT_SIGNAL(leftClickedURL()), TQT_SLOT(slotDatePick())); + connect(cachePerm, TQ_SIGNAL(clicked()), TQ_SLOT(slotPermanent())); + connect(cacheUntil, TQ_SIGNAL(clicked()), TQ_SLOT(slotUntil())); + connect(untilDate, TQ_SIGNAL(leftClickedURL()), TQ_SLOT(slotDatePick())); whatstr = i18n("Select here to make the cache entry permanent."); TQWhatsThis::add(cachePerm, whatstr); whatstr = i18n("Select here to make the cache entry temporary."); @@ -691,7 +691,7 @@ TQString whatstr; policyPrompt = new TQRadioButton(i18n("&Prompt"), policyGroup); policyGroup->setEnabled(false); grid->addMultiCellWidget(policyGroup, 16, 19, 3, 5); - connect(policyGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotPolicyChanged(int))); + connect(policyGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotPolicyChanged(int))); whatstr = i18n("Select this to always accept this certificate."); TQWhatsThis::add(policyAccept, whatstr); whatstr = i18n("Select this to always reject this certificate."); @@ -729,19 +729,19 @@ TQString whatstr; caList->addColumn(i18n("Organization")); caList->addColumn(i18n("Organizational Unit")); caList->addColumn(i18n("Common Name")); - connect(caList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotCAItemChanged())); + connect(caList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotCAItemChanged())); caSSLImport = new TQPushButton(i18n("I&mport..."), tabSSLCA); - connect(caSSLImport, TQT_SIGNAL(clicked()), TQT_SLOT(slotCAImport())); + connect(caSSLImport, TQ_SIGNAL(clicked()), TQ_SLOT(slotCAImport())); grid->addWidget(caSSLImport, 0, 7); caSSLRemove = new TQPushButton(i18n("&Remove"), tabSSLCA); - connect(caSSLRemove, TQT_SIGNAL(clicked()), TQT_SLOT(slotCARemove())); + connect(caSSLRemove, TQ_SIGNAL(clicked()), TQ_SLOT(slotCARemove())); grid->addWidget(caSSLRemove, 1, 7); caSSLRemove->setEnabled(false); caSSLRestore = new TQPushButton(i18n("Res&tore"), tabSSLCA); - connect(caSSLRestore, TQT_SIGNAL(clicked()), TQT_SLOT(slotCARestore())); + connect(caSSLRestore, TQ_SIGNAL(clicked()), TQ_SLOT(slotCARestore())); grid->addWidget(caSSLRestore, 2, 7); caSubject = KSSLInfoDlg::certInfoWidget(tabSSLCA, TQString(TQString())); @@ -754,11 +754,11 @@ TQString whatstr; caEmail = new TQCheckBox(i18n("Accept for email signing"), tabSSLCA); caCode = new TQCheckBox(i18n("Accept for code signing"), tabSSLCA); grid->addMultiCellWidget(caSite, 7, 7, 0, 3); - connect(caSite, TQT_SIGNAL(clicked()), TQT_SLOT(slotCAChecked())); + connect(caSite, TQ_SIGNAL(clicked()), TQ_SLOT(slotCAChecked())); grid->addMultiCellWidget(caEmail, 8, 8, 0, 3); - connect(caEmail, TQT_SIGNAL(clicked()), TQT_SLOT(slotCAChecked())); + connect(caEmail, TQ_SIGNAL(clicked()), TQ_SLOT(slotCAChecked())); grid->addMultiCellWidget(caCode, 9, 9, 0, 3); - connect(caCode, TQT_SIGNAL(clicked()), TQT_SLOT(slotCAChecked())); + connect(caCode, TQ_SIGNAL(clicked()), TQ_SLOT(slotCAChecked())); caSite->setEnabled(false); caEmail->setEnabled(false); caCode->setEnabled(false); @@ -785,11 +785,11 @@ TQString whatstr; #ifdef HAVE_SSL grid = new TQGridLayout(tabSSLCOpts, 9, 4, KDialog::marginHint(), KDialog::spacingHint()); mWarnSelfSigned = new TQCheckBox(i18n("Warn on &self-signed certificates or unknown CA's"), tabSSLCOpts); - connect(mWarnSelfSigned, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mWarnSelfSigned, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); mWarnExpired = new TQCheckBox(i18n("Warn on &expired certificates"), tabSSLCOpts); - connect(mWarnExpired, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mWarnExpired, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); mWarnRevoked = new TQCheckBox(i18n("Warn on re&voked certificates"), tabSSLCOpts); - connect(mWarnRevoked, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged())); + connect(mWarnRevoked, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged())); grid->addMultiCellWidget(mWarnSelfSigned, 0, 0, 0, 3); grid->addMultiCellWidget(mWarnExpired, 1, 1, 0, 3); grid->addMultiCellWidget(mWarnRevoked, 2, 2, 0, 3); @@ -807,15 +807,15 @@ TQString whatstr; grid->addMultiCellWidget(macBox, 5, 8, 0, 2); macAdd = new TQPushButton(i18n("&Add"), tabSSLCOpts); - //connect(macAdd, TQT_SIGNAL(), TQT_SLOT()); + //connect(macAdd, TQ_SIGNAL(), TQ_SLOT()); grid->addWidget(macAdd, 4, 3); macRemove = new TQPushButton(i18n("&Remove"), tabSSLCOpts); - //connect(macRemove, TQT_SIGNAL(), TQT_SLOT()); + //connect(macRemove, TQ_SIGNAL(), TQ_SLOT()); grid->addWidget(macRemove, 5, 3); macClear = new KPushButton(KGuiItem::clear(), tabSSLCOpts); - //connect(macAdd, TQT_SIGNAL(), TQT_SLOT()); + //connect(macAdd, TQ_SIGNAL(), TQ_SLOT()); grid->addWidget(macClear, 6, 3); #else diff --git a/kcontrol/crypto/kdatetimedlg.cpp b/kcontrol/crypto/kdatetimedlg.cpp index b5cfe00a9..335e5e634 100644 --- a/kcontrol/crypto/kdatetimedlg.cpp +++ b/kcontrol/crypto/kdatetimedlg.cpp @@ -58,11 +58,11 @@ TQGridLayout *grid = new TQGridLayout(this, 9, 6, marginHint(), spacingHint()); _ok = new KPushButton(KStdGuiItem::ok(), this); grid->addWidget(_ok, 8, 4); - connect(_ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); + connect(_ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept())); _cancel = new KPushButton(KStdGuiItem::cancel(), this); grid->addWidget(_cancel, 8, 5); - connect(_cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject())); + connect(_cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject())); } diff --git a/kcontrol/css/kcmcss.cpp b/kcontrol/css/kcmcss.cpp index 65748686a..d22c90e3e 100644 --- a/kcontrol/css/kcmcss.cpp +++ b/kcontrol/css/kcmcss.cpp @@ -50,46 +50,46 @@ CSSConfig::CSSConfig(TQWidget *parent, const char *name, const TQStringList &) TDEFontChooser::getFontList(fonts, 0); customDialog->fontFamily->insertStringList(fonts); - connect(configDialog->useDefault, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(configDialog->useAccess, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(configDialog->useUser, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(configDialog->urlRequester, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(changed())); - connect(configDialog->customize, TQT_SIGNAL(clicked()), - TQT_SLOT(slotCustomize())); - connect(customDialog->basefontsize, TQT_SIGNAL(highlighted(int)), - TQT_SLOT(changed())); - connect(customDialog->basefontsize, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(changed())); - connect(customDialog->dontScale, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(customDialog->blackOnWhite, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(customDialog->whiteOnBlack, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(customDialog->customColor, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(customDialog->foregroundColor, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(changed())); - connect(customDialog->backgroundColor, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(changed())); - connect(customDialog->fontFamily, TQT_SIGNAL(highlighted(int)), - TQT_SLOT(changed())); - connect(customDialog->fontFamily, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(changed())); - connect(customDialog->sameFamily, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(customDialog->preview, TQT_SIGNAL(clicked()), - TQT_SLOT(slotPreview())); - connect(customDialog->sameColor, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(customDialog->hideImages, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); - connect(customDialog->hideBackground, TQT_SIGNAL(clicked()), - TQT_SLOT(changed())); + connect(configDialog->useDefault, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(configDialog->useAccess, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(configDialog->useUser, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(configDialog->urlRequester, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(changed())); + connect(configDialog->customize, TQ_SIGNAL(clicked()), + TQ_SLOT(slotCustomize())); + connect(customDialog->basefontsize, TQ_SIGNAL(highlighted(int)), + TQ_SLOT(changed())); + connect(customDialog->basefontsize, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(changed())); + connect(customDialog->dontScale, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(customDialog->blackOnWhite, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(customDialog->whiteOnBlack, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(customDialog->customColor, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(customDialog->foregroundColor, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(changed())); + connect(customDialog->backgroundColor, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(changed())); + connect(customDialog->fontFamily, TQ_SIGNAL(highlighted(int)), + TQ_SLOT(changed())); + connect(customDialog->fontFamily, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(changed())); + connect(customDialog->sameFamily, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(customDialog->preview, TQ_SIGNAL(clicked()), + TQ_SLOT(slotPreview())); + connect(customDialog->sameColor, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(customDialog->hideImages, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); + connect(customDialog->hideBackground, TQ_SIGNAL(clicked()), + TQ_SLOT(changed())); TQVBoxLayout *vbox = new TQVBoxLayout(this, 0, 0); vbox->addWidget(configDialog); diff --git a/kcontrol/display/display.cpp b/kcontrol/display/display.cpp index 3555d0ddc..30e940550 100644 --- a/kcontrol/display/display.cpp +++ b/kcontrol/display/display.cpp @@ -63,7 +63,7 @@ void KCMDisplay::addTab( const TQString &name, const TQString &label ) top->addWidget( kcm ); m_tabs->addTab( page, label ); - connect( kcm, TQT_SIGNAL( changed(bool) ), TQT_SLOT( moduleChanged(bool) ) ); + connect( kcm, TQ_SIGNAL( changed(bool) ), TQ_SLOT( moduleChanged(bool) ) ); m_modules.insert(kcm, false); } else diff --git a/kcontrol/displayconfig/displayconfig.cpp b/kcontrol/displayconfig/displayconfig.cpp index 02a4d4e82..af1744692 100644 --- a/kcontrol/displayconfig/displayconfig.cpp +++ b/kcontrol/displayconfig/displayconfig.cpp @@ -745,7 +745,7 @@ KDisplayConfig::KDisplayConfig(TQWidget *parent, const char *name, const TQStrin { #ifdef WITH_TDEHWLIB TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); - connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(deviceChanged(TDEGenericDevice*))); + connect(hwdevices, TQ_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQ_SLOT(deviceChanged(TDEGenericDevice*))); #endif m_randrsimple = new KRandrSimpleAPI(); @@ -769,7 +769,7 @@ KDisplayConfig::KDisplayConfig(TQWidget *parent, const char *name, const TQStrin setAboutData( about ); m_gammaApplyTimer = new TQTimer(); - connect(m_gammaApplyTimer, SIGNAL(timeout()), this, SLOT(applyGamma())); + connect(m_gammaApplyTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(applyGamma())); base = new DisplayConfigBase(this); profileRulesGrid = new TQGridLayout(base->profileRulesGridWidget, 1, 1, KDialog::marginHint()); @@ -792,54 +792,54 @@ KDisplayConfig::KDisplayConfig(TQWidget *parent, const char *name, const TQStrin base->nonRootWarningLabel->hide(); } - connect(base->systemEnableSupport, TQT_SIGNAL(clicked()), TQT_SLOT(changed())); - connect(base->systemEnableSupport, TQT_SIGNAL(clicked()), TQT_SLOT(processLockoutControls())); - connect(base->addProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(addProfile())); - connect(base->renameProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(renameProfile())); - connect(base->deleteProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteProfile())); - connect(base->activateProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(activateProfile())); - connect(base->reloadProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reloadProfileFromDisk())); - connect(base->saveProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(saveProfile())); - connect(base->systemEnableStartupProfile, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(base->systemEnableStartupProfile, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockoutControls())); - connect(base->startupDisplayProfileList, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed())); - connect(base->startupDisplayProfileList, TQT_SIGNAL(activated(int)), this, TQT_SLOT(selectDefaultProfile(int))); - connect(base->displayProfileList, TQT_SIGNAL(activated(int)), this, TQT_SLOT(selectProfile(int))); - - connect(base->monitorDisplaySelectDD, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); - connect(base->gammamonitorDisplaySelectDD, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); - connect(base->gammaTargetSelectDD, TQT_SIGNAL(activated(int)), TQT_SLOT(gammaTargetChanged(int))); - connect(base->rotationSelectDD, TQT_SIGNAL(activated(int)), TQT_SLOT(rotationInfoChanged())); - connect(base->refreshRateDD, TQT_SIGNAL(activated(int)), TQT_SLOT(refreshInfoChanged())); - connect(base->orientationHFlip, TQT_SIGNAL(clicked()), TQT_SLOT(rotationInfoChanged())); - connect(base->orientationVFlip, TQT_SIGNAL(clicked()), TQT_SLOT(rotationInfoChanged())); - connect(base->resolutionSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(resolutionSliderChanged(int))); - connect(base->gammaAllSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(gammaAllSliderChanged(int))); - connect(base->gammaRedSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(gammaRedSliderChanged(int))); - connect(base->gammaGreenSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(gammaGreenSliderChanged(int))); - connect(base->gammaBlueSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(gammaBlueSliderChanged(int))); - connect(base->monitorDisplaySelectDD, TQT_SIGNAL(activated(int)), TQT_SLOT(selectScreen(int))); - connect(base->gammamonitorDisplaySelectDD, TQT_SIGNAL(activated(int)), TQT_SLOT(gammaselectScreen(int))); - connect(base->systemEnableDPMS, TQT_SIGNAL(clicked()), TQT_SLOT(dpmsChanged())); - connect(base->systemEnableDPMSStandby, TQT_SIGNAL(clicked()), TQT_SLOT(dpmsChanged())); - connect(base->systemEnableDPMSSuspend, TQT_SIGNAL(clicked()), TQT_SLOT(dpmsChanged())); - connect(base->systemEnableDPMSPowerDown, TQT_SIGNAL(clicked()), TQT_SLOT(dpmsChanged())); - connect(base->dpmsStandbyTimeout, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(dpmsChanged())); - connect(base->dpmsSuspendTimeout, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(dpmsChanged())); - connect(base->dpmsPowerDownTimeout, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(dpmsChanged())); - connect(base->monitorPhyArrange, TQT_SIGNAL(workspaceRelayoutNeeded()), this, TQT_SLOT(layoutDragDropDisplay())); - - connect(base->isPrimaryMonitorCB, TQT_SIGNAL(clicked()), TQT_SLOT(changed())); - connect(base->isPrimaryMonitorCB, TQT_SIGNAL(clicked()), TQT_SLOT(ensurePrimaryMonitorIsAvailable())); - connect(base->isExtendedMonitorCB, TQT_SIGNAL(clicked()), TQT_SLOT(changed())); - connect(base->isExtendedMonitorCB, TQT_SIGNAL(clicked()), TQT_SLOT(updateExtendedMonitorInformation())); - - connect(base->systemEnableSupport, TQT_SIGNAL(toggled(bool)), base->monitorDisplaySelectDD, TQT_SLOT(setEnabled(bool))); - - connect(base->rescanHardware, TQT_SIGNAL(clicked()), TQT_SLOT(rescanHardware())); - connect(base->loadExistingProfile, TQT_SIGNAL(clicked()), TQT_SLOT(reloadProfile())); - connect(base->previewConfiguration, TQT_SIGNAL(clicked()), TQT_SLOT(activatePreview())); - connect(base->identifyMonitors, TQT_SIGNAL(clicked()), TQT_SLOT(identifyMonitors())); + connect(base->systemEnableSupport, TQ_SIGNAL(clicked()), TQ_SLOT(changed())); + connect(base->systemEnableSupport, TQ_SIGNAL(clicked()), TQ_SLOT(processLockoutControls())); + connect(base->addProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(addProfile())); + connect(base->renameProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(renameProfile())); + connect(base->deleteProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteProfile())); + connect(base->activateProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(activateProfile())); + connect(base->reloadProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reloadProfileFromDisk())); + connect(base->saveProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(saveProfile())); + connect(base->systemEnableStartupProfile, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(base->systemEnableStartupProfile, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockoutControls())); + connect(base->startupDisplayProfileList, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed())); + connect(base->startupDisplayProfileList, TQ_SIGNAL(activated(int)), this, TQ_SLOT(selectDefaultProfile(int))); + connect(base->displayProfileList, TQ_SIGNAL(activated(int)), this, TQ_SLOT(selectProfile(int))); + + connect(base->monitorDisplaySelectDD, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); + connect(base->gammamonitorDisplaySelectDD, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); + connect(base->gammaTargetSelectDD, TQ_SIGNAL(activated(int)), TQ_SLOT(gammaTargetChanged(int))); + connect(base->rotationSelectDD, TQ_SIGNAL(activated(int)), TQ_SLOT(rotationInfoChanged())); + connect(base->refreshRateDD, TQ_SIGNAL(activated(int)), TQ_SLOT(refreshInfoChanged())); + connect(base->orientationHFlip, TQ_SIGNAL(clicked()), TQ_SLOT(rotationInfoChanged())); + connect(base->orientationVFlip, TQ_SIGNAL(clicked()), TQ_SLOT(rotationInfoChanged())); + connect(base->resolutionSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(resolutionSliderChanged(int))); + connect(base->gammaAllSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(gammaAllSliderChanged(int))); + connect(base->gammaRedSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(gammaRedSliderChanged(int))); + connect(base->gammaGreenSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(gammaGreenSliderChanged(int))); + connect(base->gammaBlueSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(gammaBlueSliderChanged(int))); + connect(base->monitorDisplaySelectDD, TQ_SIGNAL(activated(int)), TQ_SLOT(selectScreen(int))); + connect(base->gammamonitorDisplaySelectDD, TQ_SIGNAL(activated(int)), TQ_SLOT(gammaselectScreen(int))); + connect(base->systemEnableDPMS, TQ_SIGNAL(clicked()), TQ_SLOT(dpmsChanged())); + connect(base->systemEnableDPMSStandby, TQ_SIGNAL(clicked()), TQ_SLOT(dpmsChanged())); + connect(base->systemEnableDPMSSuspend, TQ_SIGNAL(clicked()), TQ_SLOT(dpmsChanged())); + connect(base->systemEnableDPMSPowerDown, TQ_SIGNAL(clicked()), TQ_SLOT(dpmsChanged())); + connect(base->dpmsStandbyTimeout, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(dpmsChanged())); + connect(base->dpmsSuspendTimeout, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(dpmsChanged())); + connect(base->dpmsPowerDownTimeout, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(dpmsChanged())); + connect(base->monitorPhyArrange, TQ_SIGNAL(workspaceRelayoutNeeded()), this, TQ_SLOT(layoutDragDropDisplay())); + + connect(base->isPrimaryMonitorCB, TQ_SIGNAL(clicked()), TQ_SLOT(changed())); + connect(base->isPrimaryMonitorCB, TQ_SIGNAL(clicked()), TQ_SLOT(ensurePrimaryMonitorIsAvailable())); + connect(base->isExtendedMonitorCB, TQ_SIGNAL(clicked()), TQ_SLOT(changed())); + connect(base->isExtendedMonitorCB, TQ_SIGNAL(clicked()), TQ_SLOT(updateExtendedMonitorInformation())); + + connect(base->systemEnableSupport, TQ_SIGNAL(toggled(bool)), base->monitorDisplaySelectDD, TQ_SLOT(setEnabled(bool))); + + connect(base->rescanHardware, TQ_SIGNAL(clicked()), TQ_SLOT(rescanHardware())); + connect(base->loadExistingProfile, TQ_SIGNAL(clicked()), TQ_SLOT(reloadProfile())); + connect(base->previewConfiguration, TQ_SIGNAL(clicked()), TQ_SLOT(activatePreview())); + connect(base->identifyMonitors, TQ_SIGNAL(clicked()), TQ_SLOT(identifyMonitors())); load(); @@ -926,7 +926,7 @@ void KDisplayConfig::identifyMonitors () { idWidget->setPaletteBackgroundColor(TQt::black); idWidget->show(); KDialog::centerOnScreen(idWidget, i); - TQTimer::singleShot(3000, idWidget, SLOT(close())); + TQTimer::singleShot(3000, idWidget, TQ_SLOT(close())); } m_randrsimple->freeScreenInfoStructure(randr_screen_info); @@ -1349,9 +1349,9 @@ void KDisplayConfig::updateDragDropDisplay() { if (((j==0) && (screendata->is_primary==true)) || ((j==1) && (screendata->is_primary==false))) { // This ensures that the primary monitor is always the first one created and placed on the configuration widget bool isvisiblyrotated = ((screendata->current_rotation_index == ROTATION_90_DEGREES_INDEX) || (screendata->current_rotation_index == ROTATION_270_DEGREES_INDEX)); DraggableMonitor *m = new DraggableMonitor( base->monitorPhyArrange, 0, WStyle_Customize | WDestructiveClose | WStyle_NoBorder | WX11BypassWM ); - connect(m, TQT_SIGNAL(workspaceRelayoutNeeded()), this, TQT_SLOT(layoutDragDropDisplay())); - connect(m, TQT_SIGNAL(monitorSelected(int)), this, TQT_SLOT(selectScreen(int))); - connect(m, TQT_SIGNAL(monitorDragComplete(int)), this, TQT_SLOT(updateDraggableMonitorInformation(int))); + connect(m, TQ_SIGNAL(workspaceRelayoutNeeded()), this, TQ_SLOT(layoutDragDropDisplay())); + connect(m, TQ_SIGNAL(monitorSelected(int)), this, TQ_SLOT(selectScreen(int))); + connect(m, TQ_SIGNAL(monitorDragComplete(int)), this, TQ_SLOT(updateDraggableMonitorInformation(int))); m->screen_id = i; if (isvisiblyrotated) m->setFixedSize(screendata->current_y_pixel_count*base->monitorPhyArrange->resize_factor, screendata->current_x_pixel_count*base->monitorPhyArrange->resize_factor); @@ -1670,8 +1670,8 @@ void KDisplayConfig::createHotplugRulesGrid() { int index = (*it2).outputs.findIndex(m_hardwareScreenInfoArray.at(j)->screenUniqueName); TQCheckBox* cb = new TQCheckBox(base->profileRulesGridWidget, (TQString("%1:%2").arg(i).arg(j)).ascii()); - connect(cb, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(profileRuleCheckBoxStateChanged(int))); - connect(cb, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(changed())); + connect(cb, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(profileRuleCheckBoxStateChanged(int))); + connect(cb, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(changed())); cb->setTristate(true); if (index < 0) { cb->setNoChange(); @@ -1693,7 +1693,7 @@ void KDisplayConfig::createHotplugRulesGrid() { cb->show(); } KComboBox* combo = new KComboBox(base->profileRulesGridWidget, (TQString("%1").arg(i)).ascii()); - connect(combo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed())); + connect(combo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed())); combo->insertItem(i18n("<default>")); for (TQStringList::Iterator it3 = availableProfileNames.begin(); it3 != availableProfileNames.end(); ++it3) { combo->insertItem(*it3); @@ -1703,8 +1703,8 @@ void KDisplayConfig::createHotplugRulesGrid() { combo->show(); TQPushButton* button = new TQPushButton(base->profileRulesGridWidget, (TQString("%1").arg(i)).ascii()); button->setText(i18n("Delete Rule")); - connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteProfileRule())); - connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteProfileRule())); + connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); profileRulesGrid->addWidget(button, i+1, j+2); button->show(); i++; @@ -1712,8 +1712,8 @@ void KDisplayConfig::createHotplugRulesGrid() { TQPushButton* button = new TQPushButton(base->profileRulesGridWidget); button->setText(i18n("Add New Rule")); - connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(addNewProfileRule())); - connect(button, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(addNewProfileRule())); + connect(button, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); profileRulesGrid->addMultiCellWidget(button, i+2, i+2, 0, numberOfScreens+2); button->show(); } @@ -1921,7 +1921,7 @@ TDECModule* KDisplayConfig::addTab( const TQString name, const TQString label ) top->addWidget( kcm ); base->mainTabContainerWidget->addTab( page, label ); - connect( kcm, TQT_SIGNAL( changed(bool) ), this, TQT_SLOT( changed() ) ); + connect( kcm, TQ_SIGNAL( changed(bool) ), this, TQ_SLOT( changed() ) ); //m_modules.insert(kcm, false); return kcm; } @@ -2020,7 +2020,7 @@ void KDisplayConfig::save() else { // Signal that settings were NOT applied TQTimer *t = new TQTimer( this ); - connect(t, SIGNAL(timeout()), SLOT(changed()) ); + connect(t, TQ_SIGNAL(timeout()), TQ_SLOT(changed()) ); t->start( 100, FALSE ); } } diff --git a/kcontrol/dnssd/kcmdnssd.cpp b/kcontrol/dnssd/kcmdnssd.cpp index 0ce36a463..08ca18e95 100644 --- a/kcontrol/dnssd/kcmdnssd.cpp +++ b/kcontrol/dnssd/kcmdnssd.cpp @@ -68,10 +68,10 @@ KCMDnssd::KCMDnssd(TQWidget *parent, const char *name, const TQStringList&) domain = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/tdednssdrc" )); domain->setGroup("publishing"); load(); - connect(hostedit,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(wdchanged())); - connect(secretedit,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(wdchanged())); - connect(domainedit,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(wdchanged())); - connect(enableZeroconf,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(enableZeroconfChanged(bool))); + connect(hostedit,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(wdchanged())); + connect(secretedit,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(wdchanged())); + connect(domainedit,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(wdchanged())); + connect(enableZeroconf,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(enableZeroconfChanged(bool))); m_enableZeroconfChanged=false; if (DNSSD::Configuration::self()->publishDomain().isEmpty()) WANButton->setEnabled(false); kcfg_PublishType->hide(); //unused with Avahi diff --git a/kcontrol/ebrowsing/main.cpp b/kcontrol/ebrowsing/main.cpp index 9eeec46e1..f6117ed17 100644 --- a/kcontrol/ebrowsing/main.cpp +++ b/kcontrol/ebrowsing/main.cpp @@ -61,7 +61,7 @@ KURIFilterModule::KURIFilterModule(TQWidget *parent, const char *name, const TQS #if 0 opts = new FilterOptions(this); tab->addTab(opts, i18n("&Filters")); - connect(opts, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(opts, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); #endif modules.setAutoDelete(true); @@ -75,7 +75,7 @@ KURIFilterModule::KURIFilterModule(TQWidget *parent, const char *name, const TQS { modules.append(module); helper.insert(it.current()->configName(), module); - connect(module, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(module, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); } } diff --git a/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp b/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp index eb96f682a..507af5993 100644 --- a/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/ikwsopts.cpp @@ -147,35 +147,35 @@ void FilterOptions::load( bool useDefaults ) m_dlg->lvSearchProviders->setSelected(m_dlg->lvSearchProviders->firstChild(), true); // Connect all the signals/slots... - connect(m_dlg->cbEnableShortcuts, TQT_SIGNAL(clicked()), this, - TQT_SLOT(setWebShortcutState())); - connect(m_dlg->cbEnableShortcuts, TQT_SIGNAL(clicked()), this, - TQT_SLOT(configChanged())); - - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(updateSearchProvider())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - this, TQT_SLOT(changeSearchProvider())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(returnPressed(TQListViewItem *)), - this, TQT_SLOT(changeSearchProvider())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(executed(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(spacePressed(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(pressed(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - connect(m_dlg->lvSearchProviders, TQT_SIGNAL(clicked(TQListViewItem *)), - this, TQT_SLOT(checkFavoritesChanged())); - - - connect(m_dlg->cmbDefaultEngine, TQT_SIGNAL(activated(const TQString &)), this, - TQT_SLOT(configChanged())); - connect(m_dlg->cmbDelimiter, TQT_SIGNAL(activated(const TQString &)), this, - TQT_SLOT(configChanged())); - - connect(m_dlg->pbNew, TQT_SIGNAL(clicked()), this, TQT_SLOT(addSearchProvider())); - connect(m_dlg->pbChange, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeSearchProvider())); - connect(m_dlg->pbDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteSearchProvider())); + connect(m_dlg->cbEnableShortcuts, TQ_SIGNAL(clicked()), this, + TQ_SLOT(setWebShortcutState())); + connect(m_dlg->cbEnableShortcuts, TQ_SIGNAL(clicked()), this, + TQ_SLOT(configChanged())); + + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(updateSearchProvider())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + this, TQ_SLOT(changeSearchProvider())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(returnPressed(TQListViewItem *)), + this, TQ_SLOT(changeSearchProvider())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(executed(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(spacePressed(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(pressed(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + connect(m_dlg->lvSearchProviders, TQ_SIGNAL(clicked(TQListViewItem *)), + this, TQ_SLOT(checkFavoritesChanged())); + + + connect(m_dlg->cmbDefaultEngine, TQ_SIGNAL(activated(const TQString &)), this, + TQ_SLOT(configChanged())); + connect(m_dlg->cmbDelimiter, TQ_SIGNAL(activated(const TQString &)), this, + TQ_SLOT(configChanged())); + + connect(m_dlg->pbNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(addSearchProvider())); + connect(m_dlg->pbChange, TQ_SIGNAL(clicked()), this, TQ_SLOT(changeSearchProvider())); + connect(m_dlg->pbDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteSearchProvider())); emit changed( useDefaults ); } diff --git a/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp b/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp index a1f6ca619..b6029cf36 100644 --- a/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp +++ b/kcontrol/ebrowsing/plugins/ikws/searchproviderdlg.cpp @@ -45,9 +45,9 @@ SearchProviderDialog::SearchProviderDialog(SearchProvider *provider, m_dlg->leQuery->setMinimumWidth(kapp->fontMetrics().maxWidth() * 40); - connect(m_dlg->leName, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); - connect(m_dlg->leQuery, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); - connect(m_dlg->leShortcut, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); + connect(m_dlg->leName, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotChanged())); + connect(m_dlg->leQuery, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotChanged())); + connect(m_dlg->leShortcut, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotChanged())); // Data init TQStringList charsets = TDEGlobal::charsets()->availableEncodingNames(); diff --git a/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp b/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp index c2e3af8fa..0fb8b8149 100644 --- a/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp +++ b/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp @@ -84,8 +84,8 @@ bool LocalDomainURIFilter::isLocalDomainHost( TQString& cmd ) const TDEProcess proc; proc << helper << host; - connect( &proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), - TQT_SLOT(receiveOutput(TDEProcess *, char *, int)) ); + connect( &proc, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), + TQ_SLOT(receiveOutput(TDEProcess *, char *, int)) ); if( !proc.start( TDEProcess::NotifyOnExit, TDEProcess::Stdout )) return last_result = false; diff --git a/kcontrol/energy/energy.cpp b/kcontrol/energy/energy.cpp index 34a9404a4..f967387e8 100644 --- a/kcontrol/energy/energy.cpp +++ b/kcontrol/energy/energy.cpp @@ -176,7 +176,7 @@ KEnergy::KEnergy(TQWidget *parent, const char *name) TDEGlobal::locale()->insertCatalogue("kpowersave"); // ### these i18n strings need to be synced with kpowersave !! m_pCBEnable= new TQCheckBox(i18n("&Enable display power management" ), this); - connect(m_pCBEnable, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChangeEnable(bool))); + connect(m_pCBEnable, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChangeEnable(bool))); hbox->addWidget(m_pCBEnable); TQWhatsThis::add( m_pCBEnable, i18n("Check this option to enable the" @@ -198,7 +198,7 @@ KEnergy::KEnergy(TQWidget *parent, const char *name) logo->setPixmap(TQPixmap(locate("data", "kcontrol/pics/energybig.png"))); logo->setTipText(i18n("Learn more about the Energy Star program")); logo->setUseTips(true); -connect(logo, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(openURL(const TQString &))); +connect(logo, TQ_SIGNAL(leftClickedURL(const TQString&)), TQ_SLOT(openURL(const TQString &))); hbox->addStretch(); hbox->addWidget(logo); @@ -210,7 +210,7 @@ connect(logo, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(openURL(cons m_pStandbySlider->setRange(0, 120, 10); m_pStandbySlider->setSuffix(i18n(" min")); m_pStandbySlider->setSpecialValueText(i18n("Disabled")); - connect(m_pStandbySlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChangeStandby(int))); + connect(m_pStandbySlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChangeStandby(int))); top->addWidget(m_pStandbySlider); TQWhatsThis::add( m_pStandbySlider, i18n("Choose the period of inactivity" " after which the display should enter \"standby\" mode. This is the" @@ -221,7 +221,7 @@ connect(logo, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(openURL(cons m_pSuspendSlider->setRange(0, 120, 10); m_pSuspendSlider->setSuffix(i18n(" min")); m_pSuspendSlider->setSpecialValueText(i18n("Disabled")); - connect(m_pSuspendSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChangeSuspend(int))); + connect(m_pSuspendSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChangeSuspend(int))); top->addWidget(m_pSuspendSlider); TQWhatsThis::add( m_pSuspendSlider, i18n("Choose the period of inactivity" " after which the display should enter \"suspend\" mode. This is the" @@ -233,7 +233,7 @@ connect(logo, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(openURL(cons m_pOffSlider->setRange(0, 120, 10); m_pOffSlider->setSuffix(i18n(" min")); m_pOffSlider->setSpecialValueText(i18n("Disabled")); - connect(m_pOffSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChangeOff(int))); + connect(m_pOffSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChangeOff(int))); top->addWidget(m_pOffSlider); TQWhatsThis::add( m_pOffSlider, i18n("Choose the period of inactivity" " after which the display should be powered off. This is the" @@ -247,13 +247,13 @@ connect(logo, TQT_SIGNAL(leftClickedURL(const TQString&)), TQT_SLOT(openURL(cons if(m_bKPowersave) { TQPushButton* btnKPowersave = new TQPushButton(this); btnKPowersave->setText(i18n("Configure KPowersave...")); - connect(btnKPowersave, TQT_SIGNAL(clicked()), TQT_SLOT(slotLaunchKPowersave())); + connect(btnKPowersave, TQ_SIGNAL(clicked()), TQ_SLOT(slotLaunchKPowersave())); top->addWidget(btnKPowersave); } if(m_bTDEPowersave) { TQPushButton* btnTDEPowersave = new TQPushButton(this); btnTDEPowersave->setText(i18n("Configure TDEPowersave...")); - connect(btnTDEPowersave, TQT_SIGNAL(clicked()), TQT_SLOT(slotLaunchTDEPowersave())); + connect(btnTDEPowersave, TQ_SIGNAL(clicked()), TQ_SLOT(slotLaunchTDEPowersave())); top->addWidget(btnTDEPowersave); } } diff --git a/kcontrol/filetypes/filegroupdetails.cpp b/kcontrol/filetypes/filegroupdetails.cpp index 7000a97e5..e9cb1fbf9 100644 --- a/kcontrol/filetypes/filegroupdetails.cpp +++ b/kcontrol/filetypes/filegroupdetails.cpp @@ -37,7 +37,7 @@ FileGroupDetails::FileGroupDetails(TQWidget *parent, const char *name ) // The order of those two items is very important. If you change it, fix typeslistitem.cpp ! new TQRadioButton( i18n("Show file in embedded viewer"), m_autoEmbed ); new TQRadioButton( i18n("Show file in separate viewer"), m_autoEmbed ); - connect(m_autoEmbed, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( slotAutoEmbedClicked( int ) )); + connect(m_autoEmbed, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( slotAutoEmbedClicked( int ) )); TQWhatsThis::add( m_autoEmbed, i18n("Here you can configure what the Konqueror file manager" " will do when you click on a file belonging to this group. Konqueror can display the file in" diff --git a/kcontrol/filetypes/filetypedetails.cpp b/kcontrol/filetypes/filetypedetails.cpp index 589677b58..7928cef73 100644 --- a/kcontrol/filetypes/filetypedetails.cpp +++ b/kcontrol/filetypes/filetypedetails.cpp @@ -30,7 +30,7 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name ) iconButton = new TDEIconButton(firstWidget); iconButton->setIconType(TDEIcon::Desktop, TDEIcon::MimeType); - connect(iconButton, TQT_SIGNAL(iconChanged(TQString)), TQT_SLOT(updateIcon(TQString))); + connect(iconButton, TQ_SIGNAL(iconChanged(TQString)), TQ_SLOT(updateIcon(TQString))); iconButton->setFixedSize(70, 70); hBox->addWidget(iconButton); @@ -46,7 +46,7 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name ) grid->addRowSpacing(0, fontMetrics().lineSpacing()); extensionLB = new TQListBox(gb); - connect(extensionLB, TQT_SIGNAL(highlighted(int)), TQT_SLOT(enableExtButtons(int))); + connect(extensionLB, TQ_SIGNAL(highlighted(int)), TQ_SLOT(enableExtButtons(int))); grid->addMultiCellWidget(extensionLB, 1, 2, 0, 0); grid->setRowStretch(0, 0); grid->setRowStretch(1, 1); @@ -59,16 +59,16 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name ) addExtButton = new TQPushButton(i18n("Add..."), gb); addExtButton->setEnabled(false); - connect(addExtButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(addExtension())); + connect(addExtButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(addExtension())); grid->addWidget(addExtButton, 1, 1); TQWhatsThis::add( addExtButton, i18n("Add a new pattern for the selected file type.") ); removeExtButton = new TQPushButton(i18n("Remove"), gb); removeExtButton->setEnabled(false); - connect(removeExtButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(removeExtension())); + connect(removeExtButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(removeExtension())); grid->addWidget(removeExtButton, 2, 1); TQWhatsThis::add( removeExtButton, i18n("Remove the selected filename pattern.") ); @@ -78,8 +78,8 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name ) gb->setColumnLayout(1, TQt::Horizontal); description = new KLineEdit(gb); - connect(description, TQT_SIGNAL(textChanged(const TQString &)), - TQT_SLOT(updateDescription(const TQString &))); + connect(description, TQ_SIGNAL(textChanged(const TQString &)), + TQ_SLOT(updateDescription(const TQString &))); wtstr = i18n("You can enter a short description for files of the selected" " file type (e.g. 'HTML Page'). This description will be used by applications" @@ -88,7 +88,7 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name ) TQWhatsThis::add( description, wtstr ); serviceListWidget = new KServiceListWidget( KServiceListWidget::SERVICELIST_APPLICATIONS, firstWidget ); - connect( serviceListWidget, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); + connect( serviceListWidget, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool))); firstLayout->addWidget(serviceListWidget, 5); // Second tab - Embedding @@ -106,10 +106,10 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name ) new TQRadioButton( i18n("Show file in embedded viewer"), m_autoEmbed ); new TQRadioButton( i18n("Show file in separate viewer"), m_autoEmbed ); m_rbGroupSettings = new TQRadioButton( i18n("Use settings for '%1' group"), m_autoEmbed ); - connect(m_autoEmbed, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( slotAutoEmbedClicked( int ) )); + connect(m_autoEmbed, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( slotAutoEmbedClicked( int ) )); m_chkAskSave = new TQCheckBox( i18n("Ask whether to save to disk instead"), m_autoEmbed); - connect(m_chkAskSave, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( slotAskSaveToggled(bool) )); + connect(m_chkAskSave, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( slotAskSaveToggled(bool) )); TQWhatsThis::add( m_autoEmbed, i18n("Here you can configure what the Konqueror file manager" " will do when you click on a file of this type. Konqueror can display the file in" @@ -121,7 +121,7 @@ FileTypeDetails::FileTypeDetails( TQWidget * parent, const char * name ) embedServiceListWidget = new KServiceListWidget( KServiceListWidget::SERVICELIST_SERVICES, secondWidget ); embedServiceListWidget->setMinimumHeight( serviceListWidget->sizeHint().height() ); - connect( embedServiceListWidget, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); + connect( embedServiceListWidget, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool))); secondLayout->addWidget(embedServiceListWidget, 3); addTab( firstWidget, i18n("&General") ); diff --git a/kcontrol/filetypes/filetypesview.cpp b/kcontrol/filetypes/filetypesview.cpp index 3dfa28c50..43b53540a 100644 --- a/kcontrol/filetypes/filetypesview.cpp +++ b/kcontrol/filetypes/filetypesview.cpp @@ -66,8 +66,8 @@ FileTypesView::FileTypesView(TQWidget *p, const char *name) patternFilterLBL->setBuddy( patternFilterLE ); leftLayout->addMultiCellWidget(patternFilterLE, 1, 1, 0, 2); - connect(patternFilterLE, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SLOT(slotFilter(const TQString &))); + connect(patternFilterLE, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SLOT(slotFilter(const TQString &))); wtstr = i18n("Enter a part of a filename pattern. Only file types with a " "matching file pattern will appear in the list."); @@ -81,10 +81,10 @@ FileTypesView::FileTypesView(TQWidget *p, const char *name) typesLV->addColumn(i18n("Known Types")); leftLayout->addMultiCellWidget(typesLV, 2, 2, 0, 2); - connect(typesLV, TQT_SIGNAL(selectionChanged(TQListViewItem *)), - this, TQT_SLOT(updateDisplay(TQListViewItem *))); - connect(typesLV, TQT_SIGNAL(doubleClicked(TQListViewItem *)), - this, TQT_SLOT(slotDoubleClicked(TQListViewItem *))); + connect(typesLV, TQ_SIGNAL(selectionChanged(TQListViewItem *)), + this, TQ_SLOT(updateDisplay(TQListViewItem *))); + connect(typesLV, TQ_SIGNAL(doubleClicked(TQListViewItem *)), + this, TQ_SLOT(slotDoubleClicked(TQListViewItem *))); TQWhatsThis::add( typesLV, i18n("Here you can see a hierarchical list of" " the file types which are known on your system. Click on the '+' sign" @@ -93,13 +93,13 @@ FileTypesView::FileTypesView(TQWidget *p, const char *name) " file type using the controls on the right.") ); TQPushButton *addTypeB = new TQPushButton(i18n("Add..."), this); - connect(addTypeB, TQT_SIGNAL(clicked()), TQT_SLOT(addType())); + connect(addTypeB, TQ_SIGNAL(clicked()), TQ_SLOT(addType())); leftLayout->addWidget(addTypeB, 3, 0); TQWhatsThis::add( addTypeB, i18n("Click here to add a new file type.") ); m_removeTypeB = new TQPushButton(i18n("&Remove"), this); - connect(m_removeTypeB, TQT_SIGNAL(clicked()), TQT_SLOT(removeType())); + connect(m_removeTypeB, TQ_SIGNAL(clicked()), TQ_SLOT(removeType())); leftLayout->addWidget(m_removeTypeB, 3, 2); m_removeTypeB->setEnabled(false); @@ -112,16 +112,16 @@ FileTypesView::FileTypesView(TQWidget *p, const char *name) // File Type Details m_details = new FileTypeDetails( m_widgetStack ); - connect( m_details, TQT_SIGNAL( changed(bool) ), - this, TQT_SLOT( setDirty(bool) ) ); - connect( m_details, TQT_SIGNAL( embedMajor(const TQString &, bool &) ), - this, TQT_SLOT( slotEmbedMajor(const TQString &, bool &))); + connect( m_details, TQ_SIGNAL( changed(bool) ), + this, TQ_SLOT( setDirty(bool) ) ); + connect( m_details, TQ_SIGNAL( embedMajor(const TQString &, bool &) ), + this, TQ_SLOT( slotEmbedMajor(const TQString &, bool &))); m_widgetStack->addWidget( m_details, 1 /*id*/ ); // File Group Details m_groupDetails = new FileGroupDetails( m_widgetStack ); - connect( m_groupDetails, TQT_SIGNAL( changed(bool) ), - this, TQT_SLOT( setDirty(bool) ) ); + connect( m_groupDetails, TQ_SIGNAL( changed(bool) ), + this, TQ_SLOT( setDirty(bool) ) ); m_widgetStack->addWidget( m_groupDetails, 2 /*id*/ ); // Widget shown on startup @@ -132,9 +132,9 @@ FileTypesView::FileTypesView(TQWidget *p, const char *name) m_widgetStack->raiseWidget( m_emptyWidget ); - TQTimer::singleShot( 0, this, TQT_SLOT( init() ) ); // this takes some time + TQTimer::singleShot( 0, this, TQ_SLOT( init() ) ); // this takes some time - connect( KSycoca::self(), TQT_SIGNAL( databaseChanged() ), TQT_SLOT( slotDatabaseChanged() ) ); + connect( KSycoca::self(), TQ_SIGNAL( databaseChanged() ), TQ_SLOT( slotDatabaseChanged() ) ); } FileTypesView::~FileTypesView() diff --git a/kcontrol/filetypes/keditfiletype.cpp b/kcontrol/filetypes/keditfiletype.cpp index 19aa01a59..a7412438b 100644 --- a/kcontrol/filetypes/keditfiletype.cpp +++ b/kcontrol/filetypes/keditfiletype.cpp @@ -58,11 +58,11 @@ void FileTypeDialog::init( KMimeType::Ptr mime, bool newItem ) // This code is very similar to kcdialog.cpp setMainWidget( m_details ); - connect(m_details, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(clientChanged(bool))); + connect(m_details, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(clientChanged(bool))); // TODO setHelp() enableButton(Apply, false); - connect( KSycoca::self(), TQT_SIGNAL( databaseChanged() ), TQT_SLOT( slotDatabaseChanged() ) ); + connect( KSycoca::self(), TQ_SIGNAL( databaseChanged() ), TQ_SLOT( slotDatabaseChanged() ) ); } void FileTypeDialog::save() diff --git a/kcontrol/filetypes/kservicelistwidget.cpp b/kcontrol/filetypes/kservicelistwidget.cpp index d0463d7ad..16669168a 100644 --- a/kcontrol/filetypes/kservicelistwidget.cpp +++ b/kcontrol/filetypes/kservicelistwidget.cpp @@ -74,9 +74,9 @@ KServiceListWidget::KServiceListWidget(int kind, TQWidget *parent, const char *n grid->setRowStretch(6, 1); servicesLB = new TQListBox(gb); - connect(servicesLB, TQT_SIGNAL(highlighted(int)), TQT_SLOT(enableMoveButtons(int))); + connect(servicesLB, TQ_SIGNAL(highlighted(int)), TQ_SLOT(enableMoveButtons(int))); grid->addMultiCellWidget(servicesLB, 1, 6, 0, 0); - connect( servicesLB, TQT_SIGNAL( doubleClicked ( TQListBoxItem * )), this, TQT_SLOT( editService())); + connect( servicesLB, TQ_SIGNAL( doubleClicked ( TQListBoxItem * )), this, TQ_SLOT( editService())); TQString wtstr = (kind == SERVICELIST_APPLICATIONS ? @@ -96,7 +96,7 @@ KServiceListWidget::KServiceListWidget(int kind, TQWidget *parent, const char *n servUpButton = new TQPushButton(i18n("Move &Up"), gb); servUpButton->setEnabled(false); - connect(servUpButton, TQT_SIGNAL(clicked()), TQT_SLOT(promoteService())); + connect(servUpButton, TQ_SIGNAL(clicked()), TQ_SLOT(promoteService())); grid->addWidget(servUpButton, 2, 1); TQWhatsThis::add( servUpButton, kind == SERVICELIST_APPLICATIONS ? @@ -109,7 +109,7 @@ KServiceListWidget::KServiceListWidget(int kind, TQWidget *parent, const char *n servDownButton = new TQPushButton(i18n("Move &Down"), gb); servDownButton->setEnabled(false); - connect(servDownButton, TQT_SIGNAL(clicked()), TQT_SLOT(demoteService())); + connect(servDownButton, TQ_SIGNAL(clicked()), TQ_SLOT(demoteService())); grid->addWidget(servDownButton, 3, 1); TQWhatsThis::add( servDownButton, kind == SERVICELIST_APPLICATIONS ? @@ -122,7 +122,7 @@ KServiceListWidget::KServiceListWidget(int kind, TQWidget *parent, const char *n servNewButton = new TQPushButton(i18n("Add..."), gb); servNewButton->setEnabled(false); - connect(servNewButton, TQT_SIGNAL(clicked()), TQT_SLOT(addService())); + connect(servNewButton, TQ_SIGNAL(clicked()), TQ_SLOT(addService())); grid->addWidget(servNewButton, 1, 1); TQWhatsThis::add( servNewButton, i18n( "Add a new application for this file type." ) ); @@ -130,7 +130,7 @@ KServiceListWidget::KServiceListWidget(int kind, TQWidget *parent, const char *n servEditButton = new TQPushButton(i18n("Edit..."), gb); servEditButton->setEnabled(false); - connect(servEditButton, TQT_SIGNAL(clicked()), TQT_SLOT(editService())); + connect(servEditButton, TQ_SIGNAL(clicked()), TQ_SLOT(editService())); grid->addWidget(servEditButton, 4, 1); TQWhatsThis::add( servEditButton, i18n( "Edit command line of the selected application." ) ); @@ -138,7 +138,7 @@ KServiceListWidget::KServiceListWidget(int kind, TQWidget *parent, const char *n servRemoveButton = new TQPushButton(i18n("Remove"), gb); servRemoveButton->setEnabled(false); - connect(servRemoveButton, TQT_SIGNAL(clicked()), TQT_SLOT(removeService())); + connect(servRemoveButton, TQ_SIGNAL(clicked()), TQ_SLOT(removeService())); grid->addWidget(servRemoveButton, 5, 1); TQWhatsThis::add( servRemoveButton, i18n( "Remove the selected application from the list." ) ); diff --git a/kcontrol/filetypes/kserviceselectdlg.cpp b/kcontrol/filetypes/kserviceselectdlg.cpp index f8c4f0dd4..e9618683d 100644 --- a/kcontrol/filetypes/kserviceselectdlg.cpp +++ b/kcontrol/filetypes/kserviceselectdlg.cpp @@ -50,7 +50,7 @@ KServiceSelectDlg::KServiceSelectDlg( const TQString& /*serviceType*/, const TQS m_listbox->sort(); m_listbox->setMinimumHeight(350); m_listbox->setMinimumWidth(300); - connect(m_listbox,TQT_SIGNAL(doubleClicked ( TQListBoxItem * )),TQT_SLOT(slotOk())); + connect(m_listbox,TQ_SIGNAL(doubleClicked ( TQListBoxItem * )),TQ_SLOT(slotOk())); setMainWidget(vbox); } diff --git a/kcontrol/fonts/fonts.cpp b/kcontrol/fonts/fonts.cpp index 7239b62ac..5913662ce 100644 --- a/kcontrol/fonts/fonts.cpp +++ b/kcontrol/fonts/fonts.cpp @@ -270,13 +270,13 @@ FontAASettings::FontAASettings(TQWidget *parent) enableWidgets(); setMainWidget(mw); - connect(excludeRange, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed())); - connect(useSubPixel, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed())); - connect(excludeFrom, TQT_SIGNAL(valueChanged(double)), TQT_SLOT(changed())); - connect(excludeTo, TQT_SIGNAL(valueChanged(double)), TQT_SLOT(changed())); - connect(subPixelType, TQT_SIGNAL(activated(const TQString &)), TQT_SLOT(changed())); + connect(excludeRange, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed())); + connect(useSubPixel, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed())); + connect(excludeFrom, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(changed())); + connect(excludeTo, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(changed())); + connect(subPixelType, TQ_SIGNAL(activated(const TQString &)), TQ_SLOT(changed())); #ifdef HAVE_FONTCONFIG - connect(hintingStyle, TQT_SIGNAL(activated(const TQString &)), TQT_SLOT(changed())); + connect(hintingStyle, TQ_SIGNAL(activated(const TQString &)), TQ_SLOT(changed())); #endif } @@ -596,7 +596,7 @@ TDEFonts::TDEFonts(TQWidget *parent, const char *name, const TQStringList &) ); fontUseList.append(i); - connect(i, TQT_SIGNAL(fontSelected(const TQFont &)), TQT_SLOT(fontSelected())); + connect(i, TQ_SIGNAL(fontSelected(const TQFont &)), TQ_SLOT(fontSelected())); TQLabel * fontUse = new TQLabel(name+":", this); TQWhatsThis::add(fontUse, *quickHelpIt++); @@ -612,7 +612,7 @@ TDEFonts::TDEFonts(TQWidget *parent, const char *name, const TQStringList &) TQPushButton * fontAdjustButton = new TQPushButton(i18n("Ad&just All Fonts..."), this); TQWhatsThis::add(fontAdjustButton, i18n("Click to change all fonts")); hblay->addWidget( fontAdjustButton ); - connect(fontAdjustButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotApplyFontDiff())); + connect(fontAdjustButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotApplyFontDiff())); layout->addSpacing(KDialog::spacingHint()); @@ -627,11 +627,11 @@ TDEFonts::TDEFonts(TQWidget *parent, const char *name, const TQStringList &) TQWhatsThis::add(cbAA, i18n("If this option is selected, TDE will smooth the edges of curves in " "fonts.")); aaSettingsButton = new TQPushButton( i18n( "Configure..." ), this); - connect(aaSettingsButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotCfgAa())); + connect(aaSettingsButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotCfgAa())); label->setBuddy( cbAA ); lay->addWidget( cbAA, 0, 1 ); lay->addWidget( aaSettingsButton, 0, 2 ); - connect(cbAA, TQT_SIGNAL(activated(int)), TQT_SLOT(slotUseAntiAliasing())); + connect(cbAA, TQ_SIGNAL(activated(int)), TQ_SLOT(slotUseAntiAliasing())); label = new TQLabel( i18n( "Force fonts DPI:" ), this ); lay->addWidget( label, 1, 0 ); @@ -645,10 +645,10 @@ TDEFonts::TDEFonts(TQWidget *parent, const char *name, const TQStringList &) " is also often misused when poor quality fonts are used that do not" " look well with DPI values other than 96 or 120 DPI.</p>"); TQWhatsThis::add(comboForceDpi, whatsthis); - connect(comboForceDpi, TQT_SIGNAL(activated(int)), TQT_SLOT(slotUseFontDPI())); + connect(comboForceDpi, TQ_SIGNAL(activated(int)), TQ_SLOT(slotUseFontDPI())); sbDpiValue = new KIntSpinBox(64, 512, 1, 96, 10, this); TQWhatsThis::add(sbDpiValue, whatsthis); - connect(sbDpiValue, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed())); + connect(sbDpiValue, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed())); lay->addWidget( comboForceDpi, 1, 1 ); lay->addWidget( sbDpiValue, 1, 2 ); diff --git a/kcontrol/hwmanager/cryptpassworddlg.cpp b/kcontrol/hwmanager/cryptpassworddlg.cpp index b0f0e1cd8..c7cd083af 100644 --- a/kcontrol/hwmanager/cryptpassworddlg.cpp +++ b/kcontrol/hwmanager/cryptpassworddlg.cpp @@ -73,11 +73,11 @@ CryptPasswordDialog::CryptPasswordDialog(TQWidget *parent, TQString passwordProm } } - connect(m_base->textPasswordButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(m_base->filePasswordButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(m_base->cardKeyButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(m_base->textPasswordEntry, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(processLockouts())); - connect(m_base->filePasswordURL, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(processLockouts())); + connect(m_base->textPasswordButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(m_base->filePasswordButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(m_base->cardKeyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(m_base->textPasswordEntry, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(processLockouts())); + connect(m_base->filePasswordURL, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(processLockouts())); m_base->textPasswordEntry->setFocus(); diff --git a/kcontrol/hwmanager/deviceiconview.cpp b/kcontrol/hwmanager/deviceiconview.cpp index 44a71b3a3..a5e41ba83 100644 --- a/kcontrol/hwmanager/deviceiconview.cpp +++ b/kcontrol/hwmanager/deviceiconview.cpp @@ -43,8 +43,8 @@ DeviceIconView::DeviceIconView(TQWidget * parent, const char * name) header()->hide(); - connect(this, TQT_SIGNAL(clicked(TQListViewItem*)), this, TQT_SLOT(slotItemSelected(TQListViewItem*))); - connect(this, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemDoubleClicked(TQListViewItem*))); + connect(this, TQ_SIGNAL(clicked(TQListViewItem*)), this, TQ_SLOT(slotItemSelected(TQListViewItem*))); + connect(this, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotItemDoubleClicked(TQListViewItem*))); } void DeviceIconView::slotItemSelected(TQListViewItem* item) diff --git a/kcontrol/hwmanager/devicepropsdlg.cpp b/kcontrol/hwmanager/devicepropsdlg.cpp index 8145017a4..4baabe29a 100644 --- a/kcontrol/hwmanager/devicepropsdlg.cpp +++ b/kcontrol/hwmanager/devicepropsdlg.cpp @@ -299,20 +299,20 @@ DevicePropertiesDialog::DevicePropertiesDialog(TDEGenericDevice* device, TQWidge } if (m_device->type() == TDEGenericDeviceType::CPU) { - connect(base->comboCPUGovernor, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(setCPUGovernor(const TQString &))); + connect(base->comboCPUGovernor, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(setCPUGovernor(const TQString &))); } if (m_device->type() == TDEGenericDeviceType::Disk) { TDEStorageDevice* sdevice = static_cast<TDEStorageDevice*>(m_device); - connect(base->buttonDiskMount, TQT_SIGNAL(clicked()), this, TQT_SLOT(mountDisk())); - connect(base->buttonDiskUnmount, TQT_SIGNAL(clicked()), this, TQT_SLOT(unmountDisk())); - connect(base->buttonDiskUnlock, TQT_SIGNAL(clicked()), this, TQT_SLOT(unlockDisk())); - connect(base->buttonDiskLock, TQT_SIGNAL(clicked()), this, TQT_SLOT(lockDisk())); - connect(base->buttonDiskEject, TQT_SIGNAL(clicked()), this, TQT_SLOT(ejectDisk())); - connect(base->buttonDiskSafeRemove, TQT_SIGNAL(clicked()), this, TQT_SLOT(safeRemoveDisk())); + connect(base->buttonDiskMount, TQ_SIGNAL(clicked()), this, TQ_SLOT(mountDisk())); + connect(base->buttonDiskUnmount, TQ_SIGNAL(clicked()), this, TQ_SLOT(unmountDisk())); + connect(base->buttonDiskUnlock, TQ_SIGNAL(clicked()), this, TQ_SLOT(unlockDisk())); + connect(base->buttonDiskLock, TQ_SIGNAL(clicked()), this, TQ_SLOT(lockDisk())); + connect(base->buttonDiskEject, TQ_SIGNAL(clicked()), this, TQ_SLOT(ejectDisk())); + connect(base->buttonDiskSafeRemove, TQ_SIGNAL(clicked()), this, TQ_SLOT(safeRemoveDisk())); if (sdevice->isDiskOfType(TDEDiskDeviceType::LUKS)) { - connect(base->cryptLUKSAddKey, TQT_SIGNAL(clicked()), this, TQT_SLOT(cryptLUKSAddKey())); - connect(base->cryptLUKSDelKey, TQT_SIGNAL(clicked()), this, TQT_SLOT(cryptLUKSDelKey())); - connect(base->cryptLUKSKeySlotList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(processLockouts())); + connect(base->cryptLUKSAddKey, TQ_SIGNAL(clicked()), this, TQ_SLOT(cryptLUKSAddKey())); + connect(base->cryptLUKSDelKey, TQ_SIGNAL(clicked()), this, TQ_SLOT(cryptLUKSDelKey())); + connect(base->cryptLUKSKeySlotList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(processLockouts())); base->cryptLUKSKeySlotList->setAllColumnsShowFocus(true); base->cryptLUKSKeySlotList->setFullWidth(true); cryptLUKSPopulateList(); @@ -332,10 +332,10 @@ DevicePropertiesDialog::DevicePropertiesDialog(TDEGenericDevice* device, TQWidge m_sensorDataGridWidgets.setAutoDelete(true); } if (m_device->type() == TDEGenericDeviceType::Backlight) { - connect(base->sliderBacklightBrightness, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setBacklightBrightness(int))); + connect(base->sliderBacklightBrightness, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setBacklightBrightness(int))); } if (m_device->type() == TDEGenericDeviceType::RootSystem) { - connect(base->comboSystemHibernationMethod, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setHibernationMethod(int))); + connect(base->comboSystemHibernationMethod, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setHibernationMethod(int))); } TQGridLayout *mainGrid = new TQGridLayout(plainPage(), 1, 1, 0, spacingHint()); @@ -345,8 +345,8 @@ DevicePropertiesDialog::DevicePropertiesDialog(TDEGenericDevice* device, TQWidge TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); - connect(hwdevices, TQT_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQT_SLOT(processHardwareRemoved(TDEGenericDevice*))); - connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(processHardwareUpdated(TDEGenericDevice*))); + connect(hwdevices, TQ_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQ_SLOT(processHardwareRemoved(TDEGenericDevice*))); + connect(hwdevices, TQ_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQ_SLOT(processHardwareUpdated(TDEGenericDevice*))); populateDeviceInformation(); } @@ -881,8 +881,8 @@ void DevicePropertiesDialog::populateDeviceInformation() if (m_device->type() == TDEGenericDeviceType::CryptographicCard) { TDECryptographicCardDevice* cdevice = static_cast<TDECryptographicCardDevice*>(m_device); - connect(cdevice, TQT_SIGNAL(cardInserted(TDECryptographicCardDevice*)), this, TQT_SLOT(cryptographicCardInserted())); - connect(cdevice, TQT_SIGNAL(cardRemoved(TDECryptographicCardDevice*)), this, TQT_SLOT(cryptographicCardRemoved())); + connect(cdevice, TQ_SIGNAL(cardInserted(TDECryptographicCardDevice*)), this, TQ_SLOT(cryptographicCardInserted())); + connect(cdevice, TQ_SIGNAL(cardRemoved(TDECryptographicCardDevice*)), this, TQ_SLOT(cryptographicCardRemoved())); updateCryptographicCardStatusDisplay(); } diff --git a/kcontrol/hwmanager/hwdevicetray.cpp b/kcontrol/hwmanager/hwdevicetray.cpp index 7d5048c55..6c8949275 100644 --- a/kcontrol/hwmanager/hwdevicetray.cpp +++ b/kcontrol/hwmanager/hwdevicetray.cpp @@ -149,13 +149,13 @@ HwDeviceSystemTray::HwDeviceSystemTray(TQWidget *parent, const char *name) { // Create notifier d->m_hardwareNotifierContainer = new TDEPassivePopupStackContainer(); - connect(d->m_hardwareNotifierContainer, TQT_SIGNAL(popupClicked(KPassivePopup*, TQPoint, TQString)), this, TQT_SLOT(devicePopupClicked(KPassivePopup*, TQPoint, TQString))); + connect(d->m_hardwareNotifierContainer, TQ_SIGNAL(popupClicked(KPassivePopup*, TQPoint, TQString)), this, TQ_SLOT(devicePopupClicked(KPassivePopup*, TQPoint, TQString))); initMenus(); setPixmap(KSystemTray::loadIcon("hwinfo")); setAlignment(TQt::AlignHCenter | TQt::AlignVCenter); - connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(quitApp())); + connect(this, TQ_SIGNAL(quitSelected()), this, TQ_SLOT(quitApp())); TQToolTip::add(this, i18n("Device monitor")); globalKeys = new TDEGlobalAccel(this); @@ -166,13 +166,13 @@ HwDeviceSystemTray::HwDeviceSystemTray(TQWidget *parent, const char *name) globalKeys->setEnabled(true); globalKeys->updateConnections(); - connect(kapp, TQT_SIGNAL(settingsChanged(int)), TQT_SLOT(slotSettingsChanged(int))); + connect(kapp, TQ_SIGNAL(settingsChanged(int)), TQ_SLOT(slotSettingsChanged(int))); TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); doDiskNotifications(true); - connect(hwdevices, TQT_SIGNAL(hardwareAdded(TDEGenericDevice*)), this, TQT_SLOT(deviceAdded(TDEGenericDevice*))); - connect(hwdevices, TQT_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQT_SLOT(deviceRemoved(TDEGenericDevice*))); - connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(deviceChanged(TDEGenericDevice*))); + connect(hwdevices, TQ_SIGNAL(hardwareAdded(TDEGenericDevice*)), this, TQ_SLOT(deviceAdded(TDEGenericDevice*))); + connect(hwdevices, TQ_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQ_SLOT(deviceRemoved(TDEGenericDevice*))); + connect(hwdevices, TQ_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQ_SLOT(deviceChanged(TDEGenericDevice*))); } HwDeviceSystemTray::~HwDeviceSystemTray() @@ -182,7 +182,7 @@ HwDeviceSystemTray::~HwDeviceSystemTray() } /*! - * \b TQT_SLOT which called if hwdevicetray is exited by the user. In this case the user + * \b TQ_SLOT which called if hwdevicetray is exited by the user. In this case the user * is asked through a yes/no box if "HwDeviceTray should start automatically on log in" and the * result is written to the KDE configfile. */ @@ -231,7 +231,7 @@ void HwDeviceSystemTray::mousePressEvent(TQMouseEvent* e) break; case TQt::MidButton: - TQTimer::singleShot(0, this, TQT_SLOT(slotHardwareConfig())); + TQTimer::singleShot(0, this, TQ_SLOT(slotHardwareConfig())); break; case TQt::RightButton: @@ -301,13 +301,13 @@ void HwDeviceSystemTray::initMenus() // Global Configuration d->m_deviceManagerAction = new TDEAction(i18n("Show Device Manager..."), SmallIconSet("kcmpci"), - TDEShortcut(), this, TQT_SLOT(slotHardwareConfig()), actionCollection()); + TDEShortcut(), this, TQ_SLOT(slotHardwareConfig()), actionCollection()); d->m_shortcutKeysAction = new TDEAction(i18n("Configure Shortcut Keys..."), SmallIconSet("configure"), - TDEShortcut(), this, TQT_SLOT(slotEditShortcutKeys()), actionCollection()); + TDEShortcut(), this, TQ_SLOT(slotEditShortcutKeys()), actionCollection()); // Help & Quit d->m_helpMenu = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false, actionCollection()); - d->m_helpMenu->menu()->connectItem(KHelpMenu::menuHelpContents, this, TQT_SLOT(slotHelpContents())); + d->m_helpMenu->menu()->connectItem(KHelpMenu::menuHelpContents, this, TQ_SLOT(slotHelpContents())); d->m_quitAction = actionCollection()->action(KStdAction::name(KStdAction::Quit)); // LMB menu @@ -352,7 +352,7 @@ void HwDeviceSystemTray::addDeviceToLMBMenu(TDEStorageDevice *sdevice, const int SDActions::Details ad = SDActions::Data[actionType]; actionMenu->popupMenu()->insertItem(SmallIcon(ad.iconName), i18n(ad.actionName), actionMenuIdx); actionMenu->popupMenu()->connectItem(actionMenuIdx, this, - TQT_SLOT(slotExecuteDeviceAction(int))); + TQ_SLOT(slotExecuteDeviceAction(int))); d->m_actionMenuEntryMap[actionMenuIdx++] = { actionType, uuid }; } @@ -364,7 +364,7 @@ void HwDeviceSystemTray::addDeviceToRMBMenu(TDEStorageDevice *sdevice, const int actionMenu->popupMenu()->insertItem(sdevice->icon(TDEIcon::SizeSmall), getDeviceLabel(sdevice), actionMenuIdx); actionMenu->popupMenu()->connectItem(actionMenuIdx, this, - TQT_SLOT(slotExecuteDeviceAction(int))); + TQ_SLOT(slotExecuteDeviceAction(int))); actionMenu->setEnabled(true); d->m_actionMenuEntryMap[actionMenuIdx++] = { actionType, uuid }; } diff --git a/kcontrol/hwmanager/hwdevicetray_bindings.cpp b/kcontrol/hwmanager/hwdevicetray_bindings.cpp index f8d8271bb..09974ac68 100644 --- a/kcontrol/hwmanager/hwdevicetray_bindings.cpp +++ b/kcontrol/hwmanager/hwdevicetray_bindings.cpp @@ -18,7 +18,7 @@ */ #ifndef NOSLOTS # define DEF( name, key3, key4, fnSlot ) \ - keys->insert( name, i18n(name), TQString(), key3, key4, this, TQT_SLOT(fnSlot) ) + keys->insert( name, i18n(name), TQString(), key3, key4, this, TQ_SLOT(fnSlot) ) #else # define DEF( name, key3, key4, fnSlot ) \ keys->insert( name, i18n(name), TQString(), key3, key4 ) diff --git a/kcontrol/hwmanager/hwmanager.cpp b/kcontrol/hwmanager/hwmanager.cpp index f5b0206c3..97251cb89 100644 --- a/kcontrol/hwmanager/hwmanager.cpp +++ b/kcontrol/hwmanager/hwmanager.cpp @@ -95,11 +95,11 @@ TDEHWManager::TDEHWManager(TQWidget *parent, const char *name, const TQStringLis TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); hwdevices->setTriggerlessHardwareUpdatesEnabled(true); - connect(base->showByConnection, TQT_SIGNAL(clicked()), TQT_SLOT(changed())); - connect(base->showByConnection, TQT_SIGNAL(clicked()), TQT_SLOT(populateTreeView())); + connect(base->showByConnection, TQ_SIGNAL(clicked()), TQ_SLOT(changed())); + connect(base->showByConnection, TQ_SIGNAL(clicked()), TQ_SLOT(populateTreeView())); - connect(hwdevices, TQT_SIGNAL(hardwareAdded(TDEGenericDevice*)), this, TQT_SLOT(scheduleDeviceUpdate())); - connect(hwdevices, TQT_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQT_SLOT(scheduleDeviceUpdate())); + connect(hwdevices, TQ_SIGNAL(hardwareAdded(TDEGenericDevice*)), this, TQ_SLOT(scheduleDeviceUpdate())); + connect(hwdevices, TQ_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQ_SLOT(scheduleDeviceUpdate())); load(); @@ -138,7 +138,7 @@ void TDEHWManager::scheduleDeviceUpdate() if (!deviceUpdateScheduled) { deviceUpdateScheduled = true; - TQTimer::singleShot(1000, this, TQT_SLOT(populateTreeView())); + TQTimer::singleShot(1000, this, TQ_SLOT(populateTreeView())); } } @@ -166,7 +166,7 @@ void TDEHWManager::populateTreeView() for ( hwdevice = hwlist.first(); hwdevice; hwdevice = hwlist.next() ) { if (hwdevice->type() == TDEGenericDeviceType::CryptographicCard) { TDECryptographicCardDevice* cdevice = static_cast<TDECryptographicCardDevice*>(hwdevice); - connect(cdevice, SIGNAL(pinRequested(TQString,TDECryptographicCardDevice*)), this, SLOT(cryptographicCardPinRequested(TQString,TDECryptographicCardDevice*))); + connect(cdevice, TQ_SIGNAL(pinRequested(TQString,TDECryptographicCardDevice*)), this, TQ_SLOT(cryptographicCardPinRequested(TQString,TDECryptographicCardDevice*))); cdevice->enableCardMonitoring(true); cdevice->enablePINEntryCallbacks(true); } @@ -188,7 +188,7 @@ void TDEHWManager::populateTreeView() for ( hwdevice = hwlist.first(); hwdevice; hwdevice = hwlist.next() ) { if (hwdevice->type() == TDEGenericDeviceType::CryptographicCard) { TDECryptographicCardDevice* cdevice = static_cast<TDECryptographicCardDevice*>(hwdevice); - connect(cdevice, SIGNAL(pinRequested(TQString,TDECryptographicCardDevice*)), this, SLOT(cryptographicCardPinRequested(TQString,TDECryptographicCardDevice*))); + connect(cdevice, TQ_SIGNAL(pinRequested(TQString,TDECryptographicCardDevice*)), this, TQ_SLOT(cryptographicCardPinRequested(TQString,TDECryptographicCardDevice*))); cdevice->enableCardMonitoring(true); cdevice->enablePINEntryCallbacks(true); } @@ -211,7 +211,7 @@ void TDEHWManager::populateTreeViewLeaf(DeviceIconItem *parent, bool show_by_con for ( hwdevice = hwlist.first(); hwdevice; hwdevice = hwlist.next() ) { if (hwdevice->type() == TDEGenericDeviceType::CryptographicCard) { TDECryptographicCardDevice* cdevice = static_cast<TDECryptographicCardDevice*>(hwdevice); - connect(cdevice, SIGNAL(pinRequested(TQString,TDECryptographicCardDevice*)), this, SLOT(cryptographicCardPinRequested(TQString,TDECryptographicCardDevice*))); + connect(cdevice, TQ_SIGNAL(pinRequested(TQString,TDECryptographicCardDevice*)), this, TQ_SLOT(cryptographicCardPinRequested(TQString,TDECryptographicCardDevice*))); cdevice->enableCardMonitoring(true); cdevice->enablePINEntryCallbacks(true); } diff --git a/kcontrol/hwmanager/passworddlg.cpp b/kcontrol/hwmanager/passworddlg.cpp index 07b6027ae..22b82648f 100644 --- a/kcontrol/hwmanager/passworddlg.cpp +++ b/kcontrol/hwmanager/passworddlg.cpp @@ -30,7 +30,7 @@ PasswordDlg::PasswordDlg() : enableButton( User1, false ); unlockDialog->encryptedIcon->setPixmap(TDEGlobal::iconLoader()->loadIcon("drive-harddisk-locked", TDEIcon::NoGroup, TDEIcon::SizeLarge)); - connect(unlockDialog->passwordEdit, TQT_SIGNAL (textChanged(const TQString &)), this, TQT_SLOT (slotPasswordChanged(const TQString &))); + connect(unlockDialog->passwordEdit, TQ_SIGNAL (textChanged(const TQString &)), this, TQ_SLOT (slotPasswordChanged(const TQString &))); setMainWidget(unlockDialog); } diff --git a/kcontrol/iccconfig/iccconfig.cpp b/kcontrol/iccconfig/iccconfig.cpp index 2ca108e3f..218c3e615 100644 --- a/kcontrol/iccconfig/iccconfig.cpp +++ b/kcontrol/iccconfig/iccconfig.cpp @@ -87,23 +87,23 @@ KICCConfig::KICCConfig(TQWidget *parent, const char *name, const TQStringList &) setRootOnlyMsg(i18n("<b>The global color profile is a system wide setting, and requires administrator access</b><br>To alter the system's global profile, click on the \"Administrator Mode\" button below.")); // setUseRootOnlyMsg(true); // Setting this hides the Apply button! - connect(base->systemEnableSupport, TQT_SIGNAL(clicked()), TQT_SLOT(changed())); - connect(base->systemEnableSupport, TQT_SIGNAL(toggled(bool)), base->systemIccFile, TQT_SLOT(setEnabled(bool))); - connect(base->enableSupport, TQT_SIGNAL(clicked()), TQT_SLOT(changed())); - connect(base->enableSupport, TQT_SIGNAL(toggled(bool)), base->iccFile, TQT_SLOT(setEnabled(bool))); - connect(base->enableSupport, TQT_SIGNAL(toggled(bool)), base->randrScreenList, TQT_SLOT(setEnabled(bool))); - connect(base->enableSupport, TQT_SIGNAL(toggled(bool)), base->iccProfileList, TQT_SLOT(setEnabled(bool))); - connect(base->enableSupport, TQT_SIGNAL(toggled(bool)), base->addProfileButton, TQT_SLOT(setEnabled(bool))); - connect(base->enableSupport, TQT_SIGNAL(toggled(bool)), base->renameProfileButton, TQT_SLOT(setEnabled(bool))); - connect(base->enableSupport, TQT_SIGNAL(toggled(bool)), base->deleteProfileButton, TQT_SLOT(setEnabled(bool))); - connect(base->iccProfileList, TQT_SIGNAL(activated(int)), this, TQT_SLOT(selectProfile(int))); - connect(base->randrScreenList, TQT_SIGNAL(activated(int)), this, TQT_SLOT(selectScreen(int))); - connect(base->iccFile, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(updateArray())); - connect(base->systemIccFile, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed())); - - connect(base->addProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(addProfile())); - connect(base->renameProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(renameProfile())); - connect(base->deleteProfileButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteProfile())); + connect(base->systemEnableSupport, TQ_SIGNAL(clicked()), TQ_SLOT(changed())); + connect(base->systemEnableSupport, TQ_SIGNAL(toggled(bool)), base->systemIccFile, TQ_SLOT(setEnabled(bool))); + connect(base->enableSupport, TQ_SIGNAL(clicked()), TQ_SLOT(changed())); + connect(base->enableSupport, TQ_SIGNAL(toggled(bool)), base->iccFile, TQ_SLOT(setEnabled(bool))); + connect(base->enableSupport, TQ_SIGNAL(toggled(bool)), base->randrScreenList, TQ_SLOT(setEnabled(bool))); + connect(base->enableSupport, TQ_SIGNAL(toggled(bool)), base->iccProfileList, TQ_SLOT(setEnabled(bool))); + connect(base->enableSupport, TQ_SIGNAL(toggled(bool)), base->addProfileButton, TQ_SLOT(setEnabled(bool))); + connect(base->enableSupport, TQ_SIGNAL(toggled(bool)), base->renameProfileButton, TQ_SLOT(setEnabled(bool))); + connect(base->enableSupport, TQ_SIGNAL(toggled(bool)), base->deleteProfileButton, TQ_SLOT(setEnabled(bool))); + connect(base->iccProfileList, TQ_SIGNAL(activated(int)), this, TQ_SLOT(selectProfile(int))); + connect(base->randrScreenList, TQ_SIGNAL(activated(int)), this, TQ_SLOT(selectScreen(int))); + connect(base->iccFile, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(updateArray())); + connect(base->systemIccFile, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed())); + + connect(base->addProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(addProfile())); + connect(base->renameProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(renameProfile())); + connect(base->deleteProfileButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteProfile())); load(); diff --git a/kcontrol/icons/icons.cpp b/kcontrol/icons/icons.cpp index c271d4419..57fe2669f 100644 --- a/kcontrol/icons/icons.cpp +++ b/kcontrol/icons/icons.cpp @@ -52,7 +52,7 @@ TDEIconConfig::TDEIconConfig(TQWidget *parent, const char *name) KDialog::spacingHint()); g_vlay->addSpacing(fontMetrics().lineSpacing()); mpUsageList = new TQListBox(gbox); - connect(mpUsageList, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotUsage(int))); + connect(mpUsageList, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotUsage(int))); g_vlay->addWidget(mpUsageList); KSeparator *sep = new KSeparator( KSeparator::HLine, this ); @@ -65,11 +65,11 @@ TDEIconConfig::TDEIconConfig(TQWidget *parent, const char *name) TQPushButton *push; mPreviewButton1 = addPreviewIcon(0, i18n("Default"), this, g_lay); - connect(mPreviewButton1, TQT_SIGNAL(clicked()), TQT_SLOT(slotEffectSetup0())); + connect(mPreviewButton1, TQ_SIGNAL(clicked()), TQ_SLOT(slotEffectSetup0())); mPreviewButton2 = addPreviewIcon(1, i18n("Active"), this, g_lay); - connect(mPreviewButton2, TQT_SIGNAL(clicked()), TQT_SLOT(slotEffectSetup1())); + connect(mPreviewButton2, TQ_SIGNAL(clicked()), TQ_SLOT(slotEffectSetup1())); mPreviewButton3 = addPreviewIcon(2, i18n("Disabled"), this, g_lay); - connect(mPreviewButton3, TQT_SIGNAL(clicked()), TQT_SLOT(slotEffectSetup2())); + connect(mPreviewButton3, TQ_SIGNAL(clicked()), TQ_SLOT(slotEffectSetup2())); m_pTab1 = new TQWidget(this, "General Tab"); top->addWidget(m_pTab1, 0, 1); @@ -83,24 +83,24 @@ TDEIconConfig::TDEIconConfig(TQWidget *parent, const char *name) lbl->setFixedSize(lbl->sizeHint()); grid->addWidget(lbl, 0, 0, TQt::AlignLeft); mpSizeBox = new TQComboBox(m_pTab1); - connect(mpSizeBox, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSize(int))); + connect(mpSizeBox, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSize(int))); lbl->setBuddy(mpSizeBox); 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))); + connect(mpDPCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotDPCheck(bool))); 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))); + connect(mpAnimatedCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotAnimatedCheck(bool))); 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))); + connect(mpRoundedCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotRoundedCheck(bool))); 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))); + connect(mpActiveEffectCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotActiveEffect(bool))); grid->addMultiCellWidget(mpActiveEffectCheck, 4, 4, 0, 1, TQt::AlignLeft); top->activate(); @@ -698,12 +698,12 @@ TDEIconEffectSetupDialog::TDEIconEffectSetupDialog(const Effect &effect, mpEffectBox->insertItem(i18n("Desaturate")); mpEffectBox->insertItem(i18n("To Monochrome")); mpEffectBox->setMinimumWidth( 100 ); - connect(mpEffectBox, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotEffectType(int))); + connect(mpEffectBox, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotEffectType(int))); 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))); + connect(mpSTCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSTCheck(bool))); top->addWidget(mpSTCheck, 3, 0, TQt::AlignLeft); frame = new TQGroupBox(i18n("Preview"), page); @@ -726,23 +726,23 @@ TDEIconEffectSetupDialog::TDEIconEffectSetupDialog(const Effect &effect, grid->addWidget(mpEffectLabel, 1, 0); mpEffectSlider = new TQSlider(0, 100, 5, 10, TQt::Horizontal, mpEffectGroup); mpEffectLabel->setBuddy( mpEffectSlider ); - connect(mpEffectSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotEffectValue(int))); + connect(mpEffectSlider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotEffectValue(int))); grid->addWidget(mpEffectSlider, 1, 1); mpEffectColor = new TQLabel(i18n("Co&lor:"), mpEffectGroup); grid->addWidget(mpEffectColor, 2, 0); mpEColButton = new KColorButton(mpEffectGroup); mpEffectColor->setBuddy( mpEColButton ); - connect(mpEColButton, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(slotEffectColor(const TQColor &))); + connect(mpEColButton, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(slotEffectColor(const TQColor &))); grid->addWidget(mpEColButton, 2, 1); mpEffectColor2 = new TQLabel(i18n("&Second color:"), mpEffectGroup); grid->addWidget(mpEffectColor2, 3, 0); mpECol2Button = new KColorButton(mpEffectGroup); mpEffectColor2->setBuddy( mpECol2Button ); - connect(mpECol2Button, TQT_SIGNAL(changed(const TQColor &)), - TQT_SLOT(slotEffectColor2(const TQColor &))); + connect(mpECol2Button, TQ_SIGNAL(changed(const TQColor &)), + TQ_SLOT(slotEffectColor2(const TQColor &))); grid->addWidget(mpECol2Button, 3, 1); init(); diff --git a/kcontrol/icons/iconthemes.cpp b/kcontrol/icons/iconthemes.cpp index 826f6300d..86d782a1b 100644 --- a/kcontrol/icons/iconthemes.cpp +++ b/kcontrol/icons/iconthemes.cpp @@ -82,15 +82,15 @@ IconThemesConfig::IconThemesConfig(TQWidget *parent, const char *name) m_iconThemes->addColumn(i18n("Description")); m_iconThemes->setAllColumnsShowFocus( true ); m_iconThemes->setFullWidth(true); - connect(m_iconThemes,TQT_SIGNAL(selectionChanged(TQListViewItem *)), - TQT_SLOT(themeSelected(TQListViewItem *))); + connect(m_iconThemes,TQ_SIGNAL(selectionChanged(TQListViewItem *)), + TQ_SLOT(themeSelected(TQListViewItem *))); TQPushButton *installButton=new TQPushButton( i18n("Install New Theme..."), this, "InstallNewTheme"); - connect(installButton,TQT_SIGNAL(clicked()),TQT_SLOT(installNewTheme())); + connect(installButton,TQ_SIGNAL(clicked()),TQ_SLOT(installNewTheme())); m_removeButton=new TQPushButton( i18n("Remove Theme"), this, "RemoveTheme"); - connect(m_removeButton,TQT_SIGNAL(clicked()),TQT_SLOT(removeSelectedTheme())); + connect(m_removeButton,TQ_SIGNAL(clicked()),TQ_SLOT(removeSelectedTheme())); topLayout->addWidget( new TQLabel(i18n("Select the icon theme you want to use:"), this)); diff --git a/kcontrol/icons/main.cpp b/kcontrol/icons/main.cpp index 359bfec91..214e85a70 100644 --- a/kcontrol/icons/main.cpp +++ b/kcontrol/icons/main.cpp @@ -45,11 +45,11 @@ IconModule::IconModule(TQWidget *parent, const char *name, const TQStringList &) tab1 = new IconThemesConfig(this, "themes"); tab->addTab(tab1, i18n("&Theme")); - connect(tab1, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool))); + connect(tab1, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(moduleChanged(bool))); tab2 = new TDEIconConfig(this, "effects"); tab->addTab(tab2, i18n("Ad&vanced")); - connect(tab2, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool))); + connect(tab2, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(moduleChanged(bool))); TDEAboutData* about = new TDEAboutData("kcmicons", I18N_NOOP("Icons"), "3.0", I18N_NOOP("Icons Control Panel Module"), diff --git a/kcontrol/info/memory.cpp b/kcontrol/info/memory.cpp index 76d68d675..93da5ea20 100644 --- a/kcontrol/info/memory.cpp +++ b/kcontrol/info/memory.cpp @@ -252,8 +252,8 @@ KMemoryWidget::KMemoryWidget(TQWidget * parent, const char *name) timer = new TQTimer(this); timer->start(100); - TQObject::connect(timer, TQT_SIGNAL(timeout()), this, - TQT_SLOT(update_Values())); + TQObject::connect(timer, TQ_SIGNAL(timeout()), this, + TQ_SLOT(update_Values())); update(); } diff --git a/kcontrol/input/core/themepage.cpp b/kcontrol/input/core/themepage.cpp index 48b6711d9..8e2f4ad43 100644 --- a/kcontrol/input/core/themepage.cpp +++ b/kcontrol/input/core/themepage.cpp @@ -66,8 +66,8 @@ ThemePage::ThemePage( TQWidget* parent, const char* name ) listview->addColumn( i18n("Name") ); listview->addColumn( i18n("Description") ); - connect( listview, TQT_SIGNAL(selectionChanged(TQListViewItem*)), - TQT_SLOT(selectionChanged(TQListViewItem*)) ); + connect( listview, TQ_SIGNAL(selectionChanged(TQListViewItem*)), + TQ_SLOT(selectionChanged(TQListViewItem*)) ); insertThemes(); } diff --git a/kcontrol/input/logitechmouse.cpp b/kcontrol/input/logitechmouse.cpp index 2798ce1de..78c37d717 100644 --- a/kcontrol/input/logitechmouse.cpp +++ b/kcontrol/input/logitechmouse.cpp @@ -70,8 +70,8 @@ LogitechMouse::LogitechMouse( struct usb_device *usbDev, int mouseCapabilityFlag updateResolution(); resolutionSelector->setEnabled( TRUE ); - connect( button400cpi, TQT_SIGNAL( clicked() ), parent, TQT_SLOT( changed() ) ); - connect( button800cpi, TQT_SIGNAL( clicked() ), parent, TQT_SLOT( changed() ) ); + connect( button400cpi, TQ_SIGNAL( clicked() ), parent, TQ_SLOT( changed() ) ); + connect( button800cpi, TQ_SIGNAL( clicked() ), parent, TQ_SLOT( changed() ) ); if ( 4 == resolution() ) { button800cpi->setChecked( TRUE ); @@ -100,12 +100,12 @@ LogitechMouse::LogitechMouse( struct usb_device *usbDev, int mouseCapabilityFlag // if the channel is changed, we need to turn off the timer, otherwise it // just resets the button to reflect the current status. The timer is // started again when we applyChanges() - connect( channel1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( stopTimerForNow() ) ); - connect( channel1, TQT_SIGNAL( clicked() ), parent, TQT_SLOT( changed() ) ); + connect( channel1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( stopTimerForNow() ) ); + connect( channel1, TQ_SIGNAL( clicked() ), parent, TQ_SLOT( changed() ) ); if ( isDualChannelCapable() ) { channel2->setEnabled( TRUE ); - connect( channel2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( stopTimerForNow() ) ); - connect( channel2, TQT_SIGNAL( clicked() ), parent, TQT_SLOT( changed() ) ); + connect( channel2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( stopTimerForNow() ) ); + connect( channel2, TQ_SIGNAL( clicked() ), parent, TQ_SLOT( changed() ) ); } updateGUI(); @@ -124,7 +124,7 @@ void LogitechMouse::initCordlessStatusReporting() { updateCordlessStatus(); doUpdate = new TQTimer( this ); // will be automatically deleted - connect( doUpdate, TQT_SIGNAL( timeout() ), this, TQT_SLOT( updateGUI() ) ); + connect( doUpdate, TQ_SIGNAL( timeout() ), this, TQ_SLOT( updateGUI() ) ); doUpdate->start( 20000 ); } diff --git a/kcontrol/input/mouse.cpp b/kcontrol/input/mouse.cpp index 0d07e782e..224b90cc4 100644 --- a/kcontrol/input/mouse.cpp +++ b/kcontrol/input/mouse.cpp @@ -102,8 +102,8 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) tabwidget->addTab(tab1, i18n("&General")); - connect(tab1->handedBox, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(changed())); - connect(tab1->handedBox, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotHandedChanged(int))); + connect(tab1->handedBox, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(changed())); + connect(tab1->handedBox, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotHandedChanged(int))); wtstr = i18n("If you are left-handed, you may prefer to swap the" " functions of the left and right buttons on your pointing device" @@ -113,7 +113,7 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) " a three-button mouse, the middle button is unaffected."); TQWhatsThis::add( tab1->handedBox, wtstr ); - connect(tab1->doubleClick, TQT_SIGNAL(clicked()), TQT_SLOT(changed())); + connect(tab1->doubleClick, TQ_SIGNAL(clicked()), TQ_SLOT(changed())); wtstr = i18n("The default behavior in TDE is to select and activate" " icons with a single click of the left button on your pointing" @@ -127,7 +127,7 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) TQWhatsThis::add( tab1->singleClick, wtstr ); - connect(tab1->cbAutoSelect, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(tab1->cbAutoSelect, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); wtstr = i18n("If you check this option, pausing the mouse pointer" " over an icon on the screen will automatically select that icon." @@ -149,16 +149,16 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) wtstr = i18n("Show feedback when clicking an icon"); TQWhatsThis::add( tab1->cbVisualActivate, wtstr ); - connect(tab1->slAutoSelect, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(tab1->cbVisualActivate, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(tab1->slAutoSelect, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(tab1->cbVisualActivate, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); - connect(tab1->cb_pointershape, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(tab1->cb_pointershape, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); - connect(tab1->singleClick, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(tab1->singleClick, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClick())); + connect(tab1->singleClick, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(tab1->singleClick, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClick())); - connect( tab1->doubleClick, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotClick() ) ); - connect( tab1->cbAutoSelect, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotClick() ) ); + connect( tab1->doubleClick, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClick() ) ); + connect( tab1->cbAutoSelect, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClick() ) ); // Only allow setting reversing scroll polarity if we have scroll buttons unsigned char map[20]; @@ -172,12 +172,12 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) tab1->cbScrollPolarity->setEnabled( false ); tab1->cbScrollPolarity->hide(); } - connect(tab1->cbScrollPolarity, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(tab1->cbScrollPolarity, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotScrollPolarityChanged())); + connect(tab1->cbScrollPolarity, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(tab1->cbScrollPolarity, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotScrollPolarityChanged())); // Cursor theme tab themetab = new ThemePage(this); - connect(themetab, TQT_SIGNAL(changed(bool)), TQT_SLOT(changed())); + connect(themetab, TQ_SIGNAL(changed(bool)), TQ_SLOT(changed())); tabwidget->addTab(themetab, i18n("&Cursor Theme")); // Advanced tab @@ -191,7 +191,7 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) accel->setLabel(i18n("Pointer acceleration:")); accel->setSuffix("x"); lay->addWidget(accel); - connect(accel, TQT_SIGNAL(valueChanged(double)), this, TQT_SLOT(changed())); + connect(accel, TQ_SIGNAL(valueChanged(double)), this, TQ_SLOT(changed())); wtstr = i18n("This option allows you to change the relationship" " between the distance that the mouse pointer moves on the" @@ -210,8 +210,8 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) thresh->setRange(0,20,1); thresh->setSteps(1,1); lay->addWidget(thresh); - connect(thresh, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(thresh, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotThreshChanged(int))); + connect(thresh, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(thresh, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotThreshChanged(int))); slotThreshChanged(thresh->value()); wtstr = i18n("The threshold is the smallest distance that the" @@ -231,7 +231,7 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) doubleClickInterval->setSuffix(i18n(" msec")); doubleClickInterval->setSteps(100, 100); lay->addWidget(doubleClickInterval); - connect(doubleClickInterval, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); + connect(doubleClickInterval, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); wtstr = i18n("The double click interval is the maximal time" " (in milliseconds) between two mouse clicks which" @@ -267,9 +267,9 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) lay->addWidget(doubleClickButton); // Use the same What's This help for the pushbutton. TQWhatsThis::add( doubleClickButton, wtstr ); - connect(doubleClickButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotDoubleClickButtonPressed())); + connect(doubleClickButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotDoubleClickButtonPressed())); doubleClickTimer=new TQTimer(); - connect(doubleClickTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotDoubleClickTimerDone()) ); + connect(doubleClickTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotDoubleClickTimerDone()) ); lay->addSpacing(10); @@ -279,7 +279,7 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) dragStartTime->setSuffix(i18n(" msec")); dragStartTime->setSteps(100, 100); lay->addWidget(dragStartTime); - connect(dragStartTime, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); + connect(dragStartTime, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); wtstr = i18n("If you click with the mouse (e.g. in a multi-line" " editor) and begin to move the mouse within the" @@ -291,8 +291,8 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) dragStartDist->setRange(1, 20, 1); dragStartDist->setSteps(1,1); lay->addWidget(dragStartDist); - connect(dragStartDist, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(dragStartDist, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotDragStartDistChanged(int))); + connect(dragStartDist, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(dragStartDist, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotDragStartDistChanged(int))); slotDragStartDistChanged(dragStartDist->value()); wtstr = i18n("If you click with the mouse and begin to move the" @@ -305,8 +305,8 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) wheelScrollLines->setRange(1, 12, 1); wheelScrollLines->setSteps(1,1); lay->addWidget(wheelScrollLines); - connect(wheelScrollLines, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(wheelScrollLines, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotWheelScrollLinesChanged(int))); + connect(wheelScrollLines, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(wheelScrollLines, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotWheelScrollLinesChanged(int))); slotWheelScrollLinesChanged(wheelScrollLines->value()); wtstr = i18n("If you use the wheel of a mouse, this value determines the number of lines to scroll for each wheel movement. Note that if this number exceeds the number of visible lines, it will be ignored and the wheel movement will be handled as a page up/down movement."); @@ -365,13 +365,13 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name) mk_curve->setRange(-1000, 1000, 100); hbox->addWidget(mk_curve); - connect(mouseKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(checkAccess())); - connect(mouseKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(mk_delay, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(mk_interval, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(mk_time_to_max, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(mk_max_speed, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); - connect(mk_curve, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed())); + connect(mouseKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(checkAccess())); + connect(mouseKeys, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(mk_delay, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(mk_interval, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(mk_time_to_max, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(mk_max_speed, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); + connect(mk_curve, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(changed())); vbox->addStretch(); } diff --git a/kcontrol/input/xcursor/themepage.cpp b/kcontrol/input/xcursor/themepage.cpp index d131aca8c..e575b6cd2 100644 --- a/kcontrol/input/xcursor/themepage.cpp +++ b/kcontrol/input/xcursor/themepage.cpp @@ -100,8 +100,8 @@ ThemePage::ThemePage( TQWidget* parent, const char* name ) listview->addColumn( i18n("Name") ); listview->addColumn( i18n("Description") ); - connect( listview, TQT_SIGNAL(selectionChanged(TQListViewItem*)), - TQT_SLOT(selectionChanged(TQListViewItem*)) ); + connect( listview, TQ_SIGNAL(selectionChanged(TQListViewItem*)), + TQ_SLOT(selectionChanged(TQListViewItem*)) ); themeDirs = getThemeBaseDirs(); insertThemes(); @@ -111,8 +111,8 @@ ThemePage::ThemePage( TQWidget* parent, const char* name ) installButton = new TQPushButton( i18n("Install New Theme..."), hbox ); removeButton = new TQPushButton( i18n("Remove Theme"), hbox ); - connect( installButton, TQT_SIGNAL( clicked() ), TQT_SLOT( installClicked() ) ); - connect( removeButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeClicked() ) ); + connect( installButton, TQ_SIGNAL( clicked() ), TQ_SLOT( installClicked() ) ); + connect( removeButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeClicked() ) ); // Disable the install button if ~/.icons isn't writable TQString path = TQDir::homeDirPath() + "/.icons"; diff --git a/kcontrol/joystick/joywidget.cpp b/kcontrol/joystick/joywidget.cpp index 5d104006b..c88f6d217 100644 --- a/kcontrol/joystick/joywidget.cpp +++ b/kcontrol/joystick/joywidget.cpp @@ -65,7 +65,7 @@ JoyWidget::JoyWidget(TQWidget *parent, const char *name) new TQLabel(i18n("Device:"), devHbox); device = new TQComboBox(true, devHbox); device->setInsertionPolicy(TQComboBox::NoInsertion); - connect(device, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(deviceChanged(const TQString &))); + connect(device, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(deviceChanged(const TQString &))); devHbox->setStretchFactor(device, 3); TQHBox *hbox = new TQHBox(mainVbox); @@ -77,7 +77,7 @@ JoyWidget::JoyWidget(TQWidget *parent, const char *name) new TQLabel(i18n("Position:"), vboxLeft); xyPos = new PosWidget(vboxLeft); trace = new TQCheckBox(i18n("Show trace"), mainVbox); - connect(trace, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(traceChanged(bool))); + connect(trace, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(traceChanged(bool))); TQVBox *vboxMid = new TQVBox(hbox); vboxMid->setSpacing(KDialog::spacingHint()); @@ -111,12 +111,12 @@ JoyWidget::JoyWidget(TQWidget *parent, const char *name) // calibrate button calibrate = new TQPushButton(i18n("Calibrate"), mainVbox); - connect(calibrate, TQT_SIGNAL(clicked()), this, TQT_SLOT(calibrateDevice())); + connect(calibrate, TQ_SIGNAL(clicked()), this, TQ_SLOT(calibrateDevice())); calibrate->setEnabled(false); // set up a timer for idle processing of joystick events idle = new TQTimer(this); - connect(idle, TQT_SIGNAL(timeout()), this, TQT_SLOT(checkDevice())); + connect(idle, TQ_SIGNAL(timeout()), this, TQ_SLOT(checkDevice())); // check which devicefiles we have init(); diff --git a/kcontrol/kcontrol/aboutwidget.cpp b/kcontrol/kcontrol/aboutwidget.cpp index c1ba4fecf..485f11442 100644 --- a/kcontrol/kcontrol/aboutwidget.cpp +++ b/kcontrol/kcontrol/aboutwidget.cpp @@ -84,8 +84,8 @@ AboutWidget::AboutWidget(TQWidget *parent , const char *name, TQListViewItem* ca _viewer = new TDEHTMLPart( this, "_viewer" ); _viewer->widget()->setSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored ); connect( _viewer->browserExtension(), - TQT_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)), - this, TQT_SLOT(slotModuleLinkClicked(const KURL&)) ); + TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)), + this, TQ_SLOT(slotModuleLinkClicked(const KURL&)) ); updatePixmap(); } diff --git a/kcontrol/kcontrol/dockcontainer.cpp b/kcontrol/kcontrol/dockcontainer.cpp index be3ede802..67584a74d 100644 --- a/kcontrol/kcontrol/dockcontainer.cpp +++ b/kcontrol/kcontrol/dockcontainer.cpp @@ -105,7 +105,7 @@ ModuleWidget::ModuleWidget( TQWidget *parent, const char *name ) m_title = new ModuleTitle( titleLine, "m_title" ); TQPushButton *helpButton = new TQPushButton( titleLine ); helpButton->setIconSet( SmallIconSet("help") ); - connect (helpButton, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( helpRequest() ) ); + connect (helpButton, TQ_SIGNAL( clicked() ), this, TQ_SIGNAL( helpRequest() ) ); m_body = new TQVBox( this, "m_body" ); setStretchFactor( m_body, 10 ); } @@ -137,7 +137,7 @@ DockContainer::DockContainer(TQWidget *parent) addWidget( _busyw ); _modulew = new ModuleWidget( this, "_modulew" ); - connect (_modulew, TQT_SIGNAL( helpRequest() ), TQT_SLOT( slotHelpRequest() ) ); + connect (_modulew, TQ_SIGNAL( helpRequest() ), TQ_SLOT( slotHelpRequest() ) ); addWidget( _modulew ); } @@ -170,10 +170,10 @@ ProxyWidget* DockContainer::loadModule( ConfigModule *module ) if (widget) { _module = module; - connect(_module, TQT_SIGNAL(childClosed()), TQT_SLOT(removeModule())); - connect(_module, TQT_SIGNAL(changed(ConfigModule *)), - TQT_SIGNAL(changedModule(ConfigModule *))); - connect(widget, TQT_SIGNAL(quickHelpChanged()), TQT_SLOT(quickHelpChanged())); + connect(_module, TQ_SIGNAL(childClosed()), TQ_SLOT(removeModule())); + connect(_module, TQ_SIGNAL(changed(ConfigModule *)), + TQ_SIGNAL(changedModule(ConfigModule *))); + connect(widget, TQ_SIGNAL(quickHelpChanged()), TQ_SLOT(quickHelpChanged())); raiseWidget( _modulew ); emit newModule(widget->caption(), module->docPath(), widget->quickHelp()); diff --git a/kcontrol/kcontrol/indexwidget.cpp b/kcontrol/kcontrol/indexwidget.cpp index cf57dc0e4..293c5e1d8 100644 --- a/kcontrol/kcontrol/indexwidget.cpp +++ b/kcontrol/kcontrol/indexwidget.cpp @@ -69,19 +69,19 @@ void IndexWidget::moduleSelected(ConfigModule *m) { _tree->makeVisible(m); - _tree->disconnect(TQT_SIGNAL(moduleSelected(ConfigModule*))); + _tree->disconnect(TQ_SIGNAL(moduleSelected(ConfigModule*))); _tree->makeSelected(m); - connect(_tree, TQT_SIGNAL(moduleSelected(ConfigModule*)), - this, TQT_SLOT(moduleSelected(ConfigModule*))); + connect(_tree, TQ_SIGNAL(moduleSelected(ConfigModule*)), + this, TQ_SLOT(moduleSelected(ConfigModule*))); } else if (obj->inherits("ModuleTreeView") && _icon) { _icon->makeVisible(m); - _icon->disconnect(TQT_SIGNAL(moduleSelected(ConfigModule*))); + _icon->disconnect(TQ_SIGNAL(moduleSelected(ConfigModule*))); _icon->makeSelected(m); - connect(_icon, TQT_SIGNAL(moduleSelected(ConfigModule*)), - this, TQT_SLOT(moduleSelected(ConfigModule*))); + connect(_icon, TQ_SIGNAL(moduleSelected(ConfigModule*)), + this, TQ_SLOT(moduleSelected(ConfigModule*))); } } @@ -89,17 +89,17 @@ void IndexWidget::makeSelected(ConfigModule *module) { if (_icon) { - _icon->disconnect(TQT_SIGNAL(moduleSelected(ConfigModule*))); + _icon->disconnect(TQ_SIGNAL(moduleSelected(ConfigModule*))); _icon->makeSelected(module); - connect(_icon, TQT_SIGNAL(moduleSelected(ConfigModule*)), - this, TQT_SLOT(moduleSelected(ConfigModule*))); + connect(_icon, TQ_SIGNAL(moduleSelected(ConfigModule*)), + this, TQ_SLOT(moduleSelected(ConfigModule*))); } if (_tree) { - _tree->disconnect(TQT_SIGNAL(moduleSelected(ConfigModule*))); + _tree->disconnect(TQ_SIGNAL(moduleSelected(ConfigModule*))); _tree->makeSelected(module); - connect(_tree, TQT_SIGNAL(moduleSelected(ConfigModule*)), - this, TQT_SLOT(moduleSelected(ConfigModule*))); + connect(_tree, TQ_SIGNAL(moduleSelected(ConfigModule*)), + this, TQ_SLOT(moduleSelected(ConfigModule*))); } } @@ -121,8 +121,8 @@ void IndexWidget::activateView(IndexViewMode mode) { _icon=new ModuleIconView(_modules, this); _icon->fill(); - connect(_icon, TQT_SIGNAL(moduleSelected(ConfigModule*)), - this, TQT_SLOT(moduleSelected(ConfigModule*))); + connect(_icon, TQ_SIGNAL(moduleSelected(ConfigModule*)), + this, TQ_SLOT(moduleSelected(ConfigModule*))); } raiseWidget( _icon ); } @@ -132,10 +132,10 @@ void IndexWidget::activateView(IndexViewMode mode) { _tree=new ModuleTreeView(_modules, this); _tree->fill(); - connect(_tree, TQT_SIGNAL(moduleSelected(ConfigModule*)), - this, TQT_SLOT(moduleSelected(ConfigModule*))); - connect(_tree, TQT_SIGNAL(categorySelected(TQListViewItem*)), - this, TQT_SIGNAL(categorySelected(TQListViewItem*))); + connect(_tree, TQ_SIGNAL(moduleSelected(ConfigModule*)), + this, TQ_SLOT(moduleSelected(ConfigModule*))); + connect(_tree, TQ_SIGNAL(categorySelected(TQListViewItem*)), + this, TQ_SIGNAL(categorySelected(TQListViewItem*))); } raiseWidget( _tree ); } diff --git a/kcontrol/kcontrol/main.cpp b/kcontrol/kcontrol/main.cpp index a3912c5da..aa5227532 100644 --- a/kcontrol/kcontrol/main.cpp +++ b/kcontrol/kcontrol/main.cpp @@ -61,8 +61,8 @@ KControlApp::KControlApp() // KUniqueApplication does dcop regitration for us ModuleIface *modIface = new ModuleIface(toplevel, "moduleIface"); - connect (modIface, TQT_SIGNAL(helpClicked()), toplevel, TQT_SLOT(slotHelpRequest())); - connect (modIface, TQT_SIGNAL(handbookClicked()), toplevel, TQT_SLOT(slotHandbookRequest())); + connect (modIface, TQ_SIGNAL(helpClicked()), toplevel, TQ_SLOT(slotHelpRequest())); + connect (modIface, TQ_SIGNAL(handbookClicked()), toplevel, TQ_SLOT(slotHandbookRequest())); TQRect desk = TDEGlobalSettings::desktopGeometry(toplevel); TDEConfig *config = TDEGlobal::config(); diff --git a/kcontrol/kcontrol/moduleiconview.cpp b/kcontrol/kcontrol/moduleiconview.cpp index 45be8a1ac..7c171f676 100644 --- a/kcontrol/kcontrol/moduleiconview.cpp +++ b/kcontrol/kcontrol/moduleiconview.cpp @@ -51,8 +51,8 @@ ModuleIconView::ModuleIconView(ConfigModuleList *list, TQWidget * parent, const // This is intentionally _not_ connected with executed(), since // honoring doubleclick doesn't make any sense here (changed by // large user demand) - connect(this, TQT_SIGNAL(clicked(TQListViewItem*)), - this, TQT_SLOT(slotItemSelected(TQListViewItem*))); + connect(this, TQ_SIGNAL(clicked(TQListViewItem*)), + this, TQ_SLOT(slotItemSelected(TQListViewItem*))); } void ModuleIconView::makeSelected(ConfigModule *m) diff --git a/kcontrol/kcontrol/modulemenu.cpp b/kcontrol/kcontrol/modulemenu.cpp index f203e6b57..2d1af0879 100644 --- a/kcontrol/kcontrol/modulemenu.cpp +++ b/kcontrol/kcontrol/modulemenu.cpp @@ -49,7 +49,7 @@ ModuleMenu::ModuleMenu(ConfigModuleList *list, TQWidget * parent, const char * n fill(this, KCGlobal::baseGroup()); - connect(this, TQT_SIGNAL(activated(int)), this, TQT_SLOT(moduleSelected(int))); + connect(this, TQ_SIGNAL(activated(int)), this, TQ_SLOT(moduleSelected(int))); } void ModuleMenu::fill(TDEPopupMenu *parentMenu, const TQString &parentPath) @@ -65,7 +65,7 @@ void ModuleMenu::fill(TDEPopupMenu *parentMenu, const TQString &parentPath) // create new menu TDEPopupMenu *menu = new TDEPopupMenu(parentMenu); - connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(moduleSelected(int))); + connect(menu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(moduleSelected(int))); // Item names may contain ampersands. To avoid them being converted to // accelators, replace them with two ampersands. diff --git a/kcontrol/kcontrol/modules.cpp b/kcontrol/kcontrol/modules.cpp index e40d62568..c419e0d4e 100644 --- a/kcontrol/kcontrol/modules.cpp +++ b/kcontrol/kcontrol/modules.cpp @@ -75,11 +75,11 @@ ProxyWidget *ConfigModule::module() { _module = new ProxyWidget(modWidget, moduleName(), "", run_as_root); - connect(_module, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(clientChanged(bool))); - connect(_module, TQT_SIGNAL(closed()), this, TQT_SLOT(clientClosed())); - connect(_module, TQT_SIGNAL(handbookRequest()), this, TQT_SIGNAL(handbookRequest())); - connect(_module, TQT_SIGNAL(helpRequest()), this, TQT_SIGNAL(helpRequest())); - connect(_module, TQT_SIGNAL(runAsRoot()), this, TQT_SLOT(runAsRoot())); + connect(_module, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(clientChanged(bool))); + connect(_module, TQ_SIGNAL(closed()), this, TQ_SLOT(clientClosed())); + connect(_module, TQ_SIGNAL(handbookRequest()), this, TQ_SIGNAL(handbookRequest())); + connect(_module, TQ_SIGNAL(helpRequest()), this, TQ_SIGNAL(helpRequest())); + connect(_module, TQ_SIGNAL(runAsRoot()), this, TQ_SLOT(runAsRoot())); return _module; } @@ -157,7 +157,7 @@ void ConfigModule::runAsRoot() _busy->setGeometry(0,0, _module->width(), _module->height()); _busy->show(); _embedStack->raiseWidget(_busy); - connect(_embedWidget, TQT_SIGNAL( windowEmbedded(WId)), TQT_SLOT( embedded())); + connect(_embedWidget, TQ_SIGNAL( windowEmbedded(WId)), TQ_SLOT( embedded())); // prepare the process to run the tdecmshell TQString cmd = service()->exec().stripWhiteSpace(); @@ -198,7 +198,7 @@ void ConfigModule::runAsRoot() *_rootProcess << TQString("%1 --embed %2 --lang %3").arg(cmd).arg(_embedWidget->winId()).arg( TDEGlobal::locale()->language() ); } - connect(_rootProcess, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(rootExited(TDEProcess*))); + connect(_rootProcess, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(rootExited(TDEProcess*))); if ( !_rootProcess->start(TDEProcess::NotifyOnExit) ) { diff --git a/kcontrol/kcontrol/moduletreeview.cpp b/kcontrol/kcontrol/moduletreeview.cpp index 4b25e4be3..a226cbc89 100644 --- a/kcontrol/kcontrol/moduletreeview.cpp +++ b/kcontrol/kcontrol/moduletreeview.cpp @@ -85,8 +85,8 @@ ModuleTreeView::ModuleTreeView(ConfigModuleList *list, TQWidget * parent, const new ModuleTreeWhatsThis( this ); - connect(this, TQT_SIGNAL(clicked(TQListViewItem*)), - this, TQT_SLOT(slotItemSelected(TQListViewItem*))); + connect(this, TQ_SIGNAL(clicked(TQListViewItem*)), + this, TQ_SLOT(slotItemSelected(TQListViewItem*))); } void ModuleTreeView::fill() diff --git a/kcontrol/kcontrol/proxywidget.cpp b/kcontrol/kcontrol/proxywidget.cpp index da8d0173d..05040b3dd 100644 --- a/kcontrol/kcontrol/proxywidget.cpp +++ b/kcontrol/kcontrol/proxywidget.cpp @@ -200,8 +200,8 @@ ProxyWidget::ProxyWidget(TDECModule *client, TQString title, const char *name, view = new ProxyView(client, title, this, run_as_root, "proxyview"); (void) new WhatsThis( this ); - connect(_client, TQT_SIGNAL(changed(bool)), TQT_SLOT(clientChanged(bool))); - connect(_client, TQT_SIGNAL(quickHelpChanged()), TQT_SIGNAL(quickHelpChanged())); + connect(_client, TQ_SIGNAL(changed(bool)), TQ_SLOT(clientChanged(bool))); + connect(_client, TQ_SIGNAL(quickHelpChanged()), TQ_SIGNAL(quickHelpChanged())); _sep = new KSeparator(KSeparator::HLine, this); @@ -225,11 +225,11 @@ ProxyWidget::ProxyWidget(TDECModule *client, TQString title, const char *name, _apply->setEnabled( false ); _reset->setEnabled( false ); - connect(_handbook, TQT_SIGNAL(clicked()), TQT_SLOT(handbookClicked())); - connect(_default, TQT_SIGNAL(clicked()), TQT_SLOT(defaultClicked())); - connect(_apply, TQT_SIGNAL(clicked()), TQT_SLOT(applyClicked())); - connect(_reset, TQT_SIGNAL(clicked()), TQT_SLOT(resetClicked())); - connect(_root, TQT_SIGNAL(clicked()), TQT_SLOT(rootClicked())); + connect(_handbook, TQ_SIGNAL(clicked()), TQ_SLOT(handbookClicked())); + connect(_default, TQ_SIGNAL(clicked()), TQ_SLOT(defaultClicked())); + connect(_apply, TQ_SIGNAL(clicked()), TQ_SLOT(applyClicked())); + connect(_reset, TQ_SIGNAL(clicked()), TQ_SLOT(resetClicked())); + connect(_root, TQ_SIGNAL(clicked()), TQ_SLOT(rootClicked())); TQVBoxLayout *top = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); diff --git a/kcontrol/kcontrol/searchwidget.cpp b/kcontrol/kcontrol/searchwidget.cpp index 0dc0045d5..663a8744c 100644 --- a/kcontrol/kcontrol/searchwidget.cpp +++ b/kcontrol/kcontrol/searchwidget.cpp @@ -87,13 +87,13 @@ SearchWidget::SearchWidget(TQWidget *parent , const char *name) l->addWidget(_resultList); - connect(_keyList, TQT_SIGNAL(highlighted(const TQString&)), - this, TQT_SLOT(slotKeywordSelected(const TQString&))); + connect(_keyList, TQ_SIGNAL(highlighted(const TQString&)), + this, TQ_SLOT(slotKeywordSelected(const TQString&))); - connect(_resultList, TQT_SIGNAL(selected(TQListBoxItem*)), - this, TQT_SLOT(slotModuleSelected(TQListBoxItem *))); - connect(_resultList, TQT_SIGNAL(clicked(TQListBoxItem *)), - this, TQT_SLOT(slotModuleClicked(TQListBoxItem *))); + connect(_resultList, TQ_SIGNAL(selected(TQListBoxItem*)), + this, TQ_SLOT(slotModuleSelected(TQListBoxItem *))); + connect(_resultList, TQ_SIGNAL(clicked(TQListBoxItem *)), + this, TQ_SLOT(slotModuleClicked(TQListBoxItem *))); } void SearchWidget::populateKeywordList(ConfigModuleList *list) diff --git a/kcontrol/kcontrol/toplevel.cpp b/kcontrol/kcontrol/toplevel.cpp index bf7cc6f65..d3b2a3c2f 100644 --- a/kcontrol/kcontrol/toplevel.cpp +++ b/kcontrol/kcontrol/toplevel.cpp @@ -81,8 +81,8 @@ TopLevel::TopLevel(const char* name) _modules->readDesktopEntries(); for ( ConfigModule* m = _modules->first(); m; m = _modules->next() ) { - connect( m, TQT_SIGNAL( handbookRequest() ), this, TQT_SLOT( slotHandbookRequest() ) ); - connect( m, TQT_SIGNAL( helpRequest() ), this, TQT_SLOT( slotHelpRequest() ) ); + connect( m, TQ_SIGNAL( handbookRequest() ), this, TQ_SLOT( slotHandbookRequest() ) ); + connect( m, TQ_SIGNAL( helpRequest() ), this, TQ_SLOT( slotHelpRequest() ) ); } // create the layout box @@ -109,11 +109,11 @@ TopLevel::TopLevel(const char* name) KLineEdit *searchEdit = new KLineEdit( mSearchFrame ); clearButton->setFixedHeight( searchEdit->height() ); - connect( clearButton, TQT_SIGNAL( clicked() ), searchEdit, TQT_SLOT( clear() ) ); + connect( clearButton, TQ_SIGNAL( clicked() ), searchEdit, TQ_SLOT( clear() ) ); label->setBuddy( searchEdit ); searchLayout->addWidget( searchEdit ); - connect( searchEdit, TQT_SIGNAL( textChanged( const TQString & ) ), - TQT_SLOT( slotSearchChanged(const TQString &) ) ); + connect( searchEdit, TQ_SIGNAL( textChanged( const TQString & ) ), + TQ_SLOT( slotSearchChanged(const TQString &) ) ); // create the left hand side under search _stack = new TQWidgetStack( leftFrame ); @@ -121,18 +121,18 @@ TopLevel::TopLevel(const char* name) // index tab _index = new IndexWidget(_modules, this); - connect(_index, TQT_SIGNAL(moduleActivated(ConfigModule*)), - this, TQT_SLOT(activateModule(ConfigModule*))); + connect(_index, TQ_SIGNAL(moduleActivated(ConfigModule*)), + this, TQ_SLOT(activateModule(ConfigModule*))); _stack->addWidget( _index ); - connect(_index, TQT_SIGNAL(categorySelected(TQListViewItem*)), - this, TQT_SLOT(categorySelected(TQListViewItem*))); + connect(_index, TQ_SIGNAL(categorySelected(TQListViewItem*)), + this, TQ_SLOT(categorySelected(TQListViewItem*))); // search tab _search = new SearchWidget(this); _search->populateKeywordList(_modules); - connect(_search, TQT_SIGNAL(moduleSelected(ConfigModule *)), - this, TQT_SLOT(activateModule(ConfigModule *))); + connect(_search, TQ_SIGNAL(moduleSelected(ConfigModule *)), + this, TQ_SLOT(activateModule(ConfigModule *))); _stack->addWidget( _search ); @@ -153,10 +153,10 @@ TopLevel::TopLevel(const char* name) // That one does the trick ... _splitter->setResizeMode( leftFrame, TQSplitter::KeepSize ); - connect(_dock, TQT_SIGNAL(newModule(const TQString&, const TQString&, const TQString&)), - this, TQT_SLOT(newModule(const TQString&, const TQString&, const TQString&))); - connect(_dock, TQT_SIGNAL(changedModule(ConfigModule*)), - TQT_SLOT(changedModule(ConfigModule*))); + connect(_dock, TQ_SIGNAL(newModule(const TQString&, const TQString&, const TQString&)), + this, TQ_SLOT(newModule(const TQString&, const TQString&, const TQString&))); + connect(_dock, TQ_SIGNAL(changedModule(ConfigModule*)), + TQ_SLOT(changedModule(ConfigModule*))); // set the main view setCentralWidget( _splitter ); @@ -178,8 +178,8 @@ TopLevel::TopLevel(const char* name) if (KCGlobal::isInfoCenter()) { AboutWidget *aw = new AboutWidget( this, 0, _index->firstTreeViewItem()); - connect( aw, TQT_SIGNAL( moduleSelected( ConfigModule * ) ), - TQT_SLOT( activateModule( ConfigModule * ) ) ); + connect( aw, TQ_SIGNAL( moduleSelected( ConfigModule * ) ), + TQ_SLOT( activateModule( ConfigModule * ) ) ); _dock->setBaseWidget( aw ); KWin::setIcons( winId(), TDEGlobal::iconLoader()->loadIcon("hwinfo", TDEIcon::NoGroup, 32 ), @@ -188,8 +188,8 @@ TopLevel::TopLevel(const char* name) else { AboutWidget *aw = new AboutWidget(this); - connect( aw, TQT_SIGNAL( moduleSelected( ConfigModule * ) ), - TQT_SLOT( activateModule( ConfigModule * ) ) ); + connect( aw, TQ_SIGNAL( moduleSelected( ConfigModule * ) ), + TQ_SLOT( activateModule( ConfigModule * ) ) ); _dock->setBaseWidget(aw); } } @@ -234,40 +234,40 @@ bool TopLevel::queryClose() void TopLevel::setupActions() { - KStdAction::quit(this, TQT_SLOT(close()), actionCollection()); - KStdAction::keyBindings(guiFactory(), TQT_SLOT(configureShortcuts()), + KStdAction::quit(this, TQ_SLOT(close()), actionCollection()); + KStdAction::keyBindings(guiFactory(), TQ_SLOT(configureShortcuts()), actionCollection()); icon_view = new TDERadioAction - (i18n("&Icon View"), 0, this, TQT_SLOT(activateIconView()), + (i18n("&Icon View"), 0, this, TQ_SLOT(activateIconView()), actionCollection(), "activate_iconview"); icon_view->setExclusiveGroup( "viewmode" ); tree_view = new TDERadioAction - (i18n("&Tree View"), 0, this, TQT_SLOT(activateTreeView()), + (i18n("&Tree View"), 0, this, TQ_SLOT(activateTreeView()), actionCollection(), "activate_treeview"); tree_view->setExclusiveGroup( "viewmode" ); icon_small = new TDERadioAction - (i18n("&Small"), 0, this, TQT_SLOT(activateSmallIcons()), + (i18n("&Small"), 0, this, TQ_SLOT(activateSmallIcons()), actionCollection(), "activate_smallicons"); icon_small->setExclusiveGroup( "iconsize" ); icon_medium = new TDERadioAction - (i18n("&Medium"), 0, this, TQT_SLOT(activateMediumIcons()), + (i18n("&Medium"), 0, this, TQ_SLOT(activateMediumIcons()), actionCollection(), "activate_mediumicons"); icon_medium->setExclusiveGroup( "iconsize" ); icon_large = new TDERadioAction - (i18n("&Large"), 0, this, TQT_SLOT(activateLargeIcons()), + (i18n("&Large"), 0, this, TQ_SLOT(activateLargeIcons()), actionCollection(), "activate_largeicons"); icon_large->setExclusiveGroup( "iconsize" ); icon_huge = new TDERadioAction - (i18n("&Huge"), 0, this, TQT_SLOT(activateHugeIcons()), + (i18n("&Huge"), 0, this, TQ_SLOT(activateHugeIcons()), actionCollection(), "activate_hugeicons"); icon_huge->setExclusiveGroup( "iconsize" ); - about_module = new TDEAction(i18n("About Current Module"), 0, this, TQT_SLOT(aboutModule()), actionCollection(), "help_about_module"); + about_module = new TDEAction(i18n("About Current Module"), 0, this, TQ_SLOT(aboutModule()), actionCollection(), "help_about_module"); about_module->setEnabled(false); createGUI("kcontrolui.rc"); @@ -275,7 +275,7 @@ actionCollection()); report_bug = actionCollection()->action("help_report_bug"); report_bug->setText(i18n("&Report Bug...")); report_bug->disconnect(); - connect(report_bug, TQT_SIGNAL(activated()), TQT_SLOT(reportBug())); + connect(report_bug, TQ_SIGNAL(activated()), TQ_SLOT(reportBug())); } void TopLevel::activateIconView() @@ -399,8 +399,8 @@ void TopLevel::categorySelected(TQListViewItem *category) else { AboutWidget *aw = new AboutWidget( this, 0, firstItem, caption ); - connect( aw, TQT_SIGNAL( moduleSelected( ConfigModule * ) ), - TQT_SLOT( activateModule( ConfigModule * ) ) ); + connect( aw, TQ_SIGNAL( moduleSelected( ConfigModule * ) ), + TQ_SLOT( activateModule( ConfigModule * ) ) ); _dock->setBaseWidget( aw ); } } @@ -495,7 +495,7 @@ void TopLevel::reportBug() } KBugReport *br = new KBugReport(this, false, dummyAbout); if (deleteit) - connect(br, TQT_SIGNAL(finished()), TQT_SLOT(deleteDummyAbout())); + connect(br, TQ_SIGNAL(finished()), TQ_SLOT(deleteDummyAbout())); else dummyAbout = 0; br->show(); diff --git a/kcontrol/kded/kcmkded.cpp b/kcontrol/kded/kcmkded.cpp index a560183eb..bbae08ad6 100644 --- a/kcontrol/kded/kcmkded.cpp +++ b/kcontrol/kded/kcmkded.cpp @@ -103,9 +103,9 @@ KDEDConfig::KDEDConfig(TQWidget* parent, const char* name, const TQStringList &) _pbStart->setEnabled( false ); _pbStop->setEnabled( false ); - connect(_pbStart, TQT_SIGNAL(clicked()), TQT_SLOT(slotStartService())); - connect(_pbStop, TQT_SIGNAL(clicked()), TQT_SLOT(slotStopService())); - connect(_lvStartup, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotEvalItem(TQListViewItem*)) ); + connect(_pbStart, TQ_SIGNAL(clicked()), TQ_SLOT(slotStartService())); + connect(_pbStop, TQ_SIGNAL(clicked()), TQ_SLOT(slotStopService())); + connect(_lvStartup, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(slotEvalItem(TQListViewItem*)) ); load(); } @@ -161,7 +161,7 @@ void KDEDConfig::load( bool useDefaults ) { if ( file.readBoolEntry("X-TDE-Kded-autoload") ) { clitem = new CheckListItem(_lvStartup, TQString::null); - connect(clitem, TQT_SIGNAL(changed(TQCheckListItem*)), TQT_SLOT(slotItemChecked(TQCheckListItem*))); + connect(clitem, TQ_SIGNAL(changed(TQCheckListItem*)), TQ_SLOT(slotItemChecked(TQCheckListItem*))); clitem->setOn(autoloadEnabled(&kdedrc, *it)); item = clitem; item->setText(1, file.readName()); @@ -212,7 +212,7 @@ void KDEDConfig::save() { kdedrc.sync(); DCOPRef( "kded", "kded" ).call( "reconfigure" ); - TQTimer::singleShot(0, this, TQT_SLOT(slotServiceRunningToggled())); + TQTimer::singleShot(0, this, TQ_SLOT(slotServiceRunningToggled())); } diff --git a/kcontrol/keys/commandShortcuts.cpp b/kcontrol/keys/commandShortcuts.cpp index 4ae379a50..31e1b0500 100644 --- a/kcontrol/keys/commandShortcuts.cpp +++ b/kcontrol/keys/commandShortcuts.cpp @@ -84,8 +84,8 @@ void CommandShortcutsModule::initGUI() "To edit, add or remove entries from this list use the " "<a href=\"launchMenuEditor\">TDE menu editor</a>.</qt>")); label->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Minimum); - disconnect(label, TQT_SIGNAL(linkClicked(const TQString &)), label, TQT_SLOT(openLink(const TQString &))); - connect(label, TQT_SIGNAL(linkClicked(const TQString &)), this, TQT_SLOT(launchMenuEditor())); + disconnect(label, TQ_SIGNAL(linkClicked(const TQString &)), label, TQ_SLOT(openLink(const TQString &))); + connect(label, TQ_SIGNAL(linkClicked(const TQString &)), this, TQ_SLOT(launchMenuEditor())); mainLayout->addWidget(label); m_tree = new AppTreeView(this, "appTreeView"); @@ -97,10 +97,10 @@ void CommandShortcutsModule::initGUI() "currently defined on this system. Click to select a command to " "assign a keyboard shortcut to. Complete management of these " "entries can be done via the menu editor program.")); - connect(m_tree, TQT_SIGNAL(entrySelected(const TQString&, const TQString &, bool)), - this, TQT_SLOT(commandSelected(const TQString&, const TQString &, bool))); - connect(m_tree, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), - this, TQT_SLOT(commandDoubleClicked(TQListViewItem *, const TQPoint &, int))); + connect(m_tree, TQ_SIGNAL(entrySelected(const TQString&, const TQString &, bool)), + this, TQ_SLOT(commandSelected(const TQString&, const TQString &, bool))); + connect(m_tree, TQ_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), + this, TQ_SLOT(commandDoubleClicked(TQListViewItem *, const TQPoint &, int))); m_shortcutBox = new TQButtonGroup(i18n("Shortcut for Selected Command"), this); mainLayout->addWidget(m_shortcutBox); TQHBoxLayout* buttonLayout = new TQHBoxLayout(m_shortcutBox, KDialog::marginHint() * 2); @@ -121,10 +121,10 @@ void CommandShortcutsModule::initGUI() "to the currently selected command.")); buttonLayout->addSpacing(KDialog::spacingHint() * 2); buttonLayout->addWidget(m_shortcutButton); - connect(m_shortcutButton, TQT_SIGNAL(capturedShortcut(const TDEShortcut&)), - this, TQT_SLOT(shortcutChanged(const TDEShortcut&))); - connect(m_customRadio, TQT_SIGNAL(toggled(bool)), m_shortcutButton, TQT_SLOT(setEnabled(bool))); - connect(m_noneRadio, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(shortcutRadioToggled(bool))); + connect(m_shortcutButton, TQ_SIGNAL(capturedShortcut(const TDEShortcut&)), + this, TQ_SLOT(shortcutChanged(const TDEShortcut&))); + connect(m_customRadio, TQ_SIGNAL(toggled(bool)), m_shortcutButton, TQ_SLOT(setEnabled(bool))); + connect(m_noneRadio, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(shortcutRadioToggled(bool))); buttonLayout->addStretch(1); } diff --git a/kcontrol/keys/keyconfig.cpp b/kcontrol/keys/keyconfig.cpp index ee39447a1..90fa59f82 100644 --- a/kcontrol/keys/keyconfig.cpp +++ b/kcontrol/keys/keyconfig.cpp @@ -112,8 +112,8 @@ void KKeyModule::init( bool isGlobal, bool _bSeriesOnly, bool bSeriesNone ) //readSchemeNames(); sList->setCurrentItem( 0 ); - connect( sList, TQT_SIGNAL( highlighted( int ) ), - TQT_SLOT( slotPreviewScheme( int ) ) ); + connect( sList, TQ_SIGNAL( highlighted( int ) ), + TQ_SLOT( slotPreviewScheme( int ) ) ); TQLabel *label = new TQLabel( sList, i18n("&Key Scheme"), this ); @@ -124,12 +124,12 @@ void KKeyModule::init( bool isGlobal, bool _bSeriesOnly, bool bSeriesNone ) TQWhatsThis::add( sList, wtstr ); addBt = new TQPushButton( i18n("&Save Scheme..."), this ); - connect( addBt, TQT_SIGNAL( clicked() ), TQT_SLOT( slotAdd() ) ); + connect( addBt, TQ_SIGNAL( clicked() ), TQ_SLOT( slotAdd() ) ); TQWhatsThis::add(addBt, i18n("Click here to add a new key bindings scheme. You will be prompted for a name.")); removeBt = new TQPushButton( i18n("&Remove Scheme"), this ); removeBt->setEnabled(FALSE); - connect( removeBt, TQT_SIGNAL( clicked() ), TQT_SLOT( slotRemove() ) ); + connect( removeBt, TQ_SIGNAL( clicked() ), TQ_SLOT( slotRemove() ) ); TQWhatsThis::add( removeBt, i18n("Click here to remove the selected key bindings scheme. You can not" " remove the standard system wide schemes, 'Current scheme' and 'TDE default'.") ); @@ -143,7 +143,7 @@ void KKeyModule::init( bool isGlobal, bool _bSeriesOnly, bool bSeriesNone ) if( !KKeySequence::keyboardHasMetaKey() ) preferMetaBt->setEnabled( false ); preferMetaBt->setChecked( KKeySequence::useFourModifierKeys() ); - connect( preferMetaBt, TQT_SIGNAL(clicked()), TQT_SLOT(slotPreferMeta()) ); + connect( preferMetaBt, TQ_SIGNAL(clicked()), TQ_SLOT(slotPreferMeta()) ); TQWhatsThis::add( preferMetaBt, i18n("If your keyboard has a Meta key, but you would " "like TDE to prefer the 3-modifier configuration defaults, then this option " "should be unchecked.") ); @@ -153,7 +153,7 @@ void KKeyModule::init( bool isGlobal, bool _bSeriesOnly, bool bSeriesNone ) KSeparator* line = new KSeparator( KSeparator::HLine, this ); kc = new KeyChooserSpec( actions, this, isGlobal ); - connect( kc, TQT_SIGNAL(keyChange()), this, TQT_SLOT(slotKeyChange()) ); + connect( kc, TQ_SIGNAL(keyChange()), this, TQ_SLOT(slotKeyChange()) ); readScheme(); @@ -356,8 +356,8 @@ void KKeyModule::readScheme( int index ) } while ( nameValid == FALSE ); - disconnect( sList, TQT_SIGNAL( highlighted( int ) ), this, - TQT_SLOT( slotPreviewScheme( int ) ) ); + disconnect( sList, TQ_SIGNAL( highlighted( int ) ), this, + TQ_SLOT( slotPreviewScheme( int ) ) ); TQString kksPath = TDEGlobal::dirs()->saveLocation("data", "kcmkeys/"); @@ -403,8 +403,8 @@ void KKeyModule::readScheme( int index ) slotSave(); - connect( sList, TQT_SIGNAL( highlighted( int ) ), this, - TQT_SLOT( slotPreviewScheme( int ) ) ); + connect( sList, TQ_SIGNAL( highlighted( int ) ), this, + TQ_SLOT( slotPreviewScheme( int ) ) ); slotPreviewScheme( sList->currentItem() ); }*/ diff --git a/kcontrol/keys/main.cpp b/kcontrol/keys/main.cpp index eccc5210a..de0cc2dbc 100644 --- a/kcontrol/keys/main.cpp +++ b/kcontrol/keys/main.cpp @@ -75,16 +75,16 @@ void KeyModule::initGUI() m_pShortcuts = new ShortcutsModule( this ); m_pTab->addTab( m_pShortcuts, i18n("Shortcut Schemes") ); - connect( m_pShortcuts, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)) ); + connect( m_pShortcuts, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool)) ); m_pCommandShortcuts = new CommandShortcutsModule ( this ); m_pTab->addTab( m_pCommandShortcuts, i18n("Command Shortcuts") ); - connect( m_pCommandShortcuts, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)) ); - connect( m_pTab, TQT_SIGNAL(currentChanged(TQWidget*)), m_pCommandShortcuts, TQT_SLOT(showing(TQWidget*)) ); + connect( m_pCommandShortcuts, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool)) ); + connect( m_pTab, TQ_SIGNAL(currentChanged(TQWidget*)), m_pCommandShortcuts, TQ_SLOT(showing(TQWidget*)) ); m_pModifiers = new ModifiersModule( this ); m_pTab->addTab( m_pModifiers, i18n("Modifier Keys") ); - connect( m_pModifiers, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)) ); + connect( m_pModifiers, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool)) ); } void KeyModule::load() diff --git a/kcontrol/keys/modifiers.cpp b/kcontrol/keys/modifiers.cpp index 349bd492d..bc182f944 100644 --- a/kcontrol/keys/modifiers.cpp +++ b/kcontrol/keys/modifiers.cpp @@ -207,7 +207,7 @@ void ModifiersModule::initGUI() m_pchkMacKeyboard = new TQCheckBox( i18n("Macintosh keyboard"), this ); m_pchkMacKeyboard->setChecked( m_bMacKeyboardOrig ); - connect( m_pchkMacKeyboard, TQT_SIGNAL(clicked()), TQT_SLOT(slotMacKeyboardClicked()) ); + connect( m_pchkMacKeyboard, TQ_SIGNAL(clicked()), TQ_SLOT(slotMacKeyboardClicked()) ); pLayoutTop->addWidget( m_pchkMacKeyboard, 1, 0 ); m_pchkMacSwap = new TQCheckBox( i18n("MacOS-style modifier usage"), this ); @@ -220,7 +220,7 @@ void ModifiersModule::initGUI() "<b>Command</b> will be used for application and console commands, " "<b>Option</b> as a command modifier and for navigating menus and dialogs, " "and <b>Control</b> for window manager commands.") ); - connect( m_pchkMacSwap, TQT_SIGNAL(clicked()), TQT_SLOT(slotMacSwapClicked()) ); + connect( m_pchkMacSwap, TQ_SIGNAL(clicked()), TQ_SLOT(slotMacSwapClicked()) ); pLayoutTop->addWidget( m_pchkMacSwap, 2, 0 ); //------------------ diff --git a/kcontrol/keys/shortcuts.cpp b/kcontrol/keys/shortcuts.cpp index e7f599dda..18f6803ab 100644 --- a/kcontrol/keys/shortcuts.cpp +++ b/kcontrol/keys/shortcuts.cpp @@ -139,21 +139,21 @@ void ShortcutsModule::initGUI() pGroup->hide(); m_prbPre = new TQRadioButton( "", this ); - connect( m_prbPre, TQT_SIGNAL(clicked()), TQT_SLOT(slotSchemeCur()) ); + connect( m_prbPre, TQ_SIGNAL(clicked()), TQ_SLOT(slotSchemeCur()) ); pGroup->insert( m_prbPre ); pHLayout->addWidget( m_prbPre ); m_pcbSchemes = new KComboBox( this ); m_pcbSchemes->setMinimumWidth( 100 ); m_pcbSchemes->setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed ); - connect( m_pcbSchemes, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSelectScheme(int)) ); + connect( m_pcbSchemes, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSelectScheme(int)) ); pHLayout->addWidget( m_pcbSchemes ); pHLayout->addSpacing( KDialog::marginHint() ); m_pbtnRemove = new TQPushButton( i18n("&Remove"), this ); m_pbtnRemove->setEnabled( false ); - connect( m_pbtnRemove, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveScheme()) ); + connect( m_pbtnRemove, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemoveScheme()) ); TQWhatsThis::add( m_pbtnRemove, i18n("Click here to remove the selected key bindings scheme. You cannot" " remove the standard system-wide schemes 'Current scheme' and 'TDE default'.") ); pHLayout->addWidget( m_pbtnRemove ); @@ -168,7 +168,7 @@ void ShortcutsModule::initGUI() m_pbtnSave = new TQPushButton( i18n("&Save..."), this ); m_pbtnSave->setEnabled( false ); TQWhatsThis::add( m_pbtnSave, i18n("Click here to add a new key bindings scheme. You will be prompted for a name.") ); - connect( m_pbtnSave, TQT_SIGNAL(clicked()), TQT_SLOT(slotSaveSchemeAs()) ); + connect( m_pbtnSave, TQ_SIGNAL(clicked()), TQ_SLOT(slotSaveSchemeAs()) ); pHLayout->addWidget( m_pbtnSave ); pHLayout->addStretch( 1 ); @@ -196,20 +196,20 @@ void ShortcutsModule::initGUI() m_useRmWinKeys->resize( m_useRmWinKeys->sizeHint() ); m_useRmWinKeys->setChecked( m_bUseRmWinKeys ); pVLayout->addWidget( m_useRmWinKeys, 1, 0 ); - connect( m_useRmWinKeys, TQT_SIGNAL(clicked()), TQT_SLOT(slotUseRmWinKeysClicked()) ); + connect( m_useRmWinKeys, TQ_SIGNAL(clicked()), TQ_SLOT(slotUseRmWinKeysClicked()) ); } m_pTab->addTab( m_pkcGeneral, i18n("&Global Shortcuts") ); - connect( m_pkcGeneral, TQT_SIGNAL(keyChange()), TQT_SLOT(slotKeyChange()) ); + connect( m_pkcGeneral, TQ_SIGNAL(keyChange()), TQ_SLOT(slotKeyChange()) ); m_pListSequence = new TDEAccelShortcutList( m_actionsSequence, true ); m_pkcSequence = new KKeyChooser( m_pListSequence, this, KKeyChooser::Global, false ); m_pTab->addTab( m_pkcSequence, i18n("Shortcut Se&quences") ); - connect( m_pkcSequence, TQT_SIGNAL(keyChange()), TQT_SLOT(slotKeyChange()) ); + connect( m_pkcSequence, TQ_SIGNAL(keyChange()), TQ_SLOT(slotKeyChange()) ); m_pListApplication = new TDEStdAccel::ShortcutList; m_pkcApplication = new KKeyChooser( m_pListApplication, this, KKeyChooser::Standard, false ); m_pTab->addTab( m_pkcApplication, i18n("App&lication Shortcuts") ); - connect( m_pkcApplication, TQT_SIGNAL(keyChange()), TQT_SLOT(slotKeyChange()) ); + connect( m_pkcApplication, TQ_SIGNAL(keyChange()), TQ_SLOT(slotKeyChange()) ); kdDebug(125) << "G-----------" << endl; readSchemeNames(); @@ -404,7 +404,7 @@ void ShortcutsModule::slotSaveSchemeAs() return; } while( !bNameValid ); - disconnect( m_pcbSchemes, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSelectScheme(int)) ); + disconnect( m_pcbSchemes, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSelectScheme(int)) ); TQString kksPath = TDEGlobal::dirs()->saveLocation( "data", "kcmkeys/" ); @@ -434,7 +434,7 @@ void ShortcutsModule::slotSaveSchemeAs() saveScheme(); - connect( m_pcbSchemes, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSelectScheme(int)) ); + connect( m_pcbSchemes, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSelectScheme(int)) ); slotSelectScheme(); } diff --git a/kcontrol/keys/treeview.cpp b/kcontrol/keys/treeview.cpp index 06d01e317..31879e2f2 100644 --- a/kcontrol/keys/treeview.cpp +++ b/kcontrol/keys/treeview.cpp @@ -109,11 +109,11 @@ AppTreeView::AppTreeView( TQWidget *parent, const char *name ) addColumn(i18n("Shortcut")); addColumn(i18n("Alternate")); - connect(this, TQT_SIGNAL(clicked( TQListViewItem* )), - TQT_SLOT(itemSelected( TQListViewItem* ))); + connect(this, TQ_SIGNAL(clicked( TQListViewItem* )), + TQ_SLOT(itemSelected( TQListViewItem* ))); - connect(this,TQT_SIGNAL(selectionChanged ( TQListViewItem * )), - TQT_SLOT(itemSelected( TQListViewItem* ))); + connect(this,TQ_SIGNAL(selectionChanged ( TQListViewItem * )), + TQ_SLOT(itemSelected( TQListViewItem* ))); } AppTreeView::~AppTreeView() diff --git a/kcontrol/kicker/advancedDialog.cpp b/kcontrol/kicker/advancedDialog.cpp index f2ba15680..dadb70f39 100644 --- a/kcontrol/kicker/advancedDialog.cpp +++ b/kcontrol/kicker/advancedDialog.cpp @@ -40,10 +40,10 @@ advancedDialog::advancedDialog(TQWidget* parent, const char* name) name, false, false) { - connect(this, TQT_SIGNAL(applyClicked()), - this, TQT_SLOT(save())); - connect(this, TQT_SIGNAL(okClicked()), - this, TQT_SLOT(save())); + connect(this, TQ_SIGNAL(applyClicked()), + this, TQ_SLOT(save())); + connect(this, TQ_SIGNAL(okClicked()), + this, TQ_SLOT(save())); TQFrame* page = plainPage(); TQVBoxLayout* layout = new TQVBoxLayout(page); @@ -53,22 +53,22 @@ advancedDialog::advancedDialog(TQWidget* parent, const char* name) setMinimumSize( sizeHint() ); - connect(m_advancedWidget->handles, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(changed())); - connect(m_advancedWidget->hideButtonSize, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(changed())); - connect(m_advancedWidget->tintColorB, TQT_SIGNAL(clicked()), - this, TQT_SLOT(changed())); - connect(m_advancedWidget->tintSlider, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(changed())); - connect(m_advancedWidget->menubarPanelTransparent, TQT_SIGNAL(clicked()), - this, TQT_SLOT(changed())); - connect(m_advancedWidget->menubarPanelBlurred, TQT_SIGNAL(clicked()), - this, TQT_SLOT(changed())); - connect(m_advancedWidget->kickerResizeHandle, TQT_SIGNAL(clicked()), - this, TQT_SLOT(changed())); - connect(m_advancedWidget->kickerDeepButtons, TQT_SIGNAL(clicked()), - this, TQT_SLOT(changed())); + connect(m_advancedWidget->handles, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(changed())); + connect(m_advancedWidget->hideButtonSize, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(changed())); + connect(m_advancedWidget->tintColorB, TQ_SIGNAL(clicked()), + this, TQ_SLOT(changed())); + connect(m_advancedWidget->tintSlider, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(changed())); + connect(m_advancedWidget->menubarPanelTransparent, TQ_SIGNAL(clicked()), + this, TQ_SLOT(changed())); + connect(m_advancedWidget->menubarPanelBlurred, TQ_SIGNAL(clicked()), + this, TQ_SLOT(changed())); + connect(m_advancedWidget->kickerResizeHandle, TQ_SIGNAL(clicked()), + this, TQ_SLOT(changed())); + connect(m_advancedWidget->kickerDeepButtons, TQ_SIGNAL(clicked()), + this, TQ_SLOT(changed())); load(); } diff --git a/kcontrol/kicker/applettab_impl.cpp b/kcontrol/kicker/applettab_impl.cpp index c2f488550..7c5436b52 100644 --- a/kcontrol/kicker/applettab_impl.cpp +++ b/kcontrol/kicker/applettab_impl.cpp @@ -42,16 +42,16 @@ AppletTab::AppletTab( TQWidget *parent, const char* name ) : AppletTabBase (parent, name) { - connect(level_group, TQT_SIGNAL(clicked(int)), TQT_SLOT(level_changed(int))); + connect(level_group, TQ_SIGNAL(clicked(int)), TQ_SLOT(level_changed(int))); - connect(lb_trusted, TQT_SIGNAL(selectionChanged(TQListViewItem*)), - TQT_SLOT(trusted_selection_changed(TQListViewItem*))); + connect(lb_trusted, TQ_SIGNAL(selectionChanged(TQListViewItem*)), + TQ_SLOT(trusted_selection_changed(TQListViewItem*))); - connect(pb_add, TQT_SIGNAL(clicked()), TQT_SLOT(add_clicked())); - connect(pb_remove, TQT_SIGNAL(clicked()), TQT_SLOT(remove_clicked())); + connect(pb_add, TQ_SIGNAL(clicked()), TQ_SLOT(add_clicked())); + connect(pb_remove, TQ_SIGNAL(clicked()), TQ_SLOT(remove_clicked())); - connect(lb_available, TQT_SIGNAL(selectionChanged(TQListViewItem*)), - TQT_SLOT(available_selection_changed(TQListViewItem*))); + connect(lb_available, TQ_SIGNAL(selectionChanged(TQListViewItem*)), + TQ_SLOT(available_selection_changed(TQListViewItem*))); pb_add->setEnabled(false); pb_remove->setEnabled(false); diff --git a/kcontrol/kicker/hidingconfig.cpp b/kcontrol/kicker/hidingconfig.cpp index 506eebdfb..d94f18bfa 100644 --- a/kcontrol/kicker/hidingconfig.cpp +++ b/kcontrol/kicker/hidingconfig.cpp @@ -41,13 +41,13 @@ HidingConfig::HidingConfig(TQWidget *parent, const char *name) //addConfig(KickerSettings::self(), m_widget); - connect(m_widget, TQT_SIGNAL(changed()), - this, TQT_SLOT(changed())); - connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()), - this, TQT_SLOT(aboutToNotifyKicker())); + connect(m_widget, TQ_SIGNAL(changed()), + this, TQ_SLOT(changed())); + connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()), + this, TQ_SLOT(aboutToNotifyKicker())); load(); - TQTimer::singleShot(0, this, TQT_SLOT(notChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(notChanged())); } void HidingConfig::notChanged() @@ -90,7 +90,7 @@ void HidingConfig::defaults() // TDEConfigDialogManager may queue an changed(false) signal, // so we make sure, that the module is labeled as changed, // while we manage some of the widgets ourselves - TQTimer::singleShot(0, this, TQT_SLOT(changed())); + TQTimer::singleShot(0, this, TQ_SLOT(changed())); } TQString HidingConfig::handbookSection() const diff --git a/kcontrol/kicker/hidingtab_impl.cpp b/kcontrol/kicker/hidingtab_impl.cpp index 8c340bd5d..382c1a84e 100644 --- a/kcontrol/kicker/hidingtab_impl.cpp +++ b/kcontrol/kicker/hidingtab_impl.cpp @@ -38,33 +38,33 @@ HidingTab::HidingTab(TQWidget *parent, const char* name) m_panelInfo(0) { // connections - connect(m_manual,TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_automatic, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_automatic, TQT_SIGNAL(toggled(bool)), TQT_SLOT(backgroundModeClicked())); - connect(m_background, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_background, TQT_SIGNAL(toggled(bool)), TQT_SLOT(backgroundModeClicked())); - connect(m_xineramaHide, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_hideSlider, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed())); - connect(m_delaySpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed())); - connect(m_animateHiding, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_delaySpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed())); - connect(m_autoHideSwitch, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_backgroundRaise, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_backgroundPos, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); - connect(m_lHB, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - connect(m_rHB, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); - - connect(KickerConfig::the(), TQT_SIGNAL(extensionInfoChanged()), - TQT_SLOT(infoUpdated())); - connect(KickerConfig::the(), TQT_SIGNAL(extensionAdded(ExtensionInfo*)), - TQT_SLOT(extensionAdded(ExtensionInfo*))); - connect(KickerConfig::the(), TQT_SIGNAL(extensionRemoved(ExtensionInfo*)), - TQT_SLOT(extensionRemoved(ExtensionInfo*))); + connect(m_manual,TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_automatic, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_automatic, TQ_SIGNAL(toggled(bool)), TQ_SLOT(backgroundModeClicked())); + connect(m_background, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_background, TQ_SIGNAL(toggled(bool)), TQ_SLOT(backgroundModeClicked())); + connect(m_xineramaHide, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_hideSlider, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(m_delaySpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(m_animateHiding, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_delaySpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(m_autoHideSwitch, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_backgroundRaise, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_backgroundPos, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(m_lHB, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + connect(m_rHB, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); + + connect(KickerConfig::the(), TQ_SIGNAL(extensionInfoChanged()), + TQ_SLOT(infoUpdated())); + connect(KickerConfig::the(), TQ_SIGNAL(extensionAdded(ExtensionInfo*)), + TQ_SLOT(extensionAdded(ExtensionInfo*))); + connect(KickerConfig::the(), TQ_SIGNAL(extensionRemoved(ExtensionInfo*)), + TQ_SLOT(extensionRemoved(ExtensionInfo*))); // position tab tells hiding tab about extension selections and vice versa - connect(KickerConfig::the(), TQT_SIGNAL(positionPanelChanged(int)), - TQT_SLOT(switchPanel(int))); - connect(m_panelList, TQT_SIGNAL(activated(int)), - KickerConfig::the(), TQT_SIGNAL(hidingPanelChanged(int))); + connect(KickerConfig::the(), TQ_SIGNAL(positionPanelChanged(int)), + TQ_SLOT(switchPanel(int))); + connect(m_panelList, TQ_SIGNAL(activated(int)), + KickerConfig::the(), TQ_SIGNAL(hidingPanelChanged(int))); } void HidingTab::load() diff --git a/kcontrol/kicker/lookandfeelconfig.cpp b/kcontrol/kicker/lookandfeelconfig.cpp index d7cbadf28..082753cb9 100644 --- a/kcontrol/kicker/lookandfeelconfig.cpp +++ b/kcontrol/kicker/lookandfeelconfig.cpp @@ -41,13 +41,13 @@ LookAndFeelConfig::LookAndFeelConfig(TQWidget *parent, const char *name) addConfig(KickerSettings::self(), m_widget); - connect(m_widget, TQT_SIGNAL(changed()), - this, TQT_SLOT(changed())); - connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()), - this, TQT_SLOT(aboutToNotifyKicker())); + connect(m_widget, TQ_SIGNAL(changed()), + this, TQ_SLOT(changed())); + connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()), + this, TQ_SLOT(aboutToNotifyKicker())); load(); - TQTimer::singleShot(0, this, TQT_SLOT(notChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(notChanged())); } void LookAndFeelConfig::notChanged() @@ -90,7 +90,7 @@ void LookAndFeelConfig::defaults() // TDEConfigDialogManager may queue an changed(false) signal, // so we make sure, that the module is labeled as changed, // while we manage some of the widgets ourselves - TQTimer::singleShot(0, this, TQT_SLOT(changed())); + TQTimer::singleShot(0, this, TQ_SLOT(changed())); } TQString LookAndFeelConfig::handbookSection() const diff --git a/kcontrol/kicker/lookandfeeltab_impl.cpp b/kcontrol/kicker/lookandfeeltab_impl.cpp index 674b1cd04..858cc2cb3 100644 --- a/kcontrol/kicker/lookandfeeltab_impl.cpp +++ b/kcontrol/kicker/lookandfeeltab_impl.cpp @@ -48,21 +48,21 @@ LookAndFeelTab::LookAndFeelTab( TQWidget *parent, const char* name ) : LookAndFeelTabBase(parent, name), m_advDialog(0) { - connect(m_kmenuTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); - connect(m_desktopTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); - connect(m_browserTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); - connect(m_urlTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); - connect(m_windowListTile, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); + connect(m_kmenuTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(m_desktopTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(m_browserTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(m_urlTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(m_windowListTile, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); - connect(m_kmenuTile, TQT_SIGNAL(activated(int)), TQT_SLOT(kmenuTileChanged(int))); - connect(m_desktopTile, TQT_SIGNAL(activated(int)), TQT_SLOT(desktopTileChanged(int))); - connect(m_browserTile, TQT_SIGNAL(activated(int)), TQT_SLOT(browserTileChanged(int))); - connect(m_urlTile, TQT_SIGNAL(activated(int)), TQT_SLOT(urlTileChanged(int))); - connect(m_windowListTile, TQT_SIGNAL(activated(int)), TQT_SLOT(wlTileChanged(int))); + connect(m_kmenuTile, TQ_SIGNAL(activated(int)), TQ_SLOT(kmenuTileChanged(int))); + connect(m_desktopTile, TQ_SIGNAL(activated(int)), TQ_SLOT(desktopTileChanged(int))); + connect(m_browserTile, TQ_SIGNAL(activated(int)), TQ_SLOT(browserTileChanged(int))); + connect(m_urlTile, TQ_SIGNAL(activated(int)), TQ_SLOT(urlTileChanged(int))); + connect(m_windowListTile, TQ_SIGNAL(activated(int)), TQ_SLOT(wlTileChanged(int))); - connect(kcfg_ColorizeBackground, TQT_SIGNAL(toggled(bool)), TQT_SLOT(browseTheme())); + connect(kcfg_ColorizeBackground, TQ_SIGNAL(toggled(bool)), TQ_SLOT(browseTheme())); - connect(kcfg_BackgroundTheme->lineEdit(), TQT_SIGNAL(lostFocus()), TQT_SLOT(browseTheme())); + connect(kcfg_BackgroundTheme->lineEdit(), TQ_SIGNAL(lostFocus()), TQ_SLOT(browseTheme())); kcfg_BackgroundTheme->setFilter(KImageIO::pattern(KImageIO::Reading)); kcfg_BackgroundTheme->setCaption(i18n("Select Image File")); @@ -92,7 +92,7 @@ void LookAndFeelTab::launchAdvancedDialog() if (!m_advDialog) { m_advDialog = new advancedDialog(this, "advancedDialog"); - connect(m_advDialog, TQT_SIGNAL(finished()), this, TQT_SLOT(finishAdvancedDialog())); + connect(m_advDialog, TQ_SIGNAL(finished()), this, TQ_SLOT(finishAdvancedDialog())); m_advDialog->show(); } m_advDialog->setActiveWindow(); diff --git a/kcontrol/kicker/lookandfeeltab_kcm.cpp b/kcontrol/kicker/lookandfeeltab_kcm.cpp index 5695e3869..a703ea966 100644 --- a/kcontrol/kicker/lookandfeeltab_kcm.cpp +++ b/kcontrol/kicker/lookandfeeltab_kcm.cpp @@ -48,7 +48,7 @@ LookAndFeelConfig::LookAndFeelConfig(TQWidget *parent, const char *name) layout->addWidget(lookandfeeltab); layout->addStretch(); - connect(lookandfeeltab, TQT_SIGNAL(changed()), TQT_SLOT(configChanged())); + connect(lookandfeeltab, TQ_SIGNAL(changed()), TQ_SLOT(configChanged())); load(); } diff --git a/kcontrol/kicker/main.cpp b/kcontrol/kicker/main.cpp index da73da7c3..a0e14ba17 100644 --- a/kcontrol/kicker/main.cpp +++ b/kcontrol/kicker/main.cpp @@ -68,10 +68,10 @@ KickerConfig::KickerConfig(TQWidget *parent, const char *name) "jumpToPanel(TQString)", false); kapp->dcopClient()->send("kicker", "kicker", "configLaunched()", TQByteArray()); - connect(this, TQT_SIGNAL(hidingPanelChanged(int)), - this, TQT_SLOT(setCurrentPanelIndex(int))); - connect(this, TQT_SIGNAL(positionPanelChanged(int)), - this, TQT_SLOT(setCurrentPanelIndex(int))); + connect(this, TQ_SIGNAL(hidingPanelChanged(int)), + this, TQ_SLOT(setCurrentPanelIndex(int))); + connect(this, TQ_SIGNAL(positionPanelChanged(int)), + this, TQ_SLOT(setCurrentPanelIndex(int))); } KickerConfig::~KickerConfig() @@ -90,7 +90,7 @@ KickerConfig::~KickerConfig() // this method may get called multiple times during the life of the control panel! void KickerConfig::init() { - disconnect(configFileWatch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(configChanged(const TQString&))); + disconnect(configFileWatch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(configChanged(const TQString&))); configFileWatch->stopScan(); for (ExtensionInfoList::iterator it = m_extensionInfo.begin(); it != m_extensionInfo.end(); @@ -128,7 +128,7 @@ void KickerConfig::init() setupExtensionInfo(*config, true, true); - connect(configFileWatch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(configChanged(const TQString&))); + connect(configFileWatch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(configChanged(const TQString&))); configFileWatch->startScan(); } diff --git a/kcontrol/kicker/menuconfig.cpp b/kcontrol/kicker/menuconfig.cpp index 4f8a68605..6773105c6 100644 --- a/kcontrol/kicker/menuconfig.cpp +++ b/kcontrol/kicker/menuconfig.cpp @@ -41,13 +41,13 @@ MenuConfig::MenuConfig(TQWidget *parent, const char *name) addConfig(KickerSettings::self(), m_widget); - connect(m_widget, TQT_SIGNAL(changed()), - this, TQT_SLOT(changed())); - connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()), - this, TQT_SLOT(aboutToNotifyKicker())); + connect(m_widget, TQ_SIGNAL(changed()), + this, TQ_SLOT(changed())); + connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()), + this, TQ_SLOT(aboutToNotifyKicker())); load(); - TQTimer::singleShot(0, this, TQT_SLOT(notChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(notChanged())); } void MenuConfig::notChanged() @@ -90,7 +90,7 @@ void MenuConfig::defaults() // TDEConfigDialogManager may queue an changed(false) signal, // so we make sure, that the module is labeled as changedm, // while we manage some of the widgets ourselves - TQTimer::singleShot(0, this, TQT_SLOT(changed())); + TQTimer::singleShot(0, this, TQ_SLOT(changed())); } TQString MenuConfig::handbookSection() const diff --git a/kcontrol/kicker/menutab_impl.cpp b/kcontrol/kicker/menutab_impl.cpp index fbd15cd8d..259027a0b 100644 --- a/kcontrol/kicker/menutab_impl.cpp +++ b/kcontrol/kicker/menutab_impl.cpp @@ -79,12 +79,12 @@ MenuTab::MenuTab( TQWidget *parent, const char* name ) m_kmenu_button_changed(false) { // connections - connect(m_editKMenuButton, TQT_SIGNAL(clicked()), TQT_SLOT(launchMenuEditor())); - connect(btnCustomKMenuIcon, TQT_SIGNAL(clicked()), TQT_SLOT(launchIconEditor())); - connect(kcfg_KMenuText, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(kmenuChanged())); - connect(kcfg_ShowKMenuText, TQT_SIGNAL(toggled(bool)), TQT_SLOT(kmenuChanged())); - //connect(kcfg_ButtonFont, TQT_SIGNAL(fontSelected(const TQFont &)), TQT_SLOT(kmenuChanged())); - connect(maxrecentdocs, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(kmenuChanged())); + connect(m_editKMenuButton, TQ_SIGNAL(clicked()), TQ_SLOT(launchMenuEditor())); + connect(btnCustomKMenuIcon, TQ_SIGNAL(clicked()), TQ_SLOT(launchIconEditor())); + connect(kcfg_KMenuText, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(kmenuChanged())); + connect(kcfg_ShowKMenuText, TQ_SIGNAL(toggled(bool)), TQ_SLOT(kmenuChanged())); + //connect(kcfg_ButtonFont, TQ_SIGNAL(fontSelected(const TQFont &)), TQ_SLOT(kmenuChanged())); + connect(maxrecentdocs, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(kmenuChanged())); // FIXME // When top pixmap support is ready for end-user visibility, replace @@ -129,7 +129,7 @@ void MenuTab::load( bool useDefaults ) TQString::null, SmallIcon("bookmark"), c->readBoolEntry("UseBookmarks", false)); - connect(m_bookmarkMenu, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); + connect(m_bookmarkMenu, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); // show the quick menus menu? m_quickBrowserMenu = new kSubMenuItem(m_subMenus, @@ -137,7 +137,7 @@ void MenuTab::load( bool useDefaults ) TQString::null, SmallIcon("kdisknav"), c->readBoolEntry("UseBrowser", false)); - connect(m_quickBrowserMenu, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); + connect(m_quickBrowserMenu, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); TQStringList ext_default; ext_default << "prefmenu.desktop" << "systemmenu.desktop"; @@ -156,7 +156,7 @@ void MenuTab::load( bool useDefaults ) *it, SmallIcon(df.readIcon()), tqFind(ext.begin(), ext.end(), *it) != ext.end()); - connect(menuItem, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed())); + connect(menuItem, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed())); } } @@ -165,16 +165,16 @@ void MenuTab::load( bool useDefaults ) m_openOnHover->setChecked( c->readBoolEntry("OpenOnHover", true) ); menuStyleChanged(); - connect(m_comboMenuStyle, TQT_SIGNAL(activated(int)), TQT_SIGNAL(changed())); - connect(m_comboMenuStyle, TQT_SIGNAL(activated(int)), TQT_SLOT(menuStyleChanged())); - connect(m_openOnHover, TQT_SIGNAL(clicked()), TQT_SIGNAL(changed())); + connect(m_comboMenuStyle, TQ_SIGNAL(activated(int)), TQ_SIGNAL(changed())); + connect(m_comboMenuStyle, TQ_SIGNAL(activated(int)), TQ_SLOT(menuStyleChanged())); + connect(m_openOnHover, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); m_showFrequent->setChecked(true); c->setGroup("KMenu"); m_searchShortcut->setShortcut(TDEShortcut(c->readEntry("SearchShortcut", "/")), false); - connect(m_searchShortcut, TQT_SIGNAL(capturedShortcut(const TDEShortcut&)), TQT_SIGNAL(changed())); - connect(m_searchShortcut, TQT_SIGNAL(capturedShortcut(const TDEShortcut&)), TQT_SLOT(setSearchShortcut(const TDEShortcut&))); + connect(m_searchShortcut, TQ_SIGNAL(capturedShortcut(const TDEShortcut&)), TQ_SIGNAL(changed())); + connect(m_searchShortcut, TQ_SIGNAL(capturedShortcut(const TDEShortcut&)), TQ_SLOT(setSearchShortcut(const TDEShortcut&))); if ( useDefaults ) emit changed(); diff --git a/kcontrol/kicker/positionconfig.cpp b/kcontrol/kicker/positionconfig.cpp index 00b571d13..cd871ae22 100644 --- a/kcontrol/kicker/positionconfig.cpp +++ b/kcontrol/kicker/positionconfig.cpp @@ -41,13 +41,13 @@ PositionConfig::PositionConfig(TQWidget *parent, const char *name) //addConfig(KickerSettings::self(), m_widget); - connect(m_widget, TQT_SIGNAL(changed()), - this, TQT_SLOT(changed())); - connect(KickerConfig::the(), TQT_SIGNAL(aboutToNotifyKicker()), - this, TQT_SLOT(aboutToNotifyKicker())); + connect(m_widget, TQ_SIGNAL(changed()), + this, TQ_SLOT(changed())); + connect(KickerConfig::the(), TQ_SIGNAL(aboutToNotifyKicker()), + this, TQ_SLOT(aboutToNotifyKicker())); load(); - TQTimer::singleShot(0, this, TQT_SLOT(notChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(notChanged())); } void PositionConfig::notChanged() @@ -90,7 +90,7 @@ void PositionConfig::defaults() // TDEConfigDialogManager may queue an changed(false) signal, // so we make sure, that the module is labeled as changed, // while we manage some of the widgets ourselves - TQTimer::singleShot(0, this, TQT_SLOT(changed())); + TQTimer::singleShot(0, this, TQ_SLOT(changed())); } TQString PositionConfig::handbookSection() const diff --git a/kcontrol/kicker/positiontab_impl.cpp b/kcontrol/kicker/positiontab_impl.cpp index 5fdb22983..b8a2d7ea9 100644 --- a/kcontrol/kicker/positiontab_impl.cpp +++ b/kcontrol/kicker/positiontab_impl.cpp @@ -104,10 +104,10 @@ PositionTab::PositionTab(TQWidget *parent, const char* name) } // connections - connect(m_locationGroup, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(changed())); - connect(m_xineramaScreenComboBox, TQT_SIGNAL(highlighted(int)), TQT_SIGNAL(changed())); + connect(m_locationGroup, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed())); + connect(m_xineramaScreenComboBox, TQ_SIGNAL(highlighted(int)), TQ_SIGNAL(changed())); - connect(m_identifyButton,TQT_SIGNAL(clicked()),TQT_SLOT(showIdentify())); + connect(m_identifyButton,TQ_SIGNAL(clicked()),TQ_SLOT(showIdentify())); for(int s=0; s < TQApplication::desktop()->numScreens(); s++) { /* populate the combobox for the available screens */ @@ -123,38 +123,38 @@ PositionTab::PositionTab(TQWidget *parent, const char* name) m_xineramaScreenLabel->hide(); } - connect(m_percentSlider, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed())); - connect(m_percentSpinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed())); - connect(m_expandCheckBox, TQT_SIGNAL(clicked()), TQT_SIGNAL(changed())); + connect(m_percentSlider, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(m_percentSpinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(m_expandCheckBox, TQ_SIGNAL(clicked()), TQ_SIGNAL(changed())); - connect(m_sizeGroup, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(changed())); - connect(m_customSlider, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed())); - connect(m_customSpinbox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed())); + connect(m_sizeGroup, TQ_SIGNAL(clicked(int)), TQ_SIGNAL(changed())); + connect(m_customSlider, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); + connect(m_customSpinbox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed())); m_desktopPreview = new KVirtualBGRenderer(0); - connect(m_desktopPreview, TQT_SIGNAL(imageDone(int)), - TQT_SLOT(slotBGPreviewReady(int))); - - connect(KickerConfig::the(), TQT_SIGNAL(extensionInfoChanged()), - TQT_SLOT(infoUpdated())); - connect(KickerConfig::the(), TQT_SIGNAL(extensionAdded(ExtensionInfo*)), - TQT_SLOT(extensionAdded(ExtensionInfo*))); - connect(KickerConfig::the(), TQT_SIGNAL(extensionRemoved(ExtensionInfo*)), - TQT_SLOT(extensionRemoved(ExtensionInfo*))); - connect(KickerConfig::the(), TQT_SIGNAL(extensionChanged(const TQString&)), - TQT_SLOT(extensionChanged(const TQString&))); - connect(KickerConfig::the(), TQT_SIGNAL(extensionAboutToChange(const TQString&)), - TQT_SLOT(extensionAboutToChange(const TQString&))); + connect(m_desktopPreview, TQ_SIGNAL(imageDone(int)), + TQ_SLOT(slotBGPreviewReady(int))); + + connect(KickerConfig::the(), TQ_SIGNAL(extensionInfoChanged()), + TQ_SLOT(infoUpdated())); + connect(KickerConfig::the(), TQ_SIGNAL(extensionAdded(ExtensionInfo*)), + TQ_SLOT(extensionAdded(ExtensionInfo*))); + connect(KickerConfig::the(), TQ_SIGNAL(extensionRemoved(ExtensionInfo*)), + TQ_SLOT(extensionRemoved(ExtensionInfo*))); + connect(KickerConfig::the(), TQ_SIGNAL(extensionChanged(const TQString&)), + TQ_SLOT(extensionChanged(const TQString&))); + connect(KickerConfig::the(), TQ_SIGNAL(extensionAboutToChange(const TQString&)), + TQ_SLOT(extensionAboutToChange(const TQString&))); // position tab tells hiding tab about extension selections and vice versa - connect(KickerConfig::the(), TQT_SIGNAL(hidingPanelChanged(int)), - TQT_SLOT(jumpToPanel(int))); - connect(m_panelList, TQT_SIGNAL(activated(int)), - KickerConfig::the(), TQT_SIGNAL(positionPanelChanged(int))); - - connect(m_panelSize, TQT_SIGNAL(activated(int)), - TQT_SLOT(sizeChanged(int))); - connect(m_panelSize, TQT_SIGNAL(activated(int)), - TQT_SIGNAL(changed())); + connect(KickerConfig::the(), TQ_SIGNAL(hidingPanelChanged(int)), + TQ_SLOT(jumpToPanel(int))); + connect(m_panelList, TQ_SIGNAL(activated(int)), + KickerConfig::the(), TQ_SIGNAL(positionPanelChanged(int))); + + connect(m_panelSize, TQ_SIGNAL(activated(int)), + TQ_SLOT(sizeChanged(int))); + connect(m_panelSize, TQ_SIGNAL(activated(int)), + TQ_SIGNAL(changed())); } PositionTab::~PositionTab() @@ -700,7 +700,7 @@ void PositionTab::showIdentify() screenLabel->setNum(s + 1); // BUGLET: we should not allow the identification to be entered again // until the timer fires. - TQTimer::singleShot(1500, screenLabel, TQT_SLOT(close())); + TQTimer::singleShot(1500, screenLabel, TQ_SLOT(close())); TQPoint screenCenter(TQApplication::desktop()->screenGeometry(s).center()); TQRect targetGeometry(TQPoint(0,0),screenLabel->sizeHint()); diff --git a/kcontrol/knotify/knotify.cpp b/kcontrol/knotify/knotify.cpp index b703b9b35..6e198659a 100644 --- a/kcontrol/knotify/knotify.cpp +++ b/kcontrol/knotify/knotify.cpp @@ -74,15 +74,15 @@ KCMKNotify::KCMKNotify(TQWidget *parent, const char *name, const TQStringList & hbox->addWidget( m_appCombo, 10 ); m_notifyWidget = new KNotifyWidget( this, "knotify widget", true ); - connect( m_notifyWidget, TQT_SIGNAL( changed( bool )), TQT_SIGNAL( changed(bool))); + connect( m_notifyWidget, TQ_SIGNAL( changed( bool )), TQ_SIGNAL( changed(bool))); layout->addWidget( m_notifyWidget ); - connect( m_appCombo, TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( slotAppActivated( const TQString& )) ); + connect( m_appCombo, TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( slotAppActivated( const TQString& )) ); - connect( m_notifyWidget->m_playerButton, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotPlayerSettings())); + connect( m_notifyWidget->m_playerButton, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotPlayerSettings())); TDEAboutData* ab = new TDEAboutData( "kcmknotify", I18N_NOOP("KNotify"), "3.0", @@ -231,10 +231,10 @@ PlayerSettingsDialog::PlayerSettingsDialog( TQWidget *parent, bool modal ) dataChanged = false; enableButton(Apply, false); - connect( m_ui->cbExternal, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( externalToggled( bool ) ) ); - connect( m_ui->grpPlayers, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotChanged() ) ); - connect( m_ui->volumeSlider, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( slotChanged() ) ); - connect( m_ui->reqExternal, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( slotChanged() ) ); + connect( m_ui->cbExternal, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( externalToggled( bool ) ) ); + connect( m_ui->grpPlayers, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( slotChanged() ) ); + connect( m_ui->volumeSlider, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( slotChanged() ) ); + connect( m_ui->reqExternal, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( slotChanged() ) ); } void PlayerSettingsDialog::load( bool useDefaults ) diff --git a/kcontrol/konq/behaviour.cpp b/kcontrol/konq/behaviour.cpp index 1b477d0e3..55eb642fe 100644 --- a/kcontrol/konq/behaviour.cpp +++ b/kcontrol/konq/behaviour.cpp @@ -66,13 +66,13 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget cbNewWin = new TQCheckBox(i18n("Open folders in separate &windows"), vbox); TQWhatsThis::add( cbNewWin, i18n("If this option is checked, Konqueror will open a new window when " "you open a folder, rather than showing that folder's contents in the current window.")); - connect(cbNewWin, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); - connect(cbNewWin, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateWinPixmap(bool))); + connect(cbNewWin, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); + connect(cbNewWin, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateWinPixmap(bool))); // ---- cbListProgress = new TQCheckBox( i18n( "&Show network operations in a single window" ), vbox ); - connect(cbListProgress, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbListProgress, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); TQWhatsThis::add( cbListProgress, i18n("Checking this option will group the" " progress information for all network file transfers into a single window" @@ -83,7 +83,7 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget // ---- cbShowArchivesAsFolders = new TQCheckBox( i18n( "Show archived &files as folders" ), vbox ); - connect(cbShowArchivesAsFolders, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbShowArchivesAsFolders, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); TQWhatsThis::add( cbShowArchivesAsFolders, i18n("Checking this option will list archived" " files as folders when using tree view.") ); @@ -92,16 +92,16 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget // -- cbShowTips = new TQCheckBox( i18n( "Show file &tips" ), vbox ); - connect(cbShowTips, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbShowTips, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); TQWhatsThis::add( cbShowTips, i18n("Here you can control if, when moving the mouse over a file, you want to see a " "small popup window with additional information about that file." "This feature requires 'Enable tooltips' in KControl, Appearance & Themes, Style.")); - connect(cbShowTips, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotShowTips(bool))); + connect(cbShowTips, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotShowTips(bool))); /* - //connect(cbShowTips, TQT_SIGNAL(toggled(bool)), sbToolTip, TQT_SLOT(setEnabled(bool))); - //connect(cbShowTips, TQT_SIGNAL(toggled(bool)), fileTips, TQT_SLOT(setEnabled(bool))); + //connect(cbShowTips, TQ_SIGNAL(toggled(bool)), sbToolTip, TQ_SLOT(setEnabled(bool))); + //connect(cbShowTips, TQ_SIGNAL(toggled(bool)), fileTips, TQ_SLOT(setEnabled(bool))); fileTips->setBuddy(sbToolTip); TQString tipstr = i18n("If you move the mouse over a file, you usually see a small popup window that shows some " "additional information about that file. Here, you can set how many items of information " @@ -116,7 +116,7 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget spacer->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ); cbShowPreviewsInTips = new TQCheckBox( i18n( "Show &previews in file tips" ), hboxpreview ); - connect(cbShowPreviewsInTips, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbShowPreviewsInTips, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); TQWhatsThis::add( cbShowPreviewsInTips, i18n("Here you can control if you want the " "popup window to contain a larger preview for the file, when moving the mouse over it.")); @@ -124,12 +124,12 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget cbRenameDirectlyIcon = new TQCheckBox(i18n("Rename icons in&line"), vbox); TQWhatsThis::add(cbRenameDirectlyIcon, i18n("Checking this option will allow files to be " "renamed by clicking directly on the icon name. ")); - connect(cbRenameDirectlyIcon, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbRenameDirectlyIcon, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); cbDoubleClickMoveToParent = new TQCheckBox(i18n("Double click on empty area to move to parent folder"), vbox); TQWhatsThis::add(cbDoubleClickMoveToParent, i18n("When this option is enabled, double clicking an " "empty area will navigate to the parent folder.")); - connect(cbDoubleClickMoveToParent, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbDoubleClickMoveToParent, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); TQHBoxLayout *hlay = new TQHBoxLayout( lay ); @@ -140,7 +140,7 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget homeURL->setMode(KFile::Directory); homeURL->setCaption(i18n("Select Home Folder")); hlay->addWidget( homeURL ); - connect(homeURL, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(homeURL, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); label->setBuddy(homeURL); TQString homestr = i18n("This is the URL (e.g. a folder or a web page) where " @@ -153,7 +153,7 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget cbShowDeleteCommand = new TQCheckBox( i18n( "Show 'Delete' context me&nu entries which bypass the trashcan" ), this ); lay->addWidget( cbShowDeleteCommand ); - connect(cbShowDeleteCommand, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbShowDeleteCommand, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); TQWhatsThis::add( cbShowDeleteCommand, i18n("Check this if you want 'Delete' menu commands to be displayed " "on the desktop and in the file manager's context menus. " @@ -169,7 +169,7 @@ KBehaviourOptions::KBehaviourOptions(TDEConfig *config, TQString group, TQWidget " <li><em>Delete:</em> simply deletes the file.</li>" " </li></ul>") ); - connect(bg, TQT_SIGNAL( clicked( int ) ), TQT_SLOT( changed() )); + connect(bg, TQ_SIGNAL( clicked( int ) ), TQ_SLOT( changed() )); cbMoveToTrash = new TQCheckBox( i18n("&Move to trash"), bg ); diff --git a/kcontrol/konq/browser.cpp b/kcontrol/konq/browser.cpp index 49587f2dc..4a8496eac 100644 --- a/kcontrol/konq/browser.cpp +++ b/kcontrol/konq/browser.cpp @@ -57,14 +57,14 @@ KBrowserOptions::KBrowserOptions(TDEConfig *config, TQString group, TQWidget *pa tab->addTab(kuick, i18n("&Quick Copy && Move")); } - connect(appearance, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); - connect(behavior, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); - connect(previews, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); + connect(appearance, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool))); + connect(behavior, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool))); + connect(previews, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool))); if (kuick) - connect(kuick, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); + connect(kuick, TQ_SIGNAL(changed(bool)), this, TQ_SIGNAL(changed(bool))); - connect(tab, TQT_SIGNAL(currentChanged(TQWidget *)), - this, TQT_SIGNAL(quickHelpChanged())); + connect(tab, TQ_SIGNAL(currentChanged(TQWidget *)), + this, TQ_SIGNAL(quickHelpChanged())); m_tab = tab; } diff --git a/kcontrol/konq/desktop.cpp b/kcontrol/konq/desktop.cpp index d7af32f8b..5125a03f1 100644 --- a/kcontrol/konq/desktop.cpp +++ b/kcontrol/konq/desktop.cpp @@ -70,8 +70,8 @@ KDesktopConfig::KDesktopConfig(TQWidget *parent, const char * /*name*/) TQLabel *label = new TQLabel(i18n("N&umber of desktops: "), number_group); _numInput = new KIntNumInput(4, number_group); _numInput->setRange(1, maxDesktops, 1, true); - connect(_numInput, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotValueChanged(int))); - connect(_numInput, TQT_SIGNAL(valueChanged(int)), TQT_SLOT( changed() )); + connect(_numInput, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotValueChanged(int))); + connect(_numInput, TQ_SIGNAL(valueChanged(int)), TQ_SLOT( changed() )); label->setBuddy( _numInput ); TQString wtstr = i18n( "Here you can set how many virtual desktops you want on your TDE desktop. Move the slider to change the value." ); TQWhatsThis::add( label, wtstr ); @@ -99,10 +99,10 @@ KDesktopConfig::KDesktopConfig(TQWidget *parent, const char * /*name*/) TQWhatsThis::add( _nameLabel[i+(maxDesktops/2)], i18n( "Here you can enter the name for desktop %1" ).arg( i+(maxDesktops/2)+1 ) ); TQWhatsThis::add( _nameInput[i+(maxDesktops/2)], i18n( "Here you can enter the name for desktop %1" ).arg( i+(maxDesktops/2)+1 ) ); - connect(_nameInput[i], TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT( changed() )); - connect(_nameInput[i+(maxDesktops/2)], TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT( changed() )); + connect(_nameInput[i], TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT( changed() )); + connect(_nameInput[i+(maxDesktops/2)], TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT( changed() )); } for(int i = 1; i < maxDesktops; i++) @@ -111,7 +111,7 @@ KDesktopConfig::KDesktopConfig(TQWidget *parent, const char * /*name*/) layout->addWidget(name_group); _wheelOption = new TQCheckBox(i18n("Mouse wheel over desktop background switches desktop"), this); - connect(_wheelOption,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(_wheelOption,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); layout->addWidget(_wheelOption); layout->addStretch(1); diff --git a/kcontrol/konq/desktopbehavior_impl.cpp b/kcontrol/konq/desktopbehavior_impl.cpp index 5c5fe2b95..3d149ef39 100644 --- a/kcontrol/konq/desktopbehavior_impl.cpp +++ b/kcontrol/konq/desktopbehavior_impl.cpp @@ -53,7 +53,7 @@ DesktopBehaviorModule::DesktopBehaviorModule(TDEConfig *config, TQWidget *parent TQVBoxLayout* layout = new TQVBoxLayout(this); m_behavior = new DesktopBehavior(config, this); layout->addWidget(m_behavior); - connect(m_behavior, TQT_SIGNAL(changed()), this, TQT_SLOT(changed())); + connect(m_behavior, TQ_SIGNAL(changed()), this, TQ_SLOT(changed())); } void DesktopBehaviorModule::changed() @@ -127,16 +127,16 @@ DesktopBehavior::DesktopBehavior(TDEConfig *config, TQWidget *parent, const char m_bHasMedia = KProtocolInfo::isKnownProtocol(TQString::fromLatin1("media")); - connect(desktopMenuGroup, TQT_SIGNAL(clicked(int)), this, TQT_SIGNAL(changed())); - connect(iconsEnabledBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged())); - connect(showHiddenBox, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(changed())); - connect(vrootBox, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(changed())); - connect(lockInPlaceBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableGridChanged())); - connect(autoLineupIconsBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableGridChanged())); - connect(toolTipBox, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(changed())); - connect(mediaListView, TQT_SIGNAL(clicked(TQListViewItem *)), this, TQT_SLOT(mediaListViewChanged(TQListViewItem *))); - connect(spacingValue, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(spacingChanged(int))); - connect(spacingCtrlScroll, TQT_SIGNAL(clicked()), this, TQT_SIGNAL(changed())); + connect(desktopMenuGroup, TQ_SIGNAL(clicked(int)), this, TQ_SIGNAL(changed())); + connect(iconsEnabledBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableChanged())); + connect(showHiddenBox, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(changed())); + connect(vrootBox, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(changed())); + connect(lockInPlaceBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableGridChanged())); + connect(autoLineupIconsBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableGridChanged())); + connect(toolTipBox, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(changed())); + connect(mediaListView, TQ_SIGNAL(clicked(TQListViewItem *)), this, TQ_SLOT(mediaListViewChanged(TQListViewItem *))); + connect(spacingValue, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(spacingChanged(int))); + connect(spacingCtrlScroll, TQ_SIGNAL(clicked()), this, TQ_SIGNAL(changed())); strMouseButton1 = i18n("&Left button:"); strButtonTxt1 = i18n( "You can choose what happens when" @@ -155,9 +155,9 @@ DesktopBehavior::DesktopBehavior(TDEConfig *config, TQWidget *parent, const char leftLabel->setText( strMouseButton1 ); leftLabel->setBuddy( leftComboBox ); fillMenuCombo( leftComboBox ); - connect(leftEditButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(editButtonPressed())); - connect(leftComboBox, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(changed())); - connect(leftComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(comboBoxChanged())); + connect(leftEditButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(editButtonPressed())); + connect(leftComboBox, TQ_SIGNAL(activated(int)), this, TQ_SIGNAL(changed())); + connect(leftComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(comboBoxChanged())); TQString wtstr = strButtonTxt1 + i18n(" <ul><li><em>No action:</em> as you might guess, nothing happens!</li>" " <li><em>Window list menu:</em> a menu showing all windows on all" @@ -177,9 +177,9 @@ DesktopBehavior::DesktopBehavior(TDEConfig *config, TQWidget *parent, const char middleLabel->setBuddy( middleComboBox ); fillMenuCombo( middleComboBox ); - connect(middleEditButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(editButtonPressed())); - connect(middleComboBox, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(changed())); - connect(middleComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(comboBoxChanged())); + connect(middleEditButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(editButtonPressed())); + connect(middleComboBox, TQ_SIGNAL(activated(int)), this, TQ_SIGNAL(changed())); + connect(middleComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(comboBoxChanged())); wtstr = i18n("You can choose what happens when" " you click the middle button of your pointing device on the desktop:" " <ul><li><em>No action:</em> as you might guess, nothing happens!</li>" @@ -201,9 +201,9 @@ DesktopBehavior::DesktopBehavior(TDEConfig *config, TQWidget *parent, const char rightLabel->setText( strMouseButton3 ); rightLabel->setBuddy( rightComboBox ); fillMenuCombo( rightComboBox ); - connect(rightEditButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(editButtonPressed())); - connect(rightComboBox, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(changed())); - connect(rightComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(comboBoxChanged())); + connect(rightEditButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(editButtonPressed())); + connect(rightComboBox, TQ_SIGNAL(activated(int)), this, TQ_SIGNAL(changed())); + connect(rightComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(comboBoxChanged())); wtstr = strButtonTxt3 + i18n(" <ul><li><em>No action:</em> as you might guess, nothing happens!</li>" " <li><em>Window list menu:</em> a menu showing all windows on all" @@ -223,8 +223,8 @@ DesktopBehavior::DesktopBehavior(TDEConfig *config, TQWidget *parent, const char if (m_bHasMedia) { - connect(enableMediaBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged())); - connect(enableMediaFreeSpaceOverlayBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged())); + connect(enableMediaBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableChanged())); + connect(enableMediaFreeSpaceOverlayBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableChanged())); } else { diff --git a/kcontrol/konq/fontopts.cpp b/kcontrol/konq/fontopts.cpp index 94f866b1a..e8a99297d 100644 --- a/kcontrol/konq/fontopts.cpp +++ b/kcontrol/konq/fontopts.cpp @@ -66,22 +66,22 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop TQWhatsThis::add( m_pStandard, wtstr ); row++; - connect( m_pStandard, TQT_SIGNAL( activated(const TQString&) ), - TQT_SLOT( slotStandardFont(const TQString&) ) ); - connect( m_pStandard, TQT_SIGNAL( activated(const TQString&) ), - TQT_SLOT(changed() ) ); - connect( m_pStandard, TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotStandardFont(const TQString&) ) ); - connect( m_pStandard, TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT(changed() ) ); + connect( m_pStandard, TQ_SIGNAL( activated(const TQString&) ), + TQ_SLOT( slotStandardFont(const TQString&) ) ); + connect( m_pStandard, TQ_SIGNAL( activated(const TQString&) ), + TQ_SLOT(changed() ) ); + connect( m_pStandard, TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotStandardFont(const TQString&) ) ); + connect( m_pStandard, TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT(changed() ) ); m_pSize = new TQSpinBox( 4,18,1,this ); label = new TQLabel( m_pSize, i18n("Font si&ze:"), this ); lay->addWidget(label,row,0); lay->addMultiCellWidget(m_pSize,row,row,1,1); - connect( m_pSize, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( slotFontSize(int) ) ); + connect( m_pSize, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( slotFontSize(int) ) ); row+=2; wtstr = i18n("This is the font size used to display text in Konqueror windows."); @@ -100,8 +100,8 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pNormalText, wtstr ); - connect( m_pNormalText, TQT_SIGNAL( changed( const TQColor & ) ), - TQT_SLOT( slotNormalTextColorChanged( const TQColor & ) ) ); + connect( m_pNormalText, TQ_SIGNAL( changed( const TQColor & ) ), + TQ_SLOT( slotNormalTextColorChanged( const TQColor & ) ) ); /* row++; @@ -115,8 +115,8 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pHighlightedText, wtstr ); - connect( m_pHighlightedText, TQT_SIGNAL( changed( const TQColor & ) ), - TQT_SLOT( slotHighlightedTextColorChanged( const TQColor & ) ) ); + connect( m_pHighlightedText, TQ_SIGNAL( changed( const TQColor & ) ), + TQ_SLOT( slotHighlightedTextColorChanged( const TQColor & ) ) ); */ row++; @@ -125,8 +125,8 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop { m_cbTextBackground = new TQCheckBox( i18n("&Text background color:"), this ); lay->addWidget(m_cbTextBackground,row,0); - connect( m_cbTextBackground, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotTextBackgroundClicked() ) ); + connect( m_cbTextBackground, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotTextBackgroundClicked() ) ); m_pTextBackground = new KColorButton( textBackgroundColor, this ); lay->addWidget(m_pTextBackground,row,COLOR_BUTTON_COL,(TQt::AlignmentFlags)hAlign); @@ -135,8 +135,8 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pTextBackground, wtstr ); - connect( m_pTextBackground, TQT_SIGNAL( changed( const TQColor & ) ), - TQT_SLOT( slotTextBackgroundColorChanged( const TQColor & ) ) ); + connect( m_pTextBackground, TQ_SIGNAL( changed( const TQColor & ) ), + TQ_SLOT( slotTextBackgroundColorChanged( const TQColor & ) ) ); row++; } @@ -146,10 +146,10 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop TQLabel* label = new TQLabel( m_pNbLines, i18n("H&eight for icon text:"), this ); lay->addWidget( label, row, 0 ); lay->addWidget( m_pNbLines, row, 1 ); - connect( m_pNbLines, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( changed() ) ); - connect( m_pNbLines, TQT_SIGNAL( valueChanged(int) ), - TQT_SLOT( slotPNbLinesChanged(int)) ); + connect( m_pNbLines, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( changed() ) ); + connect( m_pNbLines, TQ_SIGNAL( valueChanged(int) ), + TQ_SLOT( slotPNbLinesChanged(int)) ); TQString thwt = i18n("This is the maximum number of lines that can be" " used to draw icon text. Long file names are" @@ -165,10 +165,10 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop label = new TQLabel( m_pNbWidth, i18n("&Width for icon text:"), this ); lay->addWidget( label, row, 0 ); lay->addWidget( m_pNbWidth, row, 1 ); - connect( m_pNbWidth, TQT_SIGNAL( valueChanged(int) ), - this, TQT_SLOT( changed() ) ); - connect( m_pNbWidth, TQT_SIGNAL( valueChanged(int) ), - TQT_SLOT( slotPNbWidthChanged(int)) ); + connect( m_pNbWidth, TQ_SIGNAL( valueChanged(int) ), + this, TQ_SLOT( changed() ) ); + connect( m_pNbWidth, TQ_SIGNAL( valueChanged(int) ), + TQ_SLOT( slotPNbWidthChanged(int)) ); thwt = i18n( "This is the maximum width for the icon text when konqueror " "is used in multi column view mode." ); @@ -180,7 +180,7 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop cbUnderline = new TQCheckBox(i18n("&Underline filenames"), this); lay->addMultiCellWidget(cbUnderline,row,row,0,LASTCOLUMN,(TQt::AlignmentFlags)hAlign); - connect(cbUnderline, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(cbUnderline, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); TQWhatsThis::add( cbUnderline, i18n("Checking this option will result in filenames" " being underlined, so that they look like links on a web page. Note:" @@ -193,7 +193,7 @@ KonqFontOptions::KonqFontOptions(TDEConfig *config, TQString group, bool desktop m_pSizeInBytes = new TQCheckBox(i18n("Display file sizes in b&ytes"), this); lay->addMultiCellWidget( m_pSizeInBytes,row,row,0,LASTCOLUMN,(TQt::AlignmentFlags)hAlign ); - connect( m_pSizeInBytes, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()) ); + connect( m_pSizeInBytes, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed()) ); TQWhatsThis::add( m_pSizeInBytes, i18n("Checking this option will result in file sizes" " being displayed in bytes. Otherwise file sizes are" diff --git a/kcontrol/konq/previews.cpp b/kcontrol/konq/previews.cpp index 3b2349fc7..309651dbb 100644 --- a/kcontrol/konq/previews.cpp +++ b/kcontrol/konq/previews.cpp @@ -130,14 +130,14 @@ KPreviewOptions::KPreviewOptions( TQWidget *parent, const char */*name*/ ) m_maxSize->setRange( 0.2, 100, 0.2, true ); label->setBuddy( m_maxSize ); lay->addWidget( m_maxSize ); - connect( m_maxSize, TQT_SIGNAL( valueChanged(double) ), TQT_SLOT( changed() ) ); + connect( m_maxSize, TQ_SIGNAL( valueChanged(double) ), TQ_SLOT( changed() ) ); m_boostSize = new TQCheckBox(i18n("&Increase size of previews relative to icons"), this); - connect( m_boostSize, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( changed() ) ); + connect( m_boostSize, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( changed() ) ); lay->addWidget(m_boostSize); m_useFileThumbnails = new TQCheckBox(i18n("&Use thumbnails embedded in files"), this); - connect( m_useFileThumbnails, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( changed() ) ); + connect( m_useFileThumbnails, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( changed() ) ); lay->addWidget(m_useFileThumbnails); diff --git a/kcontrol/konq/rootopts.cpp b/kcontrol/konq/rootopts.cpp index 5da14f2f5..be73dcb7a 100644 --- a/kcontrol/konq/rootopts.cpp +++ b/kcontrol/konq/rootopts.cpp @@ -78,7 +78,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urDesktop->setMode( KFile::Directory ); tmpLabel->setBuddy( urDesktop ); lay->addMultiCellWidget(urDesktop, row, row, 1, RO_LASTCOL); - connect(urDesktop, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urDesktop, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); TQString wtstr = i18n("This folder contains all the files" " which you see on your desktop. You can change the location of this" " folder if you want to, and the contents will move automatically" @@ -93,7 +93,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urAutostart->setMode( KFile::Directory ); tmpLabel->setBuddy( urAutostart ); lay->addMultiCellWidget(urAutostart, row, row, 1, RO_LASTCOL); - connect(urAutostart, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urAutostart, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder contains applications or" " links to applications (shortcuts) that you want to have started" " automatically whenever TDE starts. You can change the location of this" @@ -109,7 +109,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urDocument->setMode( KFile::Directory ); tmpLabel->setBuddy( urDocument ); lay->addMultiCellWidget(urDocument, row, row, 1, RO_LASTCOL); - connect(urDocument, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urDocument, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder will be used by default to load or save documents from or to."); TQWhatsThis::add( tmpLabel, wtstr ); TQWhatsThis::add( urDocument, wtstr ); @@ -121,7 +121,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urDownload->setMode( KFile::Directory ); tmpLabel->setBuddy( urDownload ); lay->addMultiCellWidget(urDownload, row, row, 1, RO_LASTCOL); - connect(urDownload, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urDownload, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder will be used by default to load or save downloads from or to."); TQWhatsThis::add( tmpLabel, wtstr ); TQWhatsThis::add( urDownload, wtstr ); @@ -133,7 +133,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urMusic->setMode( KFile::Directory ); tmpLabel->setBuddy( urMusic ); lay->addMultiCellWidget(urMusic, row, row, 1, RO_LASTCOL); - connect(urMusic, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urMusic, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder will be used by default to load or save music from or to."); TQWhatsThis::add( tmpLabel, wtstr ); TQWhatsThis::add( urMusic, wtstr ); @@ -145,7 +145,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urPictures->setMode( KFile::Directory ); tmpLabel->setBuddy( urPictures ); lay->addMultiCellWidget(urPictures, row, row, 1, RO_LASTCOL); - connect(urPictures, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urPictures, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder will be used by default to load or save pictures from or to."); TQWhatsThis::add( tmpLabel, wtstr ); TQWhatsThis::add( urPictures, wtstr ); @@ -157,7 +157,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urPublicShare->setMode( KFile::Directory ); tmpLabel->setBuddy( urPublicShare ); lay->addMultiCellWidget(urPublicShare, row, row, 1, RO_LASTCOL); - connect(urPublicShare, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urPublicShare, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder will be used by default to load or save public shared files from or to."); TQWhatsThis::add( tmpLabel, wtstr ); TQWhatsThis::add( urPublicShare, wtstr ); @@ -169,7 +169,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urTemplates->setMode( KFile::Directory ); tmpLabel->setBuddy( urTemplates ); lay->addMultiCellWidget(urTemplates, row, row, 1, RO_LASTCOL); - connect(urTemplates, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urTemplates, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder will be used by default to load or save templates from or to."); TQWhatsThis::add( tmpLabel, wtstr ); TQWhatsThis::add( urTemplates, wtstr ); @@ -181,7 +181,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) urVideos->setMode( KFile::Directory ); tmpLabel->setBuddy( urVideos ); lay->addMultiCellWidget(urVideos, row, row, 1, RO_LASTCOL); - connect(urVideos, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(changed())); + connect(urVideos, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(changed())); wtstr = i18n("This folder will be used by default to load or save videos from or to."); TQWhatsThis::add( tmpLabel, wtstr ); TQWhatsThis::add( urVideos, wtstr ); @@ -190,7 +190,7 @@ DesktopPathConfig::DesktopPathConfig(TQWidget *parent, const char * ) Q_ASSERT( row == RO_LASTROW-1 ); // if it fails here, check the row++ and RO_LASTROW above loadTmr = new TQTimer(this); - connect(loadTmr, TQT_SIGNAL(timeout()), this, TQT_SLOT(loadTimerDone())); + connect(loadTmr, TQ_SIGNAL(timeout()), this, TQ_SLOT(loadTimerDone())); load(); } @@ -543,8 +543,8 @@ bool DesktopPathConfig::moveDir( const KURL & src, const KURL & dest, const TQSt m_copyToDest = dest; m_copyFromSrc = src; TDEIO::ListJob* job = TDEIO::listDir( src ); - connect( job, TQT_SIGNAL( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ), - this, TQT_SLOT( slotEntries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ) ); + connect( job, TQ_SIGNAL( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ), + this, TQ_SLOT( slotEntries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ) ); tqApp->enter_loop(); if (m_ok) @@ -555,7 +555,7 @@ bool DesktopPathConfig::moveDir( const KURL & src, const KURL & dest, const TQSt else { TDEIO::Job * job = TDEIO::move( src, dest ); - connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) ); + connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) ); // wait for job tqApp->enter_loop(); } @@ -583,7 +583,7 @@ void DesktopPathConfig::slotEntries( TDEIO::Job * job, const TDEIO::UDSEntryList } TDEIO::Job * moveJob = TDEIO::move( file.url(), m_copyToDest ); - connect( moveJob, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) ); + connect( moveJob, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) ); tqApp->enter_loop(); } tqApp->exit_loop(); diff --git a/kcontrol/konqhtml/appearance.cpp b/kcontrol/konqhtml/appearance.cpp index c921ef64d..ed0dfbc01 100644 --- a/kcontrol/konqhtml/appearance.cpp +++ b/kcontrol/konqhtml/appearance.cpp @@ -48,16 +48,16 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg m_minSize = new KIntNumInput( fMinSize, gb ); m_minSize->setLabel( i18n( "M&inimum font size:" ) ); m_minSize->setRange( 2, 30 ); - connect( m_minSize, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotMinimumFontSize( int ) ) ); - connect( m_minSize, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( changed() ) ); + connect( m_minSize, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotMinimumFontSize( int ) ) ); + connect( m_minSize, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( changed() ) ); TQWhatsThis::add( m_minSize, i18n( "Konqueror will never display text smaller than " "this size,<br>overriding any other settings" ) ); m_MedSize = new KIntNumInput( m_minSize, fSize, gb ); m_MedSize->setLabel( i18n( "&Medium font size:" ) ); m_MedSize->setRange( 2, 30 ); - connect( m_MedSize, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotFontSize( int ) ) ); - connect( m_MedSize, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( changed() ) ); + connect( m_MedSize, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotFontSize( int ) ) ); + connect( m_MedSize, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( changed() ) ); TQWhatsThis::add( m_MedSize, i18n("This is the relative font size Konqueror uses " "to display web sites.") ); @@ -76,14 +76,14 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pFonts[0], wtstr ); - connect( m_pFonts[0], TQT_SIGNAL( activated(const TQString&) ), - TQT_SLOT( slotStandardFont(const TQString&) ) ); - connect( m_pFonts[0], TQT_SIGNAL( activated(const TQString&) ), - TQT_SLOT(changed() ) ); - connect( m_pFonts[0]->lineEdit(), TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotStandardFont(const TQString&) ) ); - connect( m_pFonts[0], TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT(changed() ) ); + connect( m_pFonts[0], TQ_SIGNAL( activated(const TQString&) ), + TQ_SLOT( slotStandardFont(const TQString&) ) ); + connect( m_pFonts[0], TQ_SIGNAL( activated(const TQString&) ), + TQ_SLOT(changed() ) ); + connect( m_pFonts[0]->lineEdit(), TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotStandardFont(const TQString&) ) ); + connect( m_pFonts[0], TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT(changed() ) ); label = new TQLabel( i18n( "&Fixed font:"), this ); lay->addWidget( label, ++r, E ); @@ -97,14 +97,14 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pFonts[1], wtstr ); - connect( m_pFonts[1], TQT_SIGNAL( activated(const TQString&) ), - TQT_SLOT( slotFixedFont(const TQString&) ) ); - connect( m_pFonts[1], TQT_SIGNAL( activated(const TQString&) ), - TQT_SLOT(changed() ) ); - connect( m_pFonts[1]->lineEdit(), TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotFixedFont(const TQString&) ) ); - connect( m_pFonts[1], TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT(changed() ) ); + connect( m_pFonts[1], TQ_SIGNAL( activated(const TQString&) ), + TQ_SLOT( slotFixedFont(const TQString&) ) ); + connect( m_pFonts[1], TQ_SIGNAL( activated(const TQString&) ), + TQ_SLOT(changed() ) ); + connect( m_pFonts[1]->lineEdit(), TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotFixedFont(const TQString&) ) ); + connect( m_pFonts[1], TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT(changed() ) ); label = new TQLabel( i18n( "S&erif font:" ), this ); lay->addWidget( label, ++r, E ); @@ -118,14 +118,14 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pFonts[2], wtstr ); - connect( m_pFonts[2], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( slotSerifFont( const TQString& ) ) ); - connect( m_pFonts[2], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( changed() ) ); - connect( m_pFonts[2]->lineEdit(), TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotSerifFont(const TQString&) ) ); - connect( m_pFonts[2], TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT(changed() ) ); + connect( m_pFonts[2], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( slotSerifFont( const TQString& ) ) ); + connect( m_pFonts[2], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( changed() ) ); + connect( m_pFonts[2]->lineEdit(), TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotSerifFont(const TQString&) ) ); + connect( m_pFonts[2], TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT(changed() ) ); label = new TQLabel( i18n( "Sa&ns serif font:" ), this ); lay->addWidget( label, ++r, E ); @@ -139,14 +139,14 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pFonts[3], wtstr ); - connect( m_pFonts[3], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( slotSansSerifFont( const TQString& ) ) ); - connect( m_pFonts[3], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( changed() ) ); - connect( m_pFonts[3]->lineEdit(), TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotSansSerifFont(const TQString&) ) ); - connect( m_pFonts[3], TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT(changed() ) ); + connect( m_pFonts[3], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( slotSansSerifFont( const TQString& ) ) ); + connect( m_pFonts[3], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( changed() ) ); + connect( m_pFonts[3]->lineEdit(), TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotSansSerifFont(const TQString&) ) ); + connect( m_pFonts[3], TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT(changed() ) ); label = new TQLabel( i18n( "C&ursive font:" ), this ); @@ -161,14 +161,14 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pFonts[4], wtstr ); - connect( m_pFonts[4], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( slotCursiveFont( const TQString& ) ) ); - connect( m_pFonts[4], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( changed() ) ); - connect( m_pFonts[4]->lineEdit(), TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotCursiveFont(const TQString&) ) ); - connect( m_pFonts[4], TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT(changed() ) ); + connect( m_pFonts[4], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( slotCursiveFont( const TQString& ) ) ); + connect( m_pFonts[4], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( changed() ) ); + connect( m_pFonts[4]->lineEdit(), TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotCursiveFont(const TQString&) ) ); + connect( m_pFonts[4], TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT(changed() ) ); label = new TQLabel( i18n( "Fantas&y font:" ), this ); @@ -183,14 +183,14 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pFonts[5], wtstr ); - connect( m_pFonts[5], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( slotFantasyFont( const TQString& ) ) ); - connect( m_pFonts[5], TQT_SIGNAL( activated( const TQString& ) ), - TQT_SLOT( changed() ) ); - connect( m_pFonts[5]->lineEdit(), TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotFantasyFont(const TQString&) ) ); - connect( m_pFonts[5], TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT(changed() ) ); + connect( m_pFonts[5], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( slotFantasyFont( const TQString& ) ) ); + connect( m_pFonts[5], TQ_SIGNAL( activated( const TQString& ) ), + TQ_SLOT( changed() ) ); + connect( m_pFonts[5]->lineEdit(), TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotFantasyFont(const TQString&) ) ); + connect( m_pFonts[5], TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT(changed() ) ); label = new TQLabel( i18n( "Font &size adjustment for this encoding:" ), this ); @@ -200,10 +200,10 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg label->setBuddy( m_pFontSizeAdjust ); lay->addMultiCellWidget( m_pFontSizeAdjust, r, r, M+1, W ); - connect( m_pFontSizeAdjust, TQT_SIGNAL( valueChanged( int ) ), - TQT_SLOT( slotFontSizeAdjust( int ) ) ); - connect( m_pFontSizeAdjust, TQT_SIGNAL( valueChanged( int ) ), - TQT_SLOT( changed() ) ); + connect( m_pFontSizeAdjust, TQ_SIGNAL( valueChanged( int ) ), + TQ_SLOT( slotFontSizeAdjust( int ) ) ); + connect( m_pFontSizeAdjust, TQ_SIGNAL( valueChanged( int ) ), + TQ_SLOT( changed() ) ); label = new TQLabel( i18n( "Default encoding:"), this ); //++r; @@ -222,10 +222,10 @@ KAppearanceOptions::KAppearanceOptions(TDEConfig *config, TQString group, TQWidg TQWhatsThis::add( label, wtstr ); TQWhatsThis::add( m_pEncoding, wtstr ); - connect( m_pEncoding, TQT_SIGNAL( activated(const TQString& ) ), - TQT_SLOT( slotEncoding(const TQString&) ) ); - connect( m_pEncoding, TQT_SIGNAL( activated(const TQString& ) ), - TQT_SLOT( changed() ) ); + connect( m_pEncoding, TQ_SIGNAL( activated(const TQString& ) ), + TQ_SLOT( slotEncoding(const TQString&) ) ); + connect( m_pEncoding, TQ_SIGNAL( activated(const TQString& ) ), + TQ_SLOT( changed() ) ); ++r; lay->setRowStretch(r, 8); diff --git a/kcontrol/konqhtml/domainlistview.cpp b/kcontrol/konqhtml/domainlistview.cpp index e6521b3b8..53433264f 100644 --- a/kcontrol/konqhtml/domainlistview.cpp +++ b/kcontrol/konqhtml/domainlistview.cpp @@ -46,33 +46,33 @@ DomainListView::DomainListView(TDEConfig *config,const TQString &title, domainSpecificLV = new TDEListView(this); domainSpecificLV->addColumn(i18n("Host/Domain")); domainSpecificLV->addColumn(i18n("Policy"), 100); - connect(domainSpecificLV,TQT_SIGNAL(doubleClicked(TQListViewItem *)), TQT_SLOT(changePressed())); - connect(domainSpecificLV,TQT_SIGNAL(returnPressed(TQListViewItem *)), TQT_SLOT(changePressed())); - connect(domainSpecificLV, TQT_SIGNAL( executed( TQListViewItem *)), TQT_SLOT( updateButton())); - connect(domainSpecificLV, TQT_SIGNAL(selectionChanged()), TQT_SLOT(updateButton())); + connect(domainSpecificLV,TQ_SIGNAL(doubleClicked(TQListViewItem *)), TQ_SLOT(changePressed())); + connect(domainSpecificLV,TQ_SIGNAL(returnPressed(TQListViewItem *)), TQ_SLOT(changePressed())); + connect(domainSpecificLV, TQ_SIGNAL( executed( TQListViewItem *)), TQ_SLOT( updateButton())); + connect(domainSpecificLV, TQ_SIGNAL(selectionChanged()), TQ_SLOT(updateButton())); thisLayout->addMultiCellWidget(domainSpecificLV, 0, 5, 0, 0); addDomainPB = new TQPushButton(i18n("&New..."), this); thisLayout->addWidget(addDomainPB, 0, 1); - connect(addDomainPB, TQT_SIGNAL(clicked()), TQT_SLOT(addPressed())); + connect(addDomainPB, TQ_SIGNAL(clicked()), TQ_SLOT(addPressed())); changeDomainPB = new TQPushButton( i18n("Chan&ge..."), this); thisLayout->addWidget(changeDomainPB, 1, 1); - connect(changeDomainPB, TQT_SIGNAL(clicked()), this, TQT_SLOT(changePressed())); + connect(changeDomainPB, TQ_SIGNAL(clicked()), this, TQ_SLOT(changePressed())); deleteDomainPB = new TQPushButton(i18n("De&lete"), this); thisLayout->addWidget(deleteDomainPB, 2, 1); - connect(deleteDomainPB, TQT_SIGNAL(clicked()), this, TQT_SLOT(deletePressed())); + connect(deleteDomainPB, TQ_SIGNAL(clicked()), this, TQ_SLOT(deletePressed())); importDomainPB = new TQPushButton(i18n("&Import..."), this); thisLayout->addWidget(importDomainPB, 3, 1); - connect(importDomainPB, TQT_SIGNAL(clicked()), this, TQT_SLOT(importPressed())); + connect(importDomainPB, TQ_SIGNAL(clicked()), this, TQ_SLOT(importPressed())); importDomainPB->setEnabled(false); importDomainPB->hide(); exportDomainPB = new TQPushButton(i18n("&Export..."), this); thisLayout->addWidget(exportDomainPB, 4, 1); - connect(exportDomainPB, TQT_SIGNAL(clicked()), this, TQT_SLOT(exportPressed())); + connect(exportDomainPB, TQ_SIGNAL(clicked()), this, TQ_SLOT(exportPressed())); exportDomainPB->setEnabled(false); exportDomainPB->hide(); diff --git a/kcontrol/konqhtml/filteropts.cpp b/kcontrol/konqhtml/filteropts.cpp index 6603c06ca..9b7f520ec 100644 --- a/kcontrol/konqhtml/filteropts.cpp +++ b/kcontrol/konqhtml/filteropts.cpp @@ -67,20 +67,20 @@ KCMFilter::KCMFilter(TDEConfig *config, TQString group, buttonBox->setSpacing( KDialog::spacingHint() ); mInsertButton = new TQPushButton( i18n("Insert"), buttonBox ); - connect( mInsertButton, TQT_SIGNAL( clicked() ), TQT_SLOT( insertFilter() ) ); + connect( mInsertButton, TQ_SIGNAL( clicked() ), TQ_SLOT( insertFilter() ) ); mUpdateButton = new TQPushButton( i18n("Update"), buttonBox ); - connect( mUpdateButton, TQT_SIGNAL( clicked() ), TQT_SLOT( updateFilter() ) ); + connect( mUpdateButton, TQ_SIGNAL( clicked() ), TQ_SLOT( updateFilter() ) ); mRemoveButton = new TQPushButton( i18n("Remove"), buttonBox ); - connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeFilter() ) ); + connect( mRemoveButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeFilter() ) ); mImportButton = new TQPushButton(i18n("Import..."),buttonBox); - connect( mImportButton, TQT_SIGNAL( clicked() ), TQT_SLOT( importFilters() ) ); + connect( mImportButton, TQ_SIGNAL( clicked() ), TQ_SLOT( importFilters() ) ); mExportButton = new TQPushButton(i18n("Export..."),buttonBox); - connect( mExportButton, TQT_SIGNAL( clicked() ), TQT_SLOT( exportFilters() ) ); + connect( mExportButton, TQ_SIGNAL( clicked() ), TQ_SLOT( exportFilters() ) ); - connect( mEnableCheck, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotEnableChecked())); - connect( mKillCheck, TQT_SIGNAL( clicked()), this, TQT_SLOT( slotKillChecked())); - connect( mListBox, TQT_SIGNAL( selectionChanged ()),this, TQT_SLOT( slotItemSelected())); + connect( mEnableCheck, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotEnableChecked())); + connect( mKillCheck, TQ_SIGNAL( clicked()), this, TQ_SLOT( slotKillChecked())); + connect( mListBox, TQ_SIGNAL( selectionChanged ()),this, TQ_SLOT( slotItemSelected())); /* * Whats this items diff --git a/kcontrol/konqhtml/htmlopts.cpp b/kcontrol/konqhtml/htmlopts.cpp index ed87ea349..14cf39a36 100644 --- a/kcontrol/konqhtml/htmlopts.cpp +++ b/kcontrol/konqhtml/htmlopts.cpp @@ -51,12 +51,12 @@ KMiscHTMLOptions::KMiscHTMLOptions(TDEConfig *config, TQString group, TQWidget * m_pAdvancedAddBookmarkCheckBox = new TQCheckBox(i18n( "Ask for name and folder when adding bookmarks" ), bgBookmarks); TQWhatsThis::add( m_pAdvancedAddBookmarkCheckBox, i18n( "If this box is checked, Konqueror will allow you to" " change the title of the bookmark and choose a folder in which to store it when you add a new bookmark." ) ); - connect(m_pAdvancedAddBookmarkCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pAdvancedAddBookmarkCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); m_pOnlyMarkedBookmarksCheckBox = new TQCheckBox(i18n( "Show only marked bookmarks in bookmark toolbar" ), bgBookmarks); TQWhatsThis::add( m_pOnlyMarkedBookmarksCheckBox, i18n( "If this box is checked, Konqueror will show only those" " bookmarks in the bookmark toolbar which you have marked to do so in the bookmark editor." ) ); - connect(m_pOnlyMarkedBookmarksCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pOnlyMarkedBookmarksCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); lay->addMultiCellWidget( bgBookmarks, row, row, 0, 1 ); row++; @@ -67,14 +67,14 @@ KMiscHTMLOptions::KMiscHTMLOptions(TDEConfig *config, TQString group, TQWidget * m_pFormCompletionCheckBox = new TQCheckBox(i18n( "Enable com&pletion of forms" ), bgForm); TQWhatsThis::add( m_pFormCompletionCheckBox, i18n( "If this box is checked, Konqueror will remember" " the data you enter in web forms and suggest it in similar fields for all forms." ) ); - connect(m_pFormCompletionCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pFormCompletionCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); m_pMaxFormCompletionItems = new KIntNumInput( bgForm ); m_pMaxFormCompletionItems->setLabel( i18n( "&Maximum completions:" ) ); m_pMaxFormCompletionItems->setRange( 0, 100 ); TQWhatsThis::add( m_pMaxFormCompletionItems, i18n( "Here you can select how many values Konqueror will remember for a form field." ) ); - connect(m_pMaxFormCompletionItems, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChanged())); + connect(m_pMaxFormCompletionItems, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChanged())); lay->addMultiCellWidget( bgForm, row, row, 0, 1 ); row++; @@ -86,19 +86,19 @@ KMiscHTMLOptions::KMiscHTMLOptions(TDEConfig *config, TQString group, TQWidget * m_cbCursor = new TQCheckBox(i18n("Chan&ge cursor over links"), bgMouse ); TQWhatsThis::add( m_cbCursor, i18n("If this option is set, the shape of the cursor will change " "(usually to a hand) if it is moved over a hyperlink.") ); - connect(m_cbCursor, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_cbCursor, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); m_pOpenMiddleClick = new TQCheckBox( i18n ("M&iddle click opens URL in selection" ), bgMouse ); TQWhatsThis::add( m_pOpenMiddleClick, i18n ( "If this box is checked, you can open the URL in the selection by middle clicking on a " "Konqueror view." ) ); - connect(m_pOpenMiddleClick, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pOpenMiddleClick, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); m_pBackRightClick = new TQCheckBox( i18n( "Right click goes &back in history" ), bgMouse ); TQWhatsThis::add( m_pBackRightClick, i18n( "If this box is checked, you can go back in history by right clicking on a Konqueror view. " "To access the context menu, press the right mouse button and move." ) ); - connect(m_pBackRightClick, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pBackRightClick, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); lay->addMultiCellWidget( bgMouse, row, row, 0, 1 ); row++; @@ -107,26 +107,26 @@ KMiscHTMLOptions::KMiscHTMLOptions(TDEConfig *config, TQString group, TQWidget * m_pAutoLoadImagesCheckBox = new TQCheckBox( i18n( "A&utomatically load images"), this ); TQWhatsThis::add( m_pAutoLoadImagesCheckBox, i18n( "If this box is checked, Konqueror will automatically load any images that are embedded in a web page. Otherwise, it will display placeholders for the images, and you can then manually load the images by clicking on the image button.<br>Unless you have a very slow network connection, you will probably want to check this box to enhance your browsing experience." ) ); - connect(m_pAutoLoadImagesCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pAutoLoadImagesCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); lay->addMultiCellWidget( m_pAutoLoadImagesCheckBox, row, row, 0, 1 ); row++; m_pEnableFavIconCheckBox = new TQCheckBox( i18n( "Enable &favicons"), this ); TQWhatsThis::add( m_pEnableFavIconCheckBox, i18n( "If this box is checked, Konqueror will automatically load and display favicon images that are associated with a web page. These images appear in the Location bar. Otherwise a generic image will appear." ) ); - connect(m_pEnableFavIconCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pEnableFavIconCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); lay->addMultiCellWidget( m_pEnableFavIconCheckBox, row, row, 0, 1 ); row++; m_pUnfinishedImageFrameCheckBox = new TQCheckBox( i18n( "Dra&w frame around not completely loaded images"), this ); TQWhatsThis::add( m_pUnfinishedImageFrameCheckBox, i18n( "If this box is checked, Konqueror will draw a frame as placeholder around not yet fully loaded images that are embedded in a web page.<br>Especially if you have a slow network connection, you will probably want to check this box to enhance your browsing experience." ) ); - connect(m_pUnfinishedImageFrameCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pUnfinishedImageFrameCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); lay->addMultiCellWidget( m_pUnfinishedImageFrameCheckBox, row, row, 0, 1 ); row++; m_pAutoRedirectCheckBox = new TQCheckBox( i18n( "Allow automatic delayed &reloading/redirecting"), this ); TQWhatsThis::add( m_pAutoRedirectCheckBox, i18n( "Some web pages request an automatic reload or redirection after a certain period of time. By unchecking this box Konqueror will ignore these requests." ) ); - connect(m_pAutoRedirectCheckBox, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged())); + connect(m_pAutoRedirectCheckBox, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged())); lay->addMultiCellWidget( m_pAutoRedirectCheckBox, row, row, 0, 1 ); row++; @@ -153,7 +153,7 @@ KMiscHTMLOptions::KMiscHTMLOptions(TDEConfig *config, TQString group, TQWidget * "</ul><br><i>Note: The site's CSS definitions can override this value</i>"); TQWhatsThis::add( label, whatsThis); TQWhatsThis::add( m_pUnderlineCombo, whatsThis); - connect(m_pUnderlineCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged())); + connect(m_pUnderlineCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged())); @@ -172,7 +172,7 @@ KMiscHTMLOptions::KMiscHTMLOptions(TDEConfig *config, TQString group, TQWidget * "<li><b>Show only once</b>: Show all animations completely but do not repeat them.</li></ul>"); TQWhatsThis::add( label, whatsThis); TQWhatsThis::add( m_pAnimationsCombo, whatsThis); - connect(m_pAnimationsCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged())); + connect(m_pAnimationsCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged())); label = new TQLabel( i18n("Sm&ooth scrolling"), this); m_pSmoothScrollingCombo = new TQComboBox( false, this ); @@ -190,7 +190,7 @@ KMiscHTMLOptions::KMiscHTMLOptions(TDEConfig *config, TQString group, TQWidget * "</ul>"); TQWhatsThis::add( label, whatsThis); TQWhatsThis::add( m_pSmoothScrollingCombo, whatsThis); - connect(m_pSmoothScrollingCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged())); + connect(m_pSmoothScrollingCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged())); lay->setRowStretch(row, 1); diff --git a/kcontrol/konqhtml/javaopts.cpp b/kcontrol/konqhtml/javaopts.cpp index 6a702559e..2a0c15069 100644 --- a/kcontrol/konqhtml/javaopts.cpp +++ b/kcontrol/konqhtml/javaopts.cpp @@ -62,15 +62,15 @@ KJavaOptions::KJavaOptions( TDEConfig* config, TQString group, TQVGroupBox* globalGB = new TQVGroupBox( i18n( "Global Settings" ), this ); toplevel->addWidget( globalGB ); enableJavaGloballyCB = new TQCheckBox( i18n( "Enable Ja&va globally" ), globalGB ); - connect( enableJavaGloballyCB, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChanged() ) ); - connect( enableJavaGloballyCB, TQT_SIGNAL( clicked() ), this, TQT_SLOT( toggleJavaControls() ) ); + connect( enableJavaGloballyCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChanged() ) ); + connect( enableJavaGloballyCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( toggleJavaControls() ) ); /*************************************************************************** ***************** Domain Specific Settings ******************************** **************************************************************************/ domainSpecific = new JavaDomainListView(m_pConfig,m_groupname,this,this); - connect(domainSpecific,TQT_SIGNAL(changed(bool)),TQT_SLOT(slotChanged())); + connect(domainSpecific,TQ_SIGNAL(changed(bool)),TQ_SLOT(slotChanged())); toplevel->addWidget( domainSpecific, 2 ); /*************************************************************************** @@ -84,37 +84,37 @@ KJavaOptions::KJavaOptions( TDEConfig* config, TQString group, javaSecurityManagerCB = new TQCheckBox( i18n("&Use security manager" ), checkboxes ); grid->addWidget( javaSecurityManagerCB, 0, 0 ); - connect( javaSecurityManagerCB, TQT_SIGNAL(toggled( bool )), this, TQT_SLOT(slotChanged()) ); + connect( javaSecurityManagerCB, TQ_SIGNAL(toggled( bool )), this, TQ_SLOT(slotChanged()) ); useKioCB = new TQCheckBox( i18n("Use &TDEIO"), checkboxes ); grid->addWidget( useKioCB, 0, 1 ); - connect( useKioCB, TQT_SIGNAL(toggled( bool )), this, TQT_SLOT(slotChanged()) ); + connect( useKioCB, TQ_SIGNAL(toggled( bool )), this, TQ_SLOT(slotChanged()) ); enableShutdownCB = new TQCheckBox( i18n("Shu&tdown applet server when inactive"), checkboxes ); grid->addWidget( enableShutdownCB, 1, 0 ); - connect( enableShutdownCB, TQT_SIGNAL(toggled( bool )), this, TQT_SLOT(slotChanged()) ); - connect( enableShutdownCB, TQT_SIGNAL(clicked()), this, TQT_SLOT(toggleJavaControls()) ); + connect( enableShutdownCB, TQ_SIGNAL(toggled( bool )), this, TQ_SLOT(slotChanged()) ); + connect( enableShutdownCB, TQ_SIGNAL(clicked()), this, TQ_SLOT(toggleJavaControls()) ); TQHBox* secondsHB = new TQHBox( javartGB ); serverTimeoutSB = new KIntNumInput( secondsHB ); serverTimeoutSB->setRange( 0, 1000, 5 ); serverTimeoutSB->setLabel( i18n("App&let server timeout:"), AlignLeft ); serverTimeoutSB->setSuffix(i18n(" sec")); - connect(serverTimeoutSB, TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(slotChanged())); + connect(serverTimeoutSB, TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(slotChanged())); TQHBox* pathHB = new TQHBox( javartGB ); pathHB->setSpacing( 10 ); TQLabel* pathLA = new TQLabel( i18n( "&Path to Java executable, or 'java':" ), pathHB ); pathED = new KURLRequester( pathHB ); - connect( pathED, TQT_SIGNAL(textChanged( const TQString& )), this, TQT_SLOT(slotChanged()) ); + connect( pathED, TQ_SIGNAL(textChanged( const TQString& )), this, TQ_SLOT(slotChanged()) ); pathLA->setBuddy( pathED ); TQHBox* addArgHB = new TQHBox( javartGB ); addArgHB->setSpacing( 10 ); TQLabel* addArgLA = new TQLabel( i18n( "Additional Java a&rguments:" ), addArgHB ); addArgED = new TQLineEdit( addArgHB ); - connect( addArgED, TQT_SIGNAL(textChanged( const TQString& )), this, TQT_SLOT(slotChanged()) ); + connect( addArgED, TQ_SIGNAL(textChanged( const TQString& )), this, TQ_SLOT(slotChanged()) ); addArgLA->setBuddy( addArgED ); /*************************************************************************** diff --git a/kcontrol/konqhtml/jsopts.cpp b/kcontrol/konqhtml/jsopts.cpp index ebbf7c4aa..33fc33a7a 100644 --- a/kcontrol/konqhtml/jsopts.cpp +++ b/kcontrol/konqhtml/jsopts.cpp @@ -52,21 +52,21 @@ KJavaScriptOptions::KJavaScriptOptions( TDEConfig* config, TQString group, TQWid TQWhatsThis::add( enableJavaScriptGloballyCB, i18n("Enables the execution of scripts written in ECMA-Script " "(also known as JavaScript) that can be contained in HTML pages. " "Note that, as with any browser, enabling scripting languages can be a security problem.") ); - connect( enableJavaScriptGloballyCB, TQT_SIGNAL( clicked() ), TQT_SLOT( changed() ) ); - connect( enableJavaScriptGloballyCB, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChangeJSEnabled() ) ); + connect( enableJavaScriptGloballyCB, TQ_SIGNAL( clicked() ), TQ_SLOT( changed() ) ); + connect( enableJavaScriptGloballyCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChangeJSEnabled() ) ); reportErrorsCB = new TQCheckBox( i18n( "Report &errors" ), globalGB ); TQWhatsThis::add( reportErrorsCB, i18n("Enables the reporting of errors that occur when JavaScript " "code is executed.") ); - connect( reportErrorsCB, TQT_SIGNAL( clicked() ), TQT_SLOT( changed() ) ); + connect( reportErrorsCB, TQ_SIGNAL( clicked() ), TQ_SLOT( changed() ) ); jsDebugWindow = new TQCheckBox( i18n( "Enable debu&gger" ), globalGB ); TQWhatsThis::add( jsDebugWindow, i18n( "Enables builtin JavaScript debugger." ) ); - connect( jsDebugWindow, TQT_SIGNAL( clicked() ), TQT_SLOT( changed() ) ); + connect( jsDebugWindow, TQ_SIGNAL( clicked() ), TQ_SLOT( changed() ) ); // the domain-specific listview domainSpecific = new JSDomainListView(m_pConfig,m_groupname,this,this); - connect(domainSpecific,TQT_SIGNAL(changed(bool)),TQT_SLOT(changed())); + connect(domainSpecific,TQ_SIGNAL(changed(bool)),TQ_SLOT(changed())); toplevel->addWidget( domainSpecific, 2 ); TQWhatsThis::add( domainSpecific, i18n("Here you can set specific JavaScript policies for any particular " @@ -97,7 +97,7 @@ KJavaScriptOptions::KJavaScriptOptions( TDEConfig* config, TQString group, TQWid js_policies_frame = new JSPoliciesFrame(&js_global_policies, i18n("Global JavaScript Policies"),this); toplevel->addWidget(js_policies_frame); - connect(js_policies_frame, TQT_SIGNAL(changed()), TQT_SLOT(changed())); + connect(js_policies_frame, TQ_SIGNAL(changed()), TQ_SLOT(changed())); // Finally do the loading load(); diff --git a/kcontrol/konqhtml/jspolicies.cpp b/kcontrol/konqhtml/jspolicies.cpp index 07a0cbea6..c24cd356e 100644 --- a/kcontrol/konqhtml/jspolicies.cpp +++ b/kcontrol/konqhtml/jspolicies.cpp @@ -197,7 +197,7 @@ JSPoliciesFrame::JSPoliciesFrame(JSPolicies *policies, const TQString &title, "window.open()</i> for proper operation. Use " "this feature carefully."); TQWhatsThis::add(label, wtstr); - connect(js_popup, TQT_SIGNAL(clicked(int)), TQT_SLOT(setWindowOpenPolicy(int))); + connect(js_popup, TQ_SIGNAL(clicked(int)), TQ_SLOT(setWindowOpenPolicy(int))); // === window.resizeBy/resizeTo ================================ colIdx = 0; @@ -235,7 +235,7 @@ JSPoliciesFrame::JSPoliciesFrame(JSPolicies *policies, const TQString &title, "This option specifies the treatment of such " "attempts."); TQWhatsThis::add(label, wtstr); - connect(js_resize, TQT_SIGNAL(clicked(int)), TQT_SLOT(setWindowResizePolicy(int))); + connect(js_resize, TQ_SIGNAL(clicked(int)), TQ_SLOT(setWindowResizePolicy(int))); // === window.moveBy/moveTo ================================ colIdx = 0; @@ -273,7 +273,7 @@ JSPoliciesFrame::JSPoliciesFrame(JSPolicies *policies, const TQString &title, "This option specifies the treatment of such " "attempts."); TQWhatsThis::add(label, wtstr); - connect(js_move, TQT_SIGNAL(clicked(int)), TQT_SLOT(setWindowMovePolicy(int))); + connect(js_move, TQ_SIGNAL(clicked(int)), TQ_SLOT(setWindowMovePolicy(int))); // === window.focus ================================ colIdx = 0; @@ -314,7 +314,7 @@ JSPoliciesFrame::JSPoliciesFrame(JSPolicies *policies, const TQString &title, "This option specifies the treatment of such " "attempts."); TQWhatsThis::add(label, wtstr); - connect(js_focus, TQT_SIGNAL(clicked(int)), TQT_SLOT(setWindowFocusPolicy(int))); + connect(js_focus, TQ_SIGNAL(clicked(int)), TQ_SLOT(setWindowFocusPolicy(int))); // === window.status ================================ colIdx = 0; @@ -354,7 +354,7 @@ JSPoliciesFrame::JSPoliciesFrame(JSPolicies *policies, const TQString &title, "This option specifies the treatment of such " "attempts."); TQWhatsThis::add(label, wtstr); - connect(js_statusbar, TQT_SIGNAL(clicked(int)), TQT_SLOT(setWindowStatusPolicy(int))); + connect(js_statusbar, TQ_SIGNAL(clicked(int)), TQ_SLOT(setWindowStatusPolicy(int))); } JSPoliciesFrame::~JSPoliciesFrame() { diff --git a/kcontrol/konqhtml/khttpoptdlg.cpp b/kcontrol/konqhtml/khttpoptdlg.cpp index 7272e6e93..68bbcab92 100644 --- a/kcontrol/konqhtml/khttpoptdlg.cpp +++ b/kcontrol/konqhtml/khttpoptdlg.cpp @@ -17,16 +17,16 @@ KHTTPOptions::KHTTPOptions(TDEConfig *config, TQString group, TQWidget *parent, le_languages = new TQLineEdit(this); lay->addWidget( le_languages ); - connect(le_languages, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotChanged())); + connect(le_languages, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotChanged())); lay->addSpacing(10); lay->addWidget( new TQLabel(i18n("Accept character sets:"), this) ); le_charsets = new TQLineEdit(this); lay->addWidget( le_charsets ); - connect(le_charsets, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotChanged())); + connect(le_charsets, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotChanged())); lay->addStretch(10); diff --git a/kcontrol/konqhtml/main.cpp b/kcontrol/konqhtml/main.cpp index a752a3a88..0794b390b 100644 --- a/kcontrol/konqhtml/main.cpp +++ b/kcontrol/konqhtml/main.cpp @@ -111,11 +111,11 @@ KJSParts::KJSParts(TDEConfig *config, TQWidget *parent, const char *name) // ### the groupname is duplicated in KJSParts::save java = new KJavaOptions( config, "Java/JavaScript Settings", this, name ); tab->addTab( java, i18n( "&Java" ) ); - connect( java, TQT_SIGNAL( changed( bool ) ), TQT_SIGNAL( changed( bool ) ) ); + connect( java, TQ_SIGNAL( changed( bool ) ), TQ_SIGNAL( changed( bool ) ) ); javascript = new KJavaScriptOptions( config, "Java/JavaScript Settings", this, name ); tab->addTab( javascript, i18n( "Java&Script" ) ); - connect( javascript, TQT_SIGNAL( changed( bool ) ), TQT_SIGNAL( changed( bool ) ) ); + connect( javascript, TQ_SIGNAL( changed( bool ) ), TQ_SIGNAL( changed( bool ) ) ); } KJSParts::~KJSParts() diff --git a/kcontrol/konqhtml/pluginopts.cpp b/kcontrol/konqhtml/pluginopts.cpp index 547182f2d..b36f7f1a7 100644 --- a/kcontrol/konqhtml/pluginopts.cpp +++ b/kcontrol/konqhtml/pluginopts.cpp @@ -63,12 +63,12 @@ KPluginOptions::KPluginOptions( TDEConfig* config, TQString group, TQWidget *par 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, 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() ) ); - connect( enableUserDemand, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChanged() ) ); - connect( priority, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotChanged() ) ); - connect( priority, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( updatePLabel(int) ) ); + connect( enablePluginsGloballyCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChanged() ) ); + connect( enablePluginsGloballyCB, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotTogglePluginsEnabled() ) ); + connect( enableHTTPOnly, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChanged() ) ); + connect( enableUserDemand, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChanged() ) ); + connect( priority, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slotChanged() ) ); + connect( priority, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( updatePLabel(int) ) ); TQFrame *hrule = new TQFrame(globalGB); hrule->setFrameStyle(TQFrame::HLine | TQFrame::Sunken); @@ -80,7 +80,7 @@ KPluginOptions::KPluginOptions( TDEConfig* config, TQString group, TQWidget *par TQPushButton *domainSpecPB = new TQPushButton(i18n("Domain-Specific Settin&gs"), globalGB); domainSpecPB->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed); - connect(domainSpecPB,TQT_SIGNAL(clicked()),TQT_SLOT(slotShowDomainDlg())); + connect(domainSpecPB,TQ_SIGNAL(clicked()),TQ_SLOT(slotShowDomainDlg())); domainSpecificDlg = new KDialogBase(KDialogBase::Swallow, i18n("Domain-Specific Policies"),KDialogBase::Close, @@ -88,7 +88,7 @@ KPluginOptions::KPluginOptions( TDEConfig* config, TQString group, TQWidget *par domainSpecific = new PluginDomainListView(config,group,this,domainSpecificDlg); domainSpecific->setMinimumSize(320,200); - connect(domainSpecific,TQT_SIGNAL(changed(bool)),TQT_SLOT(slotChanged())); + connect(domainSpecific,TQ_SIGNAL(changed(bool)),TQ_SLOT(slotChanged())); domainSpecificDlg->setMainWidget(domainSpecific); @@ -134,8 +134,8 @@ KPluginOptions::KPluginOptions( TDEConfig* config, TQString group, TQWidget *par m_widget->dirEdit->setMode(KFile::ExistingOnly | KFile::LocalOnly | KFile::Directory); // setup widgets - connect( m_widget->scanAtStartup, TQT_SIGNAL(clicked()), TQT_SLOT(change()) ); - connect( m_widget->scanButton, TQT_SIGNAL(clicked()), TQT_SLOT(scan()) ); + connect( m_widget->scanAtStartup, TQ_SIGNAL(clicked()), TQ_SLOT(change()) ); + connect( m_widget->scanButton, TQ_SIGNAL(clicked()), TQ_SLOT(scan()) ); m_changed = false; @@ -312,11 +312,11 @@ void KPluginOptions::scan() // start nspluginscan *m_nspluginscan << scanExe << "--verbose"; kdDebug() << "Running nspluginscan" << endl; - connect(m_nspluginscan, TQT_SIGNAL(readReady(KProcIO*)), - this, TQT_SLOT(progress(KProcIO*))); - connect(m_nspluginscan, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(scanDone())); - connect(m_progress, TQT_SIGNAL(cancelled()), this, TQT_SLOT(scanDone())); + connect(m_nspluginscan, TQ_SIGNAL(readReady(KProcIO*)), + this, TQ_SLOT(progress(KProcIO*))); + connect(m_nspluginscan, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(scanDone())); + connect(m_progress, TQ_SIGNAL(cancelled()), this, TQ_SLOT(scanDone())); m_nspluginscan->start(); } @@ -345,22 +345,22 @@ void KPluginOptions::scanDone() void KPluginOptions::dirInit() { m_widget->dirEdit->setCaption(i18n("Select Plugin Scan Folder")); - connect( m_widget->dirNew, TQT_SIGNAL(clicked()), TQT_SLOT(dirNew())); - connect( m_widget->dirRemove, TQT_SIGNAL(clicked()), TQT_SLOT(dirRemove())); - connect( m_widget->dirUp, TQT_SIGNAL(clicked()), TQT_SLOT(dirUp())); - connect( m_widget->dirDown, TQT_SIGNAL(clicked()), TQT_SLOT(dirDown()) ); - connect( m_widget->useArtsdsp, TQT_SIGNAL(clicked()),TQT_SLOT(change())); + connect( m_widget->dirNew, TQ_SIGNAL(clicked()), TQ_SLOT(dirNew())); + connect( m_widget->dirRemove, TQ_SIGNAL(clicked()), TQ_SLOT(dirRemove())); + connect( m_widget->dirUp, TQ_SIGNAL(clicked()), TQ_SLOT(dirUp())); + connect( m_widget->dirDown, TQ_SIGNAL(clicked()), TQ_SLOT(dirDown()) ); + connect( m_widget->useArtsdsp, TQ_SIGNAL(clicked()),TQ_SLOT(change())); connect( m_widget->dirEdit, - TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(dirEdited(const TQString &)) ); + TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(dirEdited(const TQString &)) ); connect( m_widget->dirList, - TQT_SIGNAL(executed(TQListBoxItem*)), - TQT_SLOT(dirSelect(TQListBoxItem*)) ); + TQ_SIGNAL(executed(TQListBoxItem*)), + TQ_SLOT(dirSelect(TQListBoxItem*)) ); connect( m_widget->dirList, - TQT_SIGNAL(selectionChanged(TQListBoxItem*)), - TQT_SLOT(dirSelect(TQListBoxItem*)) ); + TQ_SIGNAL(selectionChanged(TQListBoxItem*)), + TQ_SLOT(dirSelect(TQListBoxItem*)) ); } @@ -605,7 +605,7 @@ PluginDomainDialog::PluginDomainDialog(TQWidget *parent) : hl->addStretch(10); TQPushButton *closePB = new KPushButton(KStdGuiItem::close(),this); - connect(closePB,TQT_SIGNAL(clicked()),TQT_SLOT(slotClose())); + connect(closePB,TQ_SIGNAL(clicked()),TQ_SLOT(slotClose())); hl->addWidget(closePB); thisLayout->addLayout(hl); } diff --git a/kcontrol/konqhtml/policydlg.cpp b/kcontrol/konqhtml/policydlg.cpp index 9409023c1..03720f140 100644 --- a/kcontrol/konqhtml/policydlg.cpp +++ b/kcontrol/konqhtml/policydlg.cpp @@ -34,8 +34,8 @@ PolicyDialog::PolicyDialog( Policies *policies, TQWidget *parent, const char *na le_domain = new TQLineEdit(main); l->setBuddy( le_domain ); grid->addWidget(le_domain, 0, 1); - connect( le_domain,TQT_SIGNAL(textChanged( const TQString & )), - TQT_SLOT(slotTextChanged( const TQString &))); + connect( le_domain,TQ_SIGNAL(textChanged( const TQString & )), + TQ_SLOT(slotTextChanged( const TQString &))); TQWhatsThis::add(le_domain, i18n("Enter the name of a host (like www.trinitydesktop.org) " "or a domain, starting with a dot (like .trinitydesktop.org or .org)") ); diff --git a/kcontrol/konqhtml/userInterConfig.cpp b/kcontrol/konqhtml/userInterConfig.cpp index 4e18c6d38..d63512590 100644 --- a/kcontrol/konqhtml/userInterConfig.cpp +++ b/kcontrol/konqhtml/userInterConfig.cpp @@ -36,11 +36,11 @@ userInterConfig::userInterConfig(TDEConfig *config, TQString groupName, layout->addWidget(m_widget); layout->addStretch(); - connect(m_widget, TQT_SIGNAL(changed()), - this, TQT_SLOT(changed())); + connect(m_widget, TQ_SIGNAL(changed()), + this, TQ_SLOT(changed())); load(); - TQTimer::singleShot(0, this, TQT_SLOT(notChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(notChanged())); } void userInterConfig::notChanged() @@ -68,5 +68,5 @@ void userInterConfig::defaults() // TDEConfigDialogManager may queue an changed(false) signal, // so we make sure, that the module is labeled as changed, // while we manage some of the widgets ourselves - TQTimer::singleShot(0, this, TQT_SLOT(changed())); + TQTimer::singleShot(0, this, TQ_SLOT(changed())); } diff --git a/kcontrol/konqhtml/userInterOpts_impl.cpp b/kcontrol/konqhtml/userInterOpts_impl.cpp index efe3c7343..26eac0f60 100644 --- a/kcontrol/konqhtml/userInterOpts_impl.cpp +++ b/kcontrol/konqhtml/userInterOpts_impl.cpp @@ -39,17 +39,17 @@ userInterOpts::userInterOpts(TDEConfig *config, TQString groupName, : userInterOptsBase(parent, name), m_pConfig(config), m_groupName(groupName) { // connections - connect(m_pShowMMBInTabs, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pDynamicTabbarHide, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pDynamicTabbarCycle, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pNewTabsInBackground, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pOpenAfterCurrentPage, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pTabConfirm, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pPermanentCloseButton, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pHoverCloseButton, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pKonquerorTabforExternalURL, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pPopupsWithinTabs, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); - connect(m_pTabCloseActivatePrevious, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); + connect(m_pShowMMBInTabs, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pDynamicTabbarHide, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pDynamicTabbarCycle, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pNewTabsInBackground, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pOpenAfterCurrentPage, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pTabConfirm, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pPermanentCloseButton, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pHoverCloseButton, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pKonquerorTabforExternalURL, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pPopupsWithinTabs, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); + connect(m_pTabCloseActivatePrevious, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); } void userInterOpts::load() diff --git a/kcontrol/konsole/kcmkonsole.cpp b/kcontrol/konsole/kcmkonsole.cpp index 7dfb77dae..87487fbe0 100644 --- a/kcontrol/konsole/kcmkonsole.cpp +++ b/kcontrol/konsole/kcmkonsole.cpp @@ -60,28 +60,28 @@ KCMKonsole::KCMKonsole(TQWidget * parent, const char *name, const TQStringList&) ab->addAuthor("Andrea Rizzi",0, "rizzi@kde.org"); setAboutData( ab ); - connect(dialog->terminalSizeHintCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->warnCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->ctrldragCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->cutToBeginningOfLineCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->allowResizeCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->bidiCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->xonXoffCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->blinkingCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->frameCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->line_spacingSB,TQT_SIGNAL(valueChanged(int)), TQT_SLOT( changed() )); - connect(dialog->matchTabWinTitleCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->tabsCycleWheelCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->menuAcceleratorsCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->metaAsAltModeCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->realTransparency,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); - connect(dialog->silence_secondsSB,TQT_SIGNAL(valueChanged(int)), TQT_SLOT( changed() )); - connect(dialog->word_connectorLE,TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT( changed() )); - connect(dialog->SchemaEditor1, TQT_SIGNAL(changed()), TQT_SLOT( changed() )); - connect(dialog->SessionEditor1, TQT_SIGNAL(changed()), TQT_SLOT( changed() )); - connect(dialog->SchemaEditor1, TQT_SIGNAL(schemaListChanged(const TQStringList &,const TQStringList &)), - dialog->SessionEditor1, TQT_SLOT(schemaListChanged(const TQStringList &,const TQStringList &))); - connect(dialog->SessionEditor1, TQT_SIGNAL(getList()), dialog->SchemaEditor1, TQT_SLOT(getList())); + connect(dialog->terminalSizeHintCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->warnCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->ctrldragCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->cutToBeginningOfLineCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->allowResizeCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->bidiCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->xonXoffCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->blinkingCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->frameCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->line_spacingSB,TQ_SIGNAL(valueChanged(int)), TQ_SLOT( changed() )); + connect(dialog->matchTabWinTitleCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->tabsCycleWheelCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->menuAcceleratorsCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->metaAsAltModeCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->realTransparency,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() )); + connect(dialog->silence_secondsSB,TQ_SIGNAL(valueChanged(int)), TQ_SLOT( changed() )); + connect(dialog->word_connectorLE,TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT( changed() )); + connect(dialog->SchemaEditor1, TQ_SIGNAL(changed()), TQ_SLOT( changed() )); + connect(dialog->SessionEditor1, TQ_SIGNAL(changed()), TQ_SLOT( changed() )); + connect(dialog->SchemaEditor1, TQ_SIGNAL(schemaListChanged(const TQStringList &,const TQStringList &)), + dialog->SessionEditor1, TQ_SLOT(schemaListChanged(const TQStringList &,const TQStringList &))); + connect(dialog->SessionEditor1, TQ_SIGNAL(getList()), dialog->SchemaEditor1, TQ_SLOT(getList())); } void KCMKonsole::load() diff --git a/kcontrol/konsole/schemaeditor.cpp b/kcontrol/konsole/schemaeditor.cpp index dfa4dbefe..801880b8b 100644 --- a/kcontrol/konsole/schemaeditor.cpp +++ b/kcontrol/konsole/schemaeditor.cpp @@ -75,7 +75,7 @@ SchemaEditor::SchemaEditor(TQWidget * parent, const char *name) defaultSchema = ""; spix = new TDESharedPixmap; - connect(spix, TQT_SIGNAL(done(bool)), TQT_SLOT(previewLoaded(bool))); + connect(spix, TQ_SIGNAL(done(bool)), TQ_SLOT(previewLoaded(bool))); DCOPClient *client = kapp->dcopClient(); if (!client->isAttached()) @@ -94,29 +94,29 @@ SchemaEditor::SchemaEditor(TQWidget * parent, const char *name) TDEGlobal::locale()->insertCatalogue("konsole"); // For schema translations - connect(imageBrowse, TQT_SIGNAL(clicked()), this, TQT_SLOT(imageSelect())); - connect(saveButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(saveCurrent())); - connect(removeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeCurrent())); - connect(colorCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotColorChanged(int))); - connect(typeCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotTypeChanged(int))); - connect(schemaList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSchema(int))); - connect(shadeColor, TQT_SIGNAL(changed(const TQColor&)), this, TQT_SLOT(updatePreview())); - connect(shadeSlide, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(updatePreview())); - connect(transparencyCheck, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(updatePreview())); - connect(backgndLine, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(updatePreview())); - - connect(titleLine, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(schemaModified())); - connect(shadeColor, TQT_SIGNAL(changed(const TQColor&)), this, TQT_SLOT(schemaModified())); - connect(shadeSlide, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(schemaModified())); - connect(transparencyCheck, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(schemaModified())); - connect(modeCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(schemaModified())); - connect(backgndLine, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(schemaModified())); - connect(transparentCheck, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(schemaModified())); - connect(boldCheck, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(schemaModified())); - connect(colorButton, TQT_SIGNAL(changed(const TQColor&)), this, TQT_SLOT(schemaModified())); - connect(backgndLine, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(schemaModified())); - - connect(defaultSchemaCB, TQT_SIGNAL(toggled(bool)), this, TQT_SIGNAL(changed())); + connect(imageBrowse, TQ_SIGNAL(clicked()), this, TQ_SLOT(imageSelect())); + connect(saveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(saveCurrent())); + connect(removeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeCurrent())); + connect(colorCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotColorChanged(int))); + connect(typeCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotTypeChanged(int))); + connect(schemaList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSchema(int))); + connect(shadeColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(updatePreview())); + connect(shadeSlide, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updatePreview())); + connect(transparencyCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updatePreview())); + connect(backgndLine, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(updatePreview())); + + connect(titleLine, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(schemaModified())); + connect(shadeColor, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(schemaModified())); + connect(shadeSlide, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(schemaModified())); + connect(transparencyCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(schemaModified())); + connect(modeCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(schemaModified())); + connect(backgndLine, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(schemaModified())); + connect(transparentCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(schemaModified())); + connect(boldCheck, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(schemaModified())); + connect(colorButton, TQ_SIGNAL(changed(const TQColor&)), this, TQ_SLOT(schemaModified())); + connect(backgndLine, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(schemaModified())); + + connect(defaultSchemaCB, TQ_SIGNAL(toggled(bool)), this, TQ_SIGNAL(changed())); removeButton->setEnabled( schemaList->currentItem() ); } @@ -230,7 +230,7 @@ void SchemaEditor::loadAllSchema(TQString currentFile) { TQStringList list = TDEGlobal::dirs()->findAllResources("data", "konsole/*.schema"); TQStringList::ConstIterator it; - disconnect(schemaList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSchema(int))); + disconnect(schemaList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSchema(int))); schemaList->clear(); TQListBoxItem* currentItem = 0; @@ -253,7 +253,7 @@ void SchemaEditor::loadAllSchema(TQString currentFile) schemaList->sort(); schemaList->setCurrentItem(0); // select the first added item correctly too schemaList->setCurrentItem(currentItem); - connect(schemaList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSchema(int))); + connect(schemaList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSchema(int))); schemaListChanged(); } @@ -528,11 +528,11 @@ void SchemaEditor::readSchema(int num) } if(schMod) { - disconnect(schemaList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSchema(int))); + disconnect(schemaList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSchema(int))); schemaList->setCurrentItem(oldSchema); querySave(); schemaList->setCurrentItem(num); - connect(schemaList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSchema(int))); + connect(schemaList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSchema(int))); schMod=false; } diff --git a/kcontrol/konsole/sessioneditor.cpp b/kcontrol/konsole/sessioneditor.cpp index 290541d12..e6ed3ee4c 100644 --- a/kcontrol/konsole/sessioneditor.cpp +++ b/kcontrol/konsole/sessioneditor.cpp @@ -60,20 +60,20 @@ SessionEditor::SessionEditor(TQWidget * parent, const char *name) TDEGlobal::iconLoader()->addAppDir( "konsole" ); directoryLine->setMode(KFile::Directory); - connect(sessionList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSession(int))); - connect(saveButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(saveCurrent())); - connect(removeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeCurrent())); + connect(sessionList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSession(int))); + connect(saveButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(saveCurrent())); + connect(removeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeCurrent())); - connect(nameLine, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(sessionModified())); - connect(directoryLine, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(sessionModified())); - connect(executeLine, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(sessionModified())); - connect(termLine, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(sessionModified())); + connect(nameLine, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(sessionModified())); + connect(directoryLine, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(sessionModified())); + connect(executeLine, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(sessionModified())); + connect(termLine, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(sessionModified())); - connect(previewIcon, TQT_SIGNAL(iconChanged(TQString)), this, TQT_SLOT(sessionModified())); + connect(previewIcon, TQ_SIGNAL(iconChanged(TQString)), this, TQ_SLOT(sessionModified())); - connect(fontCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(sessionModified())); - connect(keytabCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(sessionModified())); - connect(schemaCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(sessionModified())); + connect(fontCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(sessionModified())); + connect(keytabCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(sessionModified())); + connect(schemaCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(sessionModified())); } SessionEditor::~SessionEditor() @@ -190,12 +190,12 @@ void SessionEditor::readSession(int num) KSimpleConfig* co; if(sesMod) { - disconnect(sessionList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSession(int))); + disconnect(sessionList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSession(int))); sessionList->setCurrentItem(oldSession); querySave(); sessionList->setCurrentItem(num); - connect(sessionList, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(readSession(int))); + connect(sessionList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSession(int))); sesMod=false; } if( sessionList->item(num) ) diff --git a/kcontrol/kthememanager/knewthemedlg.cpp b/kcontrol/kthememanager/knewthemedlg.cpp index 76af5490a..220408ab9 100644 --- a/kcontrol/kthememanager/knewthemedlg.cpp +++ b/kcontrol/kthememanager/knewthemedlg.cpp @@ -28,7 +28,7 @@ KNewThemeDlg::KNewThemeDlg( TQWidget * parent, const char * name ) { m_base = new NewThemeWidget( this, "new_theme_base" ); setMainWidget( m_base ); - connect( m_base->leName, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotThemeNameChanged( const TQString & ) ) ); + connect( m_base->leName, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotThemeNameChanged( const TQString & ) ) ); slotThemeNameChanged( m_base->leName->text() ); } diff --git a/kcontrol/kthememanager/kthememanager.cpp b/kcontrol/kthememanager/kthememanager.cpp index 6a4132745..4d3791511 100644 --- a/kcontrol/kthememanager/kthememanager.cpp +++ b/kcontrol/kthememanager/kthememanager.cpp @@ -66,26 +66,26 @@ kthememanager::kthememanager( TQWidget *parent, const char *name ) dlg->lvThemes->setColumnWidthMode( 0, TQListView::Maximum ); - connect( ( TQObject * )dlg->btnInstall, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotInstallTheme() ) ); + connect( ( TQObject * )dlg->btnInstall, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotInstallTheme() ) ); - connect( ( TQObject * )dlg->btnRemove, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotRemoveTheme() ) ); + connect( ( TQObject * )dlg->btnRemove, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotRemoveTheme() ) ); - connect( ( TQObject * )dlg->btnCreate, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotCreateTheme() ) ); + connect( ( TQObject * )dlg->btnCreate, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotCreateTheme() ) ); - connect( ( TQObject * )dlg->lvThemes, TQT_SIGNAL( clicked( TQListViewItem * ) ), - this, TQT_SLOT( slotThemeChanged( TQListViewItem * ) ) ); + connect( ( TQObject * )dlg->lvThemes, TQ_SIGNAL( clicked( TQListViewItem * ) ), + this, TQ_SLOT( slotThemeChanged( TQListViewItem * ) ) ); - connect( ( TQObject * )dlg->lvThemes, TQT_SIGNAL( currentChanged( TQListViewItem * ) ), - this, TQT_SLOT( slotThemeChanged( TQListViewItem * ) ) ); + connect( ( TQObject * )dlg->lvThemes, TQ_SIGNAL( currentChanged( TQListViewItem * ) ), + this, TQ_SLOT( slotThemeChanged( TQListViewItem * ) ) ); - connect( this, TQT_SIGNAL( filesDropped( const KURL::List& ) ), - this, TQT_SLOT( updateButton() ) ); + connect( this, TQ_SIGNAL( filesDropped( const KURL::List& ) ), + this, TQ_SLOT( updateButton() ) ); - connect( ( TQObject * )dlg->lvThemes, TQT_SIGNAL( clicked( TQListViewItem * ) ), - this, TQT_SLOT( updateButton() ) ); + connect( ( TQObject * )dlg->lvThemes, TQ_SIGNAL( clicked( TQListViewItem * ) ), + this, TQ_SLOT( updateButton() ) ); m_origTheme = new KTheme( this, true ); // stores the defaults to get back to m_origTheme->setName( ORIGINAL_THEME ); diff --git a/kcontrol/launch/kcmlaunch.cpp b/kcontrol/launch/kcmlaunch.cpp index 33f78e18e..06c41eaba 100644 --- a/kcontrol/launch/kcmlaunch.cpp +++ b/kcontrol/launch/kcmlaunch.cpp @@ -71,9 +71,9 @@ LaunchConfig::LaunchConfig(TQWidget * parent, const char * name, const TQStringL cb_busyCursor->insertItem( i18n( "Blinking Cursor" ), 2 ); cb_busyCursor->insertItem( i18n( "Bouncing Cursor" ), 3 ); GroupBox1Layout->addWidget( cb_busyCursor, 0, 0 ); - connect( cb_busyCursor, TQT_SIGNAL( activated(int) ), - TQT_SLOT ( slotBusyCursor(int))); - connect( cb_busyCursor, TQT_SIGNAL( activated(int) ), TQT_SLOT( checkChanged() ) ); + connect( cb_busyCursor, TQ_SIGNAL( activated(int) ), + TQ_SLOT ( slotBusyCursor(int))); + connect( cb_busyCursor, TQ_SIGNAL( activated(int) ), TQ_SLOT( checkChanged() ) ); lbl_cursorTimeout = new TQLabel( GroupBox1, "TextLabel1" ); lbl_cursorTimeout->setText( i18n( "&Startup indication timeout:" ) ); @@ -83,8 +83,8 @@ LaunchConfig::LaunchConfig(TQWidget * parent, const char * name, const TQStringL sb_cursorTimeout->setSuffix( i18n(" sec") ); GroupBox1Layout->addWidget( sb_cursorTimeout, 2, 1 ); lbl_cursorTimeout->setBuddy( sb_cursorTimeout ); - connect( sb_cursorTimeout, TQT_SIGNAL( valueChanged(int) ), - TQT_SLOT( checkChanged() ) ); + connect( sb_cursorTimeout, TQ_SIGNAL( valueChanged(int) ), + TQ_SLOT( checkChanged() ) ); TQGroupBox* GroupBox2 = new TQGroupBox( this, "GroupBox2" ); GroupBox2->setTitle( i18n( "Taskbar &Notification" ) ); @@ -108,9 +108,9 @@ LaunchConfig::LaunchConfig(TQWidget * parent, const char * name, const TQStringL cb_taskbarButton = new TQCheckBox( GroupBox2, "cb_taskbarButton" ); cb_taskbarButton->setText( i18n( "Enable &taskbar notification" ) ); GroupBox2Layout->addMultiCellWidget( cb_taskbarButton, 0, 0, 0, 1 ); - connect( cb_taskbarButton, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotTaskbarButton(bool))); - connect( cb_taskbarButton, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( checkChanged())); + connect( cb_taskbarButton, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotTaskbarButton(bool))); + connect( cb_taskbarButton, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( checkChanged())); lbl_taskbarTimeout = new TQLabel( GroupBox2, "TextLabel2" ); lbl_taskbarTimeout->setText( i18n( "Start&up indication timeout:" ) ); @@ -120,8 +120,8 @@ LaunchConfig::LaunchConfig(TQWidget * parent, const char * name, const TQStringL sb_taskbarTimeout->setSuffix( i18n(" sec") ); GroupBox2Layout->addWidget( sb_taskbarTimeout, 1, 1 ); lbl_taskbarTimeout->setBuddy( sb_taskbarTimeout ); - connect( sb_taskbarTimeout, TQT_SIGNAL( valueChanged(int) ), - TQT_SLOT( checkChanged() ) ); + connect( sb_taskbarTimeout, TQ_SIGNAL( valueChanged(int) ), + TQ_SLOT( checkChanged() ) ); Form1Layout->addStretch(); diff --git a/kcontrol/locale/kcmlocale.cpp b/kcontrol/locale/kcmlocale.cpp index 3d1736676..be2b1d16f 100644 --- a/kcontrol/locale/kcmlocale.cpp +++ b/kcontrol/locale/kcmlocale.cpp @@ -55,34 +55,34 @@ TDELocaleConfig::TDELocaleConfig(TDELocale *locale, m_labCountry = new TQLabel(this, I18N_NOOP("Country or region:")); m_comboCountry = new KLanguageButton( this ); m_labCountry->setBuddy(m_comboCountry); - connect( m_comboCountry, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(changedCountry(const TQString &)) ); + connect( m_comboCountry, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(changedCountry(const TQString &)) ); m_labLang = new TQLabel(this, I18N_NOOP("Languages:")); m_labLang->setAlignment( AlignTop ); m_languages = new TQListBox(this); - connect(m_languages, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(slotCheckButtons())); + connect(m_languages, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(slotCheckButtons())); TQWidget * vb = new TQWidget(this); TQVBoxLayout * boxlay = new TQVBoxLayout(vb, 0, KDialog::spacingHint()); m_addLanguage = new KLanguageButton(TQString::null, vb, I18N_NOOP("Add Language")); boxlay->add(m_addLanguage); - connect(m_addLanguage, TQT_SIGNAL(activated(const TQString &)), - TQT_SLOT(slotAddLanguage(const TQString &))); + connect(m_addLanguage, TQ_SIGNAL(activated(const TQString &)), + TQ_SLOT(slotAddLanguage(const TQString &))); m_removeLanguage = new TQPushButton(vb, I18N_NOOP("Remove Language")); m_upButton = new TQPushButton(vb, I18N_NOOP("Move Up")); m_downButton = new TQPushButton(vb, I18N_NOOP("Move Down")); boxlay->add(m_removeLanguage); boxlay->add(m_upButton); boxlay->add(m_downButton); - connect(m_removeLanguage, TQT_SIGNAL(clicked()), - TQT_SLOT(slotRemoveLanguage())); - connect(m_upButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotLanguageUp())); - connect(m_downButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotLanguageDown())); + connect(m_removeLanguage, TQ_SIGNAL(clicked()), + TQ_SLOT(slotRemoveLanguage())); + connect(m_upButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotLanguageUp())); + connect(m_downButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotLanguageDown())); boxlay->insertStretch(-1); // #### HPB: This should be implemented for KDE 3 @@ -113,9 +113,9 @@ TDELocaleConfig::TDELocaleConfig(TDELocale *locale, languageSelectorLayout->addStretch(); lay->addMultiCellLayout(languageSelectorLayout, 3, 3, 0, 2); - connect( installLanguage, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotInstallLanguage()) ); - connect( uninstallLanguage, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUninstallLanguage()) ); - connect( selectLanguage, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectLanguage()) ); + connect( installLanguage, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotInstallLanguage()) ); + connect( uninstallLanguage, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUninstallLanguage()) ); + connect( selectLanguage, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectLanguage()) ); #endif } @@ -126,8 +126,8 @@ void TDELocaleConfig::slotInstallLanguage() *proc << "tdesu"; *proc << "qt-language-selector --mode install"; - TQApplication::connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLanguageSelectorExited(TDEProcess *))); + TQApplication::connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLanguageSelectorExited(TDEProcess *))); setEnabled(false); proc->start(); } @@ -138,8 +138,8 @@ void TDELocaleConfig::slotUninstallLanguage() *proc << "tdesu"; *proc << "qt-language-selector --mode uninstall"; - TQApplication::connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLanguageSelectorExited(TDEProcess *))); + TQApplication::connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLanguageSelectorExited(TDEProcess *))); setEnabled(false); proc->start(); } @@ -150,8 +150,8 @@ void TDELocaleConfig::slotSelectLanguage() *proc << "tdesu"; *proc << "qt-language-selector --mode select"; - TQApplication::connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLanguageSelectorExited(TDEProcess *))); + TQApplication::connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLanguageSelectorExited(TDEProcess *))); setEnabled(false); proc->start(); } diff --git a/kcontrol/locale/klocalesample.cpp b/kcontrol/locale/klocalesample.cpp index 4e09726b4..aac454061 100644 --- a/kcontrol/locale/klocalesample.cpp +++ b/kcontrol/locale/klocalesample.cpp @@ -78,7 +78,7 @@ TDELocaleSample::TDELocaleSample(TDELocale *locale, lay->setColStretch(1, 3); TQTimer *timer = new TQTimer(this, "clock_timer"); - connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateTime())); + connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateTime())); timer->start(1000); } diff --git a/kcontrol/locale/localemon.cpp b/kcontrol/locale/localemon.cpp index 6d37cb15f..85bb44195 100644 --- a/kcontrol/locale/localemon.cpp +++ b/kcontrol/locale/localemon.cpp @@ -55,22 +55,22 @@ TDELocaleConfigMoney::TDELocaleConfigMoney(TDELocale *locale, lay->addWidget(m_labMonCurSym, 0, 0); m_edMonCurSym = new TQLineEdit(this); lay->addWidget(m_edMonCurSym, 0, 1); - connect( m_edMonCurSym, TQT_SIGNAL( textChanged(const TQString &) ), - TQT_SLOT( slotMonCurSymChanged(const TQString &) ) ); + connect( m_edMonCurSym, TQ_SIGNAL( textChanged(const TQString &) ), + TQ_SLOT( slotMonCurSymChanged(const TQString &) ) ); m_labMonDecSym = new TQLabel(this, I18N_NOOP("Decimal symbol:")); lay->addWidget(m_labMonDecSym, 1, 0); m_edMonDecSym = new TQLineEdit(this); lay->addWidget(m_edMonDecSym, 1, 1); - connect( m_edMonDecSym, TQT_SIGNAL( textChanged(const TQString &) ), - TQT_SLOT( slotMonDecSymChanged(const TQString &) ) ); + connect( m_edMonDecSym, TQ_SIGNAL( textChanged(const TQString &) ), + TQ_SLOT( slotMonDecSymChanged(const TQString &) ) ); m_labMonThoSep = new TQLabel(this, I18N_NOOP("Thousands separator:")); lay->addWidget(m_labMonThoSep, 2, 0); m_edMonThoSep = new TQLineEdit(this); lay->addWidget(m_edMonThoSep, 2, 1); - connect( m_edMonThoSep, TQT_SIGNAL( textChanged(const TQString &) ), - TQT_SLOT( slotMonThoSepChanged(const TQString &) ) ); + connect( m_edMonThoSep, TQ_SIGNAL( textChanged(const TQString &) ), + TQ_SLOT( slotMonThoSepChanged(const TQString &) ) ); m_labMonFraDig = new TQLabel(this, I18N_NOOP("Fract digits:")); lay->addWidget(m_labMonFraDig, 3, 0); @@ -78,34 +78,34 @@ TDELocaleConfigMoney::TDELocaleConfigMoney(TDELocale *locale, m_inMonFraDig->setRange(0, 10, 1, false); lay->addWidget(m_inMonFraDig, 3, 1); - connect( m_inMonFraDig, TQT_SIGNAL( valueChanged(int) ), - TQT_SLOT( slotMonFraDigChanged(int) ) ); + connect( m_inMonFraDig, TQ_SIGNAL( valueChanged(int) ), + TQ_SLOT( slotMonFraDigChanged(int) ) ); TQWidget *vbox = new TQVBox(this); lay->addMultiCellWidget(vbox, 4, 4, 0, 1); TQVGroupBox *vgrp; vgrp = new TQVGroupBox( vbox, I18N_NOOP("Positive") ); m_chMonPosPreCurSym = new TQCheckBox(vgrp, I18N_NOOP("Prefix currency symbol")); - connect( m_chMonPosPreCurSym, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotMonPosPreCurSymChanged() ) ); + connect( m_chMonPosPreCurSym, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotMonPosPreCurSymChanged() ) ); TQHBox *hbox; hbox = new TQHBox( vgrp ); m_labMonPosMonSignPos = new TQLabel(hbox, I18N_NOOP("Sign position:")); m_cmbMonPosMonSignPos = new TQComboBox(hbox, "signpos"); - connect( m_cmbMonPosMonSignPos, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotMonPosMonSignPosChanged(int) ) ); + connect( m_cmbMonPosMonSignPos, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotMonPosMonSignPosChanged(int) ) ); vgrp = new TQVGroupBox( vbox, I18N_NOOP("Negative") ); m_chMonNegPreCurSym = new TQCheckBox(vgrp, I18N_NOOP("Prefix currency symbol")); - connect( m_chMonNegPreCurSym, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotMonNegPreCurSymChanged() ) ); + connect( m_chMonNegPreCurSym, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotMonNegPreCurSymChanged() ) ); hbox = new TQHBox( vgrp ); m_labMonNegMonSignPos = new TQLabel(hbox, I18N_NOOP("Sign position:")); m_cmbMonNegMonSignPos = new TQComboBox(hbox, "signpos"); - connect( m_cmbMonNegMonSignPos, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotMonNegMonSignPosChanged(int) ) ); + connect( m_cmbMonNegMonSignPos, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotMonNegMonSignPosChanged(int) ) ); // insert some items int i = 5; diff --git a/kcontrol/locale/localenum.cpp b/kcontrol/locale/localenum.cpp index ca523d2e9..dcec347b1 100644 --- a/kcontrol/locale/localenum.cpp +++ b/kcontrol/locale/localenum.cpp @@ -47,32 +47,32 @@ TDELocaleConfigNumber::TDELocaleConfigNumber(TDELocale *locale, m_labDecSym = new TQLabel(this, I18N_NOOP("&Decimal symbol:")); m_edDecSym = new TQLineEdit(this); - connect( m_edDecSym, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotDecSymChanged(const TQString &) ) ); + connect( m_edDecSym, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotDecSymChanged(const TQString &) ) ); m_labDecSym->setBuddy(m_edDecSym); m_labThoSep = new TQLabel(this, I18N_NOOP("Tho&usands separator:")); m_edThoSep = new TQLineEdit(this); - connect( m_edThoSep, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotThoSepChanged(const TQString &) ) ); + connect( m_edThoSep, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotThoSepChanged(const TQString &) ) ); m_labThoSep->setBuddy(m_edThoSep); m_labMonPosSign = new TQLabel(this, I18N_NOOP("Positive si&gn:")); m_edMonPosSign = new TQLineEdit(this); - connect( m_edMonPosSign, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotMonPosSignChanged(const TQString &) ) ); + connect( m_edMonPosSign, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotMonPosSignChanged(const TQString &) ) ); m_labMonPosSign->setBuddy(m_edMonPosSign); m_labMonNegSign = new TQLabel(this, I18N_NOOP("&Negative sign:")); m_edMonNegSign = new TQLineEdit(this); - connect( m_edMonNegSign, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotMonNegSignChanged(const TQString &) ) ); + connect( m_edMonNegSign, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotMonNegSignChanged(const TQString &) ) ); m_labMonNegSign->setBuddy(m_edMonNegSign); lay->setColStretch(1, 1); - connect(this, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotLocaleChanged())); } TDELocaleConfigNumber::~TDELocaleConfigNumber() diff --git a/kcontrol/locale/localeother.cpp b/kcontrol/locale/localeother.cpp index 6cb8e9a8d..e2fdd910e 100644 --- a/kcontrol/locale/localeother.cpp +++ b/kcontrol/locale/localeother.cpp @@ -49,15 +49,15 @@ TDELocaleConfigOther::TDELocaleConfigOther(TDELocale *locale, lay->addWidget(m_labPageSize, 0, 0); m_combPageSize = new TQComboBox(this); lay->addWidget(m_combPageSize, 0, 1); - connect( m_combPageSize, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotPageSizeChanged(int) ) ); + connect( m_combPageSize, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotPageSizeChanged(int) ) ); m_labMeasureSystem = new TQLabel(this, I18N_NOOP("Measure system:")); lay->addWidget(m_labMeasureSystem, 1, 0); m_combMeasureSystem = new TQComboBox(this); lay->addWidget(m_combMeasureSystem, 1, 1); - connect( m_combMeasureSystem, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotMeasureSystemChanged(int) ) ); + connect( m_combMeasureSystem, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotMeasureSystemChanged(int) ) ); m_combPageSize->insertItem(TQString::null); m_combPageSize->insertItem(TQString::null); diff --git a/kcontrol/locale/localetime.cpp b/kcontrol/locale/localetime.cpp index 1e31f14f7..f9622dde5 100644 --- a/kcontrol/locale/localetime.cpp +++ b/kcontrol/locale/localetime.cpp @@ -202,8 +202,8 @@ TDELocaleConfigTime::TDELocaleConfigTime(TDELocale *_locale, m_labCalendarSystem = new TQLabel(this, I18N_NOOP("Calendar system:")); m_comboCalendarSystem = new TQComboBox(false, this); - connect(m_comboCalendarSystem, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotCalendarSystemChanged(int))); + connect(m_comboCalendarSystem, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotCalendarSystemChanged(int))); TQStringList tmpCalendars; tmpCalendars << TQString::null << TQString::null; m_comboCalendarSystem->insertStringList(tmpCalendars); @@ -212,29 +212,29 @@ TDELocaleConfigTime::TDELocaleConfigTime(TDELocale *_locale, m_comboTimeFmt = new TQComboBox(true, this); //m_edTimeFmt = m_comboTimeFmt->lineEdit(); //m_edTimeFmt = new TQLineEdit(this); - connect( m_comboTimeFmt, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotTimeFmtChanged(const TQString &) ) ); + connect( m_comboTimeFmt, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotTimeFmtChanged(const TQString &) ) ); m_labDateFmt = new TQLabel(this, I18N_NOOP("Date format:")); m_comboDateFmt = new TQComboBox(true, this); - connect( m_comboDateFmt, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotDateFmtChanged(const TQString &) ) ); + connect( m_comboDateFmt, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotDateFmtChanged(const TQString &) ) ); m_labDateFmtShort = new TQLabel(this, I18N_NOOP("Short date format:")); m_comboDateFmtShort = new TQComboBox(true, this); - connect( m_comboDateFmtShort, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotDateFmtShortChanged(const TQString &) ) ); + connect( m_comboDateFmtShort, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotDateFmtShortChanged(const TQString &) ) ); m_labWeekStartDay = new TQLabel(this, I18N_NOOP("First day of the week:")); m_comboWeekStartDay = new TQComboBox(false, this); - connect (m_comboWeekStartDay, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotWeekStartDayChanged(int))); + connect (m_comboWeekStartDay, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotWeekStartDayChanged(int))); updateWeekDayNames(); m_chDateMonthNamePossessive = new TQCheckBox(this, I18N_NOOP("Use declined form of month name")); - connect( m_chDateMonthNamePossessive, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotDateMonthNamePossChanged() ) ); + connect( m_chDateMonthNamePossessive, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotDateMonthNamePossChanged() ) ); lay->setColStretch(1, 1); } diff --git a/kcontrol/locale/toplevel.cpp b/kcontrol/locale/toplevel.cpp index 339405461..a0562c5fa 100644 --- a/kcontrol/locale/toplevel.cpp +++ b/kcontrol/locale/toplevel.cpp @@ -84,64 +84,64 @@ TDELocaleApplication::TDELocaleApplication(TQWidget *parent, const char* /*name* m_sample = new TDELocaleSample(m_locale, m_gbox); // getting signals from childs - connect(m_localemain, TQT_SIGNAL(localeChanged()), - this, TQT_SIGNAL(localeChanged())); - connect(m_localemain, TQT_SIGNAL(languageChanged()), - this, TQT_SIGNAL(languageChanged())); + connect(m_localemain, TQ_SIGNAL(localeChanged()), + this, TQ_SIGNAL(localeChanged())); + connect(m_localemain, TQ_SIGNAL(languageChanged()), + this, TQ_SIGNAL(languageChanged())); // run the slots on the childs - connect(this, TQT_SIGNAL(localeChanged()), - m_localemain, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localenum, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localemon, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localetime, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localeother, TQT_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localemain, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localenum, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localemon, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localetime, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localeother, TQ_SLOT(slotLocaleChanged())); // keep the example up to date // NOTE: this will make the sample be updated 6 times the first time // because combo boxes++ emits the change signal not only when the user changes // it, but also when it's changed by the program. - connect(m_localenum, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); - connect(m_localemon, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); - connect(m_localetime, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); + connect(m_localenum, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); + connect(m_localemon, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); + connect(m_localetime, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); // No examples for this yet - //connect(m_localeother, TQT_SIGNAL(slotLocaleChanged()), - //m_sample, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); + //connect(m_localeother, TQ_SIGNAL(slotLocaleChanged()), + //m_sample, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); // make sure we always have translated interface - connect(this, TQT_SIGNAL(languageChanged()), - this, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localemain, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localenum, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localemon, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localetime, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localeother, TQT_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + this, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localemain, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localenum, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localemon, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localetime, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localeother, TQ_SLOT(slotTranslate())); // mark it as changed when we change it. - connect(m_localemain, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localenum, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localemon, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localetime, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localeother, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); + connect(m_localemain, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localenum, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localemon, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localetime, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localeother, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); load(); } diff --git a/kcontrol/nics/nic.cpp b/kcontrol/nics/nic.cpp index 2ff9d2c3c..41512a183 100644 --- a/kcontrol/nics/nic.cpp +++ b/kcontrol/nics/nic.cpp @@ -103,8 +103,8 @@ KCMNic::KCMNic(TQWidget *parent, const char * name, const TQStringList &) hbox->addStretch(1); TQTimer* timer=new TQTimer(this); timer->start(60000); - connect(m_updateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(update())); - connect(timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(update())); + connect(m_updateButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(update())); + connect(timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(update())); update(); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcminfo"), diff --git a/kcontrol/performance/kcmperformance.cpp b/kcontrol/performance/kcmperformance.cpp index 84959e34d..c6d1d9068 100644 --- a/kcontrol/performance/kcmperformance.cpp +++ b/kcontrol/performance/kcmperformance.cpp @@ -52,11 +52,11 @@ Config::Config( TQWidget* parent_P, const char* ) tabs = new TQTabWidget( this ); konqueror_widget = new Konqueror( tabs ); konqueror_widget->layout()->setMargin( KDialog::marginHint() ); - connect( konqueror_widget, TQT_SIGNAL( changed()), TQT_SLOT( changed())); + connect( konqueror_widget, TQ_SIGNAL( changed()), TQ_SLOT( changed())); tabs->addTab( konqueror_widget, i18n( "Konqueror" )); system_widget = new SystemWidget( tabs ); system_widget->layout()->setMargin( KDialog::marginHint() ); - connect( system_widget, TQT_SIGNAL( changed()), TQT_SLOT( changed())); + connect( system_widget, TQ_SIGNAL( changed()), TQ_SLOT( changed())); tabs->addTab( system_widget, i18n( "System" )); topLayout->add( tabs ); load(); @@ -110,7 +110,7 @@ KonquerorConfig::KonquerorConfig( TQWidget* parent_P, const char* ) TQVBoxLayout *topLayout = new TQVBoxLayout( this ); widget = new Konqueror( this ); - connect( widget, TQT_SIGNAL( changed()), TQT_SLOT( changed())); + connect( widget, TQ_SIGNAL( changed()), TQ_SLOT( changed())); topLayout->add( widget ); load(); } diff --git a/kcontrol/performance/konqueror.cpp b/kcontrol/performance/konqueror.cpp index 8cd82699b..199522729 100644 --- a/kcontrol/performance/konqueror.cpp +++ b/kcontrol/performance/konqueror.cpp @@ -51,9 +51,9 @@ Konqueror::Konqueror( TQWidget* parent_P ) "thus reducing resource requirements." "<p>Be aware that this also means that, if something goes wrong, " "all your browsing windows will be closed simultaneously." )); - connect( rb_never_reuse, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed())); - connect( rb_file_browsing_reuse, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed())); - connect( rb_always_reuse, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed())); + connect( rb_never_reuse, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); + connect( rb_file_browsing_reuse, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); + connect( rb_always_reuse, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); rb_file_browsing_reuse->setChecked( true ); TQString tmp = @@ -77,10 +77,10 @@ Konqueror::Konqueror( TQWidget* parent_P ) "so that windows will always open quickly." "<p><b>Warning:</b> In some cases, it is actually possible that this will " "reduce perceived performance." )); - connect( sb_preload_count, TQT_SIGNAL( valueChanged( int )), TQT_SLOT( preload_count_changed( int ))); - connect( sb_preload_count, TQT_SIGNAL( valueChanged( int )), TQT_SIGNAL( changed())); - connect( cb_preload_on_startup, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed())); - connect( cb_always_have_preloaded, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed())); + connect( sb_preload_count, TQ_SIGNAL( valueChanged( int )), TQ_SLOT( preload_count_changed( int ))); + connect( sb_preload_count, TQ_SIGNAL( valueChanged( int )), TQ_SIGNAL( changed())); + connect( cb_preload_on_startup, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); + connect( cb_always_have_preloaded, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); defaults(); } diff --git a/kcontrol/performance/system.cpp b/kcontrol/performance/system.cpp index 056e78193..43e8c4c43 100644 --- a/kcontrol/performance/system.cpp +++ b/kcontrol/performance/system.cpp @@ -51,7 +51,7 @@ SystemWidget::SystemWidget( TQWidget* parent_P ) " or turn on the developer mode for the crash handler).</p>" ); TQWhatsThis::add( cb_disable_tdebuildsycoca, tmp ); TQWhatsThis::add( label_tdebuildsycoca, tmp ); - connect( cb_disable_tdebuildsycoca, TQT_SIGNAL( clicked()), TQT_SIGNAL( changed())); + connect( cb_disable_tdebuildsycoca, TQ_SIGNAL( clicked()), TQ_SIGNAL( changed())); defaults(); } diff --git a/kcontrol/privacy/privacy.cpp b/kcontrol/privacy/privacy.cpp index 71fc3313b..0aa05a90e 100644 --- a/kcontrol/privacy/privacy.cpp +++ b/kcontrol/privacy/privacy.cpp @@ -126,7 +126,7 @@ Privacy::Privacy(TQWidget *parent, const char *name) clearFavIcons->setText(1, i18n("Clears the FavIcons cached from visited websites")); clearKPDFDocData->setText(1, i18n("Clears all KPDF document data files")); - connect(sw, TQT_SIGNAL(selectionChanged()), TQT_SLOT(changed())); + connect(sw, TQ_SIGNAL(selectionChanged()), TQ_SLOT(changed())); // store all entries in a list for easy access later on checklist.append(clearThumbnails); @@ -141,9 +141,9 @@ Privacy::Privacy(TQWidget *parent, const char *name) checklist.append(clearFavIcons); checklist.append(clearKPDFDocData); - connect(cleaningDialog->cleanupButton, TQT_SIGNAL(clicked()), TQT_SLOT(cleanup())); - connect(cleaningDialog->selectAllButton, TQT_SIGNAL(clicked()), TQT_SLOT(selectAll())); - connect(cleaningDialog->selectNoneButton, TQT_SIGNAL(clicked()), TQT_SLOT(selectNone())); + connect(cleaningDialog->cleanupButton, TQ_SIGNAL(clicked()), TQ_SLOT(cleanup())); + connect(cleaningDialog->selectAllButton, TQ_SIGNAL(clicked()), TQ_SLOT(selectAll())); + connect(cleaningDialog->selectNoneButton, TQ_SIGNAL(clicked()), TQ_SLOT(selectNone())); load(); } diff --git a/kcontrol/randr/ktimerdialog.cpp b/kcontrol/randr/ktimerdialog.cpp index 1c72b1ccc..140234a90 100644 --- a/kcontrol/randr/ktimerdialog.cpp +++ b/kcontrol/randr/ktimerdialog.cpp @@ -56,8 +56,8 @@ KTimerDialog::KTimerDialog( int msec, TimerStyle style, TQWidget *parent, if ( buttonMask & Cancel ) buttonOnTimeout = Cancel; - connect( totalTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotInternalTimeout() ) ); - connect( updateTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotUpdateTime() ) ); + connect( totalTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotInternalTimeout() ) ); + connect( updateTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotUpdateTime() ) ); // create the widgets mainWidget = new QVBox( this, "mainWidget" ); diff --git a/kcontrol/randr/tderandrapp.cpp b/kcontrol/randr/tderandrapp.cpp index e2a4b46f2..97e602496 100644 --- a/kcontrol/randr/tderandrapp.cpp +++ b/kcontrol/randr/tderandrapp.cpp @@ -28,7 +28,7 @@ KRandRApp::KRandRApp() : m_tray(new KRandRSystemTray(0L, "RANDRTray")) { - connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent())); + connect(&m_eventMergingTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(handleX11ConfigChangeEvent())); m_tray->show(); } diff --git a/kcontrol/randr/tderandrbindings.cpp b/kcontrol/randr/tderandrbindings.cpp index 5df10af1f..a5ad3fe6d 100644 --- a/kcontrol/randr/tderandrbindings.cpp +++ b/kcontrol/randr/tderandrbindings.cpp @@ -18,7 +18,7 @@ */ #ifndef NOSLOTS # define DEF( name, key3, key4, fnSlot ) \ - keys->insert( name, i18n(name), TQString(), key3, key4, this, TQT_SLOT(fnSlot) ) + keys->insert( name, i18n(name), TQString(), key3, key4, this, TQ_SLOT(fnSlot) ) #else # define DEF( name, key3, key4, fnSlot ) \ keys->insert( name, i18n(name), TQString(), key3, key4 ) diff --git a/kcontrol/randr/tderandrmodule.cpp b/kcontrol/randr/tderandrmodule.cpp index 39e00980d..f13a863b9 100644 --- a/kcontrol/randr/tderandrmodule.cpp +++ b/kcontrol/randr/tderandrmodule.cpp @@ -100,7 +100,7 @@ KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringLis screenLabel->setBuddy( m_screenSelector ); TQWhatsThis::add(m_screenSelector, i18n("The screen whose settings you would like to change can be selected using this drop-down list.")); - connect(m_screenSelector, TQT_SIGNAL(activated(int)), TQT_SLOT(slotScreenChanged(int))); + connect(m_screenSelector, TQ_SIGNAL(activated(int)), TQ_SLOT(slotScreenChanged(int))); if (numScreens() <= 1) m_screenSelector->setEnabled(false); @@ -110,7 +110,7 @@ KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringLis TQLabel *sizeLabel = new TQLabel(i18n("Screen size:"), sizeBox); m_sizeCombo = new KComboBox(sizeBox); TQWhatsThis::add(m_sizeCombo, i18n("The size, otherwise known as the resolution, of your screen can be selected from this drop-down list.")); - connect(m_sizeCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSizeChanged(int))); + connect(m_sizeCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(slotSizeChanged(int))); sizeLabel->setBuddy( m_sizeCombo ); TQHBox* refreshBox = new TQHBox(this); @@ -118,7 +118,7 @@ KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringLis TQLabel *rateLabel = new TQLabel(i18n("Refresh rate:"), refreshBox); m_refreshRates = new KComboBox(refreshBox); TQWhatsThis::add(m_refreshRates, i18n("The refresh rate of your screen can be selected from this drop-down list.")); - connect(m_refreshRates, TQT_SIGNAL(activated(int)), TQT_SLOT(slotRefreshChanged(int))); + connect(m_refreshRates, TQ_SIGNAL(activated(int)), TQ_SLOT(slotRefreshChanged(int))); rateLabel->setBuddy( m_refreshRates ); m_rotationGroup = new TQButtonGroup(2, TQt::Horizontal, i18n("Orientation (degrees counterclockwise)"), this); @@ -129,14 +129,14 @@ KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringLis m_applyOnStartup = new TQCheckBox(i18n("Apply settings on TDE startup"), this); topLayout->addWidget(m_applyOnStartup); TQWhatsThis::add(m_applyOnStartup, i18n("If this option is enabled the size and orientation settings will be used when TDE starts.")); - connect(m_applyOnStartup, TQT_SIGNAL(clicked()), TQT_SLOT(setChanged())); + connect(m_applyOnStartup, TQ_SIGNAL(clicked()), TQ_SLOT(setChanged())); TQHBox* syncBox = new TQHBox(this); syncBox->layout()->addItem(new TQSpacerItem(20, 1, TQSizePolicy::Maximum)); m_syncTrayApp = new TQCheckBox(i18n("Allow tray application to change startup settings"), syncBox); topLayout->addWidget(syncBox); TQWhatsThis::add(m_syncTrayApp, i18n("If this option is enabled, options set by the system tray applet will be saved and loaded when TDE starts instead of being temporary.")); - connect(m_syncTrayApp, TQT_SIGNAL(clicked()), TQT_SLOT(setChanged())); + connect(m_syncTrayApp, TQ_SIGNAL(clicked()), TQ_SLOT(setChanged())); topLayout->addStretch(1); @@ -155,11 +155,11 @@ void KRandRModule::addRotationButton(int thisRotation, bool checkbox) if (!checkbox) { TQRadioButton* thisButton = new TQRadioButton(RandRScreen::rotationName(thisRotation), m_rotationGroup); thisButton->setEnabled(thisRotation & currentScreen()->rotations()); - connect(thisButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotRotationChanged())); + connect(thisButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotRotationChanged())); } else { TQCheckBox* thisButton = new TQCheckBox(RandRScreen::rotationName(thisRotation), m_rotationGroup); thisButton->setEnabled(thisRotation & currentScreen()->rotations()); - connect(thisButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotRotationChanged())); + connect(thisButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotRotationChanged())); } } diff --git a/kcontrol/randr/tderandrpassivepopup.cpp b/kcontrol/randr/tderandrpassivepopup.cpp index c938a31fc..b0e78087c 100644 --- a/kcontrol/randr/tderandrpassivepopup.cpp +++ b/kcontrol/randr/tderandrpassivepopup.cpp @@ -28,7 +28,7 @@ KRandrPassivePopup::KRandrPassivePopup( TQWidget *parent, const char *name, WFlags f ) : KPassivePopup( parent, name, f ) { - connect( &update_timer, TQT_SIGNAL( timeout()), TQT_SLOT( slotPositionSelf())); + connect( &update_timer, TQ_SIGNAL( timeout()), TQ_SLOT( slotPositionSelf())); } KRandrPassivePopup* KRandrPassivePopup::message( const TQString &caption, const TQString &text, @@ -95,7 +95,7 @@ bool KRandrPassivePopup::eventFilter( TQObject* o, TQEvent* e ) { if( e->type() == TQEvent::Move && o->isWidgetType() && watched_widgets.contains( static_cast<TQWidget*>( o ))) - TQTimer::singleShot( 0, this, TQT_SLOT( slotPositionSelf())); + TQTimer::singleShot( 0, this, TQ_SLOT( slotPositionSelf())); return false; } diff --git a/kcontrol/randr/tderandrtray.cpp b/kcontrol/randr/tderandrtray.cpp index 6d44c3914..a5613eb2e 100644 --- a/kcontrol/randr/tderandrtray.cpp +++ b/kcontrol/randr/tderandrtray.cpp @@ -59,10 +59,10 @@ KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name) , m_help(new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false, actionCollection())) { TDEPopupMenu *help = m_help->menu(); - help->connectItem(KHelpMenu::menuHelpContents, this, TQT_SLOT(slotHelpContents())); + help->connectItem(KHelpMenu::menuHelpContents, this, TQ_SLOT(slotHelpContents())); setPixmap(KSystemTray::loadIcon("randr")); setAlignment(TQt::AlignHCenter | TQt::AlignVCenter); - connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(_quit())); + connect(this, TQ_SIGNAL(quitSelected()), this, TQ_SLOT(_quit())); TQToolTip::add(this, i18n("Screen resize & rotate")); my_parent = parent; @@ -75,10 +75,10 @@ KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name) globalKeys->setEnabled(true); globalKeys->updateConnections(); - connect(kapp, TQT_SIGNAL(settingsChanged(int)), TQT_SLOT(slotSettingsChanged(int))); + connect(kapp, TQ_SIGNAL(settingsChanged(int)), TQ_SLOT(slotSettingsChanged(int))); #if (TQT_VERSION-0 >= 0x030200) // XRANDR support -// connect(this, TQT_SIGNAL(screenSizeChanged(int, int)), kapp->desktop(), TQT_SLOT( desktopResized())); +// connect(this, TQ_SIGNAL(screenSizeChanged(int, int)), kapp->desktop(), TQ_SLOT( desktopResized())); #endif randr_display = XOpenDisplay(NULL); @@ -98,12 +98,12 @@ KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name) #ifdef WITH_TDEHWLIB TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); - connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(deviceChanged(TDEGenericDevice*))); + connect(hwdevices, TQ_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQ_SLOT(deviceChanged(TDEGenericDevice*))); #endif } /*! - * \b TQT_SLOT which called if tderandrtray is exited by the user. In this case the user + * \b TQ_SLOT which called if tderandrtray is exited by the user. In this case the user * is asked through a yes/no box if "KRandRTray should start automatically on log in" and the * result is written to the KDE configfile. */ @@ -271,7 +271,7 @@ void KRandRSystemTray::contextMenuAboutToShow(TDEPopupMenu* menu) m_screenPopups.append(subMenu); populateMenu(subMenu); lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1), subMenu); - connect(subMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotScreenActivated())); + connect(subMenu, TQ_SIGNAL(activated(int)), TQ_SLOT(slotScreenActivated())); } } @@ -293,7 +293,7 @@ void KRandRSystemTray::contextMenuAboutToShow(TDEPopupMenu* menu) menu->setItemChecked(lastIndex, true); } menu->setItemEnabled(lastIndex, t_config->readBoolEntry("EnableICC", false)); - menu->connectItem(lastIndex, this, TQT_SLOT(slotColorProfileChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotColorProfileChanged(int))); } if (valid) { @@ -303,10 +303,10 @@ void KRandRSystemTray::contextMenuAboutToShow(TDEPopupMenu* menu) if (!displayProfiles.isEmpty()) { menu->insertTitle(SmallIcon("background"), i18n("Display Profiles")); lastIndex = menu->insertItem(SmallIcon("bookmark"), "<default>"); - menu->connectItem(lastIndex, this, TQT_SLOT(slotDisplayProfileChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotDisplayProfileChanged(int))); for (TQStringList::Iterator t(displayProfiles.begin()); t != displayProfiles.end(); ++t) { lastIndex = menu->insertItem(SmallIcon("bookmark"), *t); - menu->connectItem(lastIndex, this, TQT_SLOT(slotDisplayProfileChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotDisplayProfileChanged(int))); } } } @@ -314,17 +314,17 @@ void KRandRSystemTray::contextMenuAboutToShow(TDEPopupMenu* menu) menu->insertTitle(SmallIcon("randr"), i18n("Global Configuration")); TDEAction *actColors = new TDEAction( i18n( "Configure Displays..." ), - SmallIconSet( "configure" ), TDEShortcut(), this, TQT_SLOT( slotDisplayConfig() ), + SmallIconSet( "configure" ), TDEShortcut(), this, TQ_SLOT( slotDisplayConfig() ), actionCollection() ); actColors->plug( menu ); // TDEAction *actPrefs = new TDEAction( i18n( "Configure Display..." ), -// SmallIconSet( "configure" ), TDEShortcut(), this, TQT_SLOT( slotPrefs() ), +// SmallIconSet( "configure" ), TDEShortcut(), this, TQ_SLOT( slotPrefs() ), // actionCollection() ); // actPrefs->plug( menu ); TDEAction *actSKeys = new TDEAction( i18n( "Configure Shortcut Keys..." ), - SmallIconSet( "configure" ), TDEShortcut(), this, TQT_SLOT( slotSKeys() ), + SmallIconSet( "configure" ), TDEShortcut(), this, TQ_SLOT( slotSKeys() ), actionCollection() ); actSKeys->plug( menu ); @@ -442,7 +442,7 @@ void KRandRSystemTray::populateMenu(TDEPopupMenu* menu) menu->setItemChecked(lastIndex, true); menu->setItemParameter(lastIndex, highestIndex); - menu->connectItem(lastIndex, this, TQT_SLOT(slotResolutionChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotResolutionChanged(int))); } delete [] sizeSort; sizeSort = 0L; @@ -460,7 +460,7 @@ void KRandRSystemTray::populateMenu(TDEPopupMenu* menu) menu->setItemChecked(lastIndex, true); menu->setItemParameter(lastIndex, 1 << i); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOrientationChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotOrientationChanged(int))); } } } @@ -478,7 +478,7 @@ void KRandRSystemTray::populateMenu(TDEPopupMenu* menu) menu->setItemChecked(lastIndex, true); menu->setItemParameter(lastIndex, i); - menu->connectItem(lastIndex, this, TQT_SLOT(slotRefreshRateChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotRefreshRateChanged(int))); } } @@ -764,7 +764,7 @@ void KRandRSystemTray::addOutputMenu(TDEPopupMenu* menu) lastIndex = menu->insertItem(i18n("%1 (Active)").arg(output_name)); menu->setItemChecked(lastIndex, true); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotOutputChanged(int))); menu->setItemParameter(lastIndex, i); connected_displays++; @@ -786,7 +786,7 @@ void KRandRSystemTray::addOutputMenu(TDEPopupMenu* menu) lastIndex = menu->insertItem(i18n("%1 (Connected, Inactive)").arg(output_name)); menu->setItemChecked(lastIndex, false); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotOutputChanged(int))); menu->setItemParameter(lastIndex, i); connected_displays++; @@ -809,7 +809,7 @@ void KRandRSystemTray::addOutputMenu(TDEPopupMenu* menu) lastIndex = menu->insertItem(i18n("%1 (Disconnected, Inactive)").arg(output_name)); menu->setItemChecked(lastIndex, false); menu->setItemEnabled(lastIndex, false); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); + menu->connectItem(lastIndex, this, TQ_SLOT(slotOutputChanged(int))); menu->setItemParameter(lastIndex, i); } @@ -817,7 +817,7 @@ void KRandRSystemTray::addOutputMenu(TDEPopupMenu* menu) if (connected_displays < 2) { menu->setItemEnabled(lastIndex, false); } - menu->connectItem(lastIndex, this, TQT_SLOT(slotCycleDisplays())); + menu->connectItem(lastIndex, this, TQ_SLOT(slotCycleDisplays())); } } diff --git a/kcontrol/samba/kcmsambaimports.cpp b/kcontrol/samba/kcmsambaimports.cpp index c25867fa5..b4553c6a8 100644 --- a/kcontrol/samba/kcmsambaimports.cpp +++ b/kcontrol/samba/kcmsambaimports.cpp @@ -56,7 +56,7 @@ ImportsView::ImportsView(TQWidget * parent, TDEConfig *config, const char * name " resource is mounted.") ); timer.start(10000); - TQObject::connect(&timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateList())); + TQObject::connect(&timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateList())); updateList(); } diff --git a/kcontrol/samba/kcmsambalog.cpp b/kcontrol/samba/kcmsambalog.cpp index 4ba0ceb74..a2a03fed3 100644 --- a/kcontrol/samba/kcmsambalog.cpp +++ b/kcontrol/samba/kcmsambalog.cpp @@ -113,7 +113,7 @@ LogView::LogView(TQWidget *parent,TDEConfig *config, const char *name) showFileOpen.setChecked(FALSE); showFileClose.setChecked(FALSE); - connect(&updateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(updateList())); + connect(&updateButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(updateList())); emit contentsChanged(&viewHistory,0,0); label.setMinimumSize(label.sizeHint()); diff --git a/kcontrol/samba/kcmsambastatistics.cpp b/kcontrol/samba/kcmsambastatistics.cpp index 34de75d9b..faeb54702 100644 --- a/kcontrol/samba/kcmsambastatistics.cpp +++ b/kcontrol/samba/kcmsambastatistics.cpp @@ -116,8 +116,8 @@ StatisticsView::StatisticsView(TQWidget *parent,TDEConfig *config, const char *n subLayout->addWidget(expandedInfoCb,3,1); subLayout->addWidget(expandedUserCb,3,2); - connect(clearButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(clearStatistics())); - connect(calcButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(calculate())); + connect(clearButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(clearStatistics())); + connect(calcButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(calculate())); setListInfo(0,0,0); } diff --git a/kcontrol/samba/ksmbstatus.cpp b/kcontrol/samba/ksmbstatus.cpp index abd423d13..e51a3c137 100644 --- a/kcontrol/samba/ksmbstatus.cpp +++ b/kcontrol/samba/ksmbstatus.cpp @@ -70,7 +70,7 @@ NetMon::NetMon( TQWidget * parent, TDEConfig *config, const char * name ) timer = new TQTimer(this); timer->start(15000); - TQObject::connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(update())); + TQObject::connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(update())); update(); } @@ -175,8 +175,8 @@ void NetMon::update() nrpid=0; process->setEnvironment("PATH", path); connect(process, - TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), - TQT_SLOT(slotReceivedData(TDEProcess *, char *, int))); + TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), + TQ_SLOT(slotReceivedData(TDEProcess *, char *, int))); *process << "smbstatus"; if (!process->start(TDEProcess::Block,TDEProcess::Stdout)) version->setText(i18n("Error: Unable to run smbstatus")); @@ -200,12 +200,12 @@ void NetMon::update() showmountProc=new TDEProcess(); showmountProc->setEnvironment("PATH", path); *showmountProc<<"showmount"<<"-a"<<"localhost"; - connect(showmountProc,TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),TQT_SLOT(slotReceivedData(TDEProcess *, char *, int))); + connect(showmountProc,TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),TQ_SLOT(slotReceivedData(TDEProcess *, char *, int))); //without this timer showmount hangs up to 5 minutes //if the portmapper daemon isn't running - TQTimer::singleShot(5000,this,TQT_SLOT(killShowmount())); + TQTimer::singleShot(5000,this,TQ_SLOT(killShowmount())); //kdDebug()<<"starting kill timer with 5 seconds"<<endl; - connect(showmountProc,TQT_SIGNAL(processExited(TDEProcess*)),this,TQT_SLOT(killShowmount())); + connect(showmountProc,TQ_SIGNAL(processExited(TDEProcess*)),this,TQ_SLOT(killShowmount())); if (!showmountProc->start(TDEProcess::NotifyOnExit,TDEProcess::Stdout)) // run showmount { delete showmountProc; diff --git a/kcontrol/samba/main.cpp b/kcontrol/samba/main.cpp index d5af28c1a..4bb099fae 100644 --- a/kcontrol/samba/main.cpp +++ b/kcontrol/samba/main.cpp @@ -66,7 +66,7 @@ SambaContainer::SambaContainer(TQWidget *parent, const char* name, const TQStrin tabs.addTab(&imports,i18n("&Imports")); tabs.addTab(&logView,i18n("&Log")); tabs.addTab(&statisticsView,i18n("&Statistics")); - connect(&logView,TQT_SIGNAL(contentsChanged(TQListView* , int, int)),&statisticsView,TQT_SLOT(setListInfo(TQListView *, int, int))); + connect(&logView,TQ_SIGNAL(contentsChanged(TQListView* , int, int)),&statisticsView,TQ_SLOT(setListInfo(TQListView *, int, int))); setButtons(Help); load(); diff --git a/kcontrol/screensaver/advanceddialog.cpp b/kcontrol/screensaver/advanceddialog.cpp index 7a28178d5..e277a8853 100644 --- a/kcontrol/screensaver/advanceddialog.cpp +++ b/kcontrol/screensaver/advanceddialog.cpp @@ -24,17 +24,17 @@ KScreenSaverAdvancedDialog::KScreenSaverAdvancedDialog(TQWidget *parent, const c readSettings(); - connect(dialog->qcbPriority, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotPriorityChanged(int))); - - connect(dialog->qcbTopLeft, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChangeTopLeftCorner(int))); - connect(dialog->qcbTopRight, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChangeTopLeftCorner(int))); - connect(dialog->qcbBottomLeft, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChangeTopLeftCorner(int))); - connect(dialog->qcbBottomRight, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotChangeTopLeftCorner(int))); + connect(dialog->qcbPriority, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotPriorityChanged(int))); + + connect(dialog->qcbTopLeft, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChangeTopLeftCorner(int))); + connect(dialog->qcbTopRight, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChangeTopLeftCorner(int))); + connect(dialog->qcbBottomLeft, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChangeTopLeftCorner(int))); + connect(dialog->qcbBottomRight, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotChangeTopLeftCorner(int))); #ifndef HAVE_SETPRIORITY dialog->qgbPriority->setEnabled(false); diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp index 67a93a5e2..70cf3f469 100644 --- a/kcontrol/screensaver/scrnsave.cpp +++ b/kcontrol/screensaver/scrnsave.cpp @@ -124,12 +124,12 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis readSettings( false ); mSetupProc = new TDEProcess; - connect(mSetupProc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotSetupDone(TDEProcess *))); + connect(mSetupProc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotSetupDone(TDEProcess *))); mPreviewProc = new TDEProcess; - connect(mPreviewProc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotPreviewExited(TDEProcess *))); + connect(mPreviewProc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotPreviewExited(TDEProcess *))); TQBoxLayout *topLayout = new TQHBoxLayout(this, 0, KDialog::spacingHint()); @@ -153,18 +153,18 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis mSaverListView->header()->hide(); mSelected = -1; groupLayout->addWidget( mSaverListView, 10 ); - connect( mSaverListView, TQT_SIGNAL(doubleClicked ( TQListViewItem *)), this, TQT_SLOT( slotSetup())); + connect( mSaverListView, TQ_SIGNAL(doubleClicked ( TQListViewItem *)), this, TQ_SLOT( slotSetup())); TQWhatsThis::add( mSaverListView, i18n("Select the screen saver to use.") ); TQBoxLayout* hlay = new TQHBoxLayout(groupLayout, KDialog::spacingHint()); mSetupBt = new TQPushButton( i18n("&Setup..."), mSaverGroup ); - connect( mSetupBt, TQT_SIGNAL( clicked() ), TQT_SLOT( slotSetup() ) ); + connect( mSetupBt, TQ_SIGNAL( clicked() ), TQ_SLOT( slotSetup() ) ); mSetupBt->setEnabled(false); hlay->addWidget( mSetupBt ); TQWhatsThis::add( mSetupBt, i18n("Configure the screen saver's options, if any.") ); mTestBt = new TQPushButton( i18n("&Test"), mSaverGroup ); - connect( mTestBt, TQT_SIGNAL( clicked() ), TQT_SLOT( slotTest() ) ); + connect( mTestBt, TQ_SIGNAL( clicked() ), TQ_SLOT( slotTest() ) ); mTestBt->setEnabled(false); hlay->addWidget( mTestBt ); TQWhatsThis::add( mTestBt, i18n("Show a full screen preview of the screen saver.") ); @@ -177,7 +177,7 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis mEnabledCheckBox = new TQCheckBox(i18n("Start a&utomatically"), mSettingsGroup); mEnabledCheckBox->setChecked(mEnabled); TQWhatsThis::add( mEnabledCheckBox, i18n("Automatically start the screen saver after a period of inactivity.") ); - connect(mEnabledCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotEnable(bool))); + connect(mEnabledCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotEnable(bool))); settingsGroupLayout->addWidget(mEnabledCheckBox, 0, 0); TQBoxLayout *hbox = new TQHBoxLayout(); @@ -192,8 +192,8 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis mWaitEdit->setSuffix(i18n(" min")); mWaitEdit->setValue(mTimeout/60); mWaitEdit->setEnabled(mEnabled); - connect(mWaitEdit, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(slotTimeoutChanged(int))); + connect(mWaitEdit, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(slotTimeoutChanged(int))); mActivateLbl->setBuddy(mWaitEdit); hbox->addWidget(mWaitEdit); hbox->addStretch(1); @@ -204,7 +204,7 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis mLockCheckBox = new TQCheckBox( i18n("&Require password to stop"), mSettingsGroup ); mLockCheckBox->setEnabled( mEnabled ); mLockCheckBox->setChecked( mLock ); - connect( mLockCheckBox, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotLock( bool ) ) ); + connect( mLockCheckBox, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotLock( bool ) ) ); settingsGroupLayout->addWidget(mLockCheckBox, 2, 0); TQWhatsThis::add( mLockCheckBox, i18n("Prevent potential unauthorized use by requiring a password to stop the screen saver.") ); @@ -230,7 +230,7 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis mWaitEdit->setFixedWidth( mWaitLockEdit->sizeHint().width() ); mWaitLockEdit->setFixedWidth( mWaitLockEdit->sizeHint().width() ); } - connect(mWaitLockEdit, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotLockTimeoutChanged(int))); + connect(mWaitLockEdit, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotLockTimeoutChanged(int))); mLockLbl->setBuddy(mWaitLockEdit); hbox->addWidget(mWaitLockEdit); hbox->addStretch(1); @@ -241,35 +241,35 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis mDelaySaverStartCheckBox = new TQCheckBox( i18n("&Delay saver start after lock"), mSettingsGroup ); mDelaySaverStartCheckBox->setEnabled( true ); mDelaySaverStartCheckBox->setChecked( mDelaySaverStart ); - connect( mDelaySaverStartCheckBox, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotDelaySaverStart( bool ) ) ); + connect( mDelaySaverStartCheckBox, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotDelaySaverStart( bool ) ) ); settingsGroupLayout->addWidget(mDelaySaverStartCheckBox, 0, 1); TQWhatsThis::add( mDelaySaverStartCheckBox, i18n("When manually locking the screen, wait to start the screen saver until the configured start delay has elapsed.") ); mUseTSAKCheckBox = new TQCheckBox( i18n("&Use Secure Attention Key"), mSettingsGroup ); mUseTSAKCheckBox->setEnabled( true ); mUseTSAKCheckBox->setChecked( mUseTSAK ); - connect( mUseTSAKCheckBox, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotUseTSAK( bool ) ) ); + connect( mUseTSAKCheckBox, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotUseTSAK( bool ) ) ); settingsGroupLayout->addWidget(mUseTSAKCheckBox, 1, 1); TQWhatsThis::add( mUseTSAKCheckBox, i18n("Require Secure Attention Key prior to displaying the unlock dialog.") ); mUseUnmanagedLockWindowsCheckBox = new TQCheckBox( i18n("Use &legacy lock windows"), mSettingsGroup ); mUseUnmanagedLockWindowsCheckBox->setEnabled( true ); mUseUnmanagedLockWindowsCheckBox->setChecked( mUseUnmanagedLockWindows ); - connect( mUseUnmanagedLockWindowsCheckBox, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotUseUnmanagedLockWindows( bool ) ) ); + connect( mUseUnmanagedLockWindowsCheckBox, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotUseUnmanagedLockWindows( bool ) ) ); settingsGroupLayout->addWidget(mUseUnmanagedLockWindowsCheckBox, 2, 1); TQWhatsThis::add( mUseUnmanagedLockWindowsCheckBox, i18n("Use old-style unmanaged X11 lock windows.") ); mHideActiveWindowsFromSaverCheckBox = new TQCheckBox( i18n("Hide active &windows from saver"), mSettingsGroup ); mHideActiveWindowsFromSaverCheckBox->setEnabled( true ); mHideActiveWindowsFromSaverCheckBox->setChecked( mHideActiveWindowsFromSaver ); - connect( mHideActiveWindowsFromSaverCheckBox, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotHideActiveWindowsFromSaver( bool ) ) ); + connect( mHideActiveWindowsFromSaverCheckBox, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotHideActiveWindowsFromSaver( bool ) ) ); settingsGroupLayout->addWidget(mHideActiveWindowsFromSaverCheckBox, 3, 1); TQWhatsThis::add( mHideActiveWindowsFromSaverCheckBox, i18n("Hide all active windows from the screen saver and use the desktop background as the screen saver input.") ); mHideCancelButtonCheckBox = new TQCheckBox( i18n("Hide &cancel button"), mSettingsGroup ); mHideCancelButtonCheckBox->setEnabled( true ); mHideCancelButtonCheckBox->setChecked( mHideCancelButton ); - connect( mHideCancelButtonCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotHideCancelButton(bool)) ); + connect( mHideCancelButtonCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotHideCancelButton(bool)) ); settingsGroupLayout->addWidget(mHideCancelButtonCheckBox, 4, 1); TQWhatsThis::add(mHideCancelButtonCheckBox, i18n("Hide Cancel button from the \"Desktop Session Locked\" dialog.")); @@ -288,8 +288,8 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis i18n( "Advanced &Options" ), this, "advancedBtn" ); advancedBt->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed) ); - connect( advancedBt, TQT_SIGNAL( clicked() ), - this, TQT_SLOT( slotAdvanced() ) ); + connect( advancedBt, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( slotAdvanced() ) ); advancedLayout->addWidget( advancedBt ); advancedLayout->addWidget( new TQWidget( this ) ); @@ -306,7 +306,7 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis // we've started up. mNumLoaded = 0; mLoadTimer = new TQTimer( this ); - connect( mLoadTimer, TQT_SIGNAL(timeout()), TQT_SLOT(findSavers()) ); + connect( mLoadTimer, TQ_SIGNAL(timeout()), TQ_SLOT(findSavers()) ); mLoadTimer->start( 100 ); mChanged = false; emit changed(false); @@ -615,8 +615,8 @@ void KScreenSaver::findSavers() mTestBt->setEnabled(true); } - connect( mSaverListView, TQT_SIGNAL( currentChanged( TQListViewItem * ) ), - this, TQT_SLOT( slotScreenSaver( TQListViewItem * ) ) ); + connect( mSaverListView, TQ_SIGNAL( currentChanged( TQListViewItem * ) ), + this, TQ_SLOT( slotScreenSaver( TQListViewItem * ) ) ); setMonitor(); } diff --git a/kcontrol/smartcard/smartcard.cpp b/kcontrol/smartcard/smartcard.cpp index f0891db16..1e53bc3d9 100644 --- a/kcontrol/smartcard/smartcard.cpp +++ b/kcontrol/smartcard/smartcard.cpp @@ -72,19 +72,19 @@ KSmartcardConfig::KSmartcardConfig(TQWidget *parent, const char *name) _popUpKardChooser = new TDEPopupMenu(this,"KpopupKardChooser"); _popUpKardChooser->insertItem(i18n("Change Module..."), this, - TQT_SLOT(slotLaunchChooser())); + TQ_SLOT(slotLaunchChooser())); // The config backend - connect(base->launchManager, TQT_SIGNAL(clicked()), TQT_SLOT( changed() )); - connect(base->beepOnInsert, TQT_SIGNAL(clicked()), TQT_SLOT( changed() )); - connect(base->enableSupport, TQT_SIGNAL(clicked()), TQT_SLOT( changed() )); + connect(base->launchManager, TQ_SIGNAL(clicked()), TQ_SLOT( changed() )); + connect(base->beepOnInsert, TQ_SIGNAL(clicked()), TQ_SLOT( changed() )); + connect(base->enableSupport, TQ_SIGNAL(clicked()), TQ_SLOT( changed() )); - connect(base->enablePolling, TQT_SIGNAL(clicked()), TQT_SLOT( changed() )); + connect(base->enablePolling, TQ_SIGNAL(clicked()), TQ_SLOT( changed() )); connect(base->_readerHostsListView, - TQT_SIGNAL(rightButtonPressed(TQListViewItem *,const TQPoint &,int)), + TQ_SIGNAL(rightButtonPressed(TQListViewItem *,const TQPoint &,int)), this, - TQT_SLOT(slotShowPopup(TQListViewItem *,const TQPoint &,int))); + TQ_SLOT(slotShowPopup(TQListViewItem *,const TQPoint &,int))); diff --git a/kcontrol/smserver/kcmsmserver.cpp b/kcontrol/smserver/kcmsmserver.cpp index 99f1b729a..5bf35dbac 100644 --- a/kcontrol/smserver/kcmsmserver.cpp +++ b/kcontrol/smserver/kcmsmserver.cpp @@ -48,7 +48,7 @@ SMServerConfig::SMServerConfig( TQWidget *parent, const char* name, const TQStri TQVBoxLayout *topLayout = new TQVBoxLayout(this); dialog = new SMServerConfigImpl(this); - connect(dialog, TQT_SIGNAL(changed()), TQT_SLOT(changed())); + connect(dialog, TQ_SIGNAL(changed()), TQ_SLOT(changed())); dialog->show(); topLayout->add(dialog); diff --git a/kcontrol/spellchecking/spellchecking.cpp b/kcontrol/spellchecking/spellchecking.cpp index 805a98d6b..0b9611575 100644 --- a/kcontrol/spellchecking/spellchecking.cpp +++ b/kcontrol/spellchecking/spellchecking.cpp @@ -41,7 +41,7 @@ KSpellCheckingConfig::KSpellCheckingConfig(TQWidget *parent, const char *name, c spellConfig = new KSpellConfig(box, 0L ,0L, false ); layout->addStretch(1); - connect(spellConfig,TQT_SIGNAL(configChanged()), TQT_SLOT( changed() )); + connect(spellConfig,TQ_SIGNAL(configChanged()), TQ_SLOT( changed() )); setQuickHelp( i18n("<h1>Spell Checker</h1><p>This control module allows you to configure the TDE spell checking system. You can configure:<ul><li> which spell checking program to use<li> which types of spelling errors are identified<li> which dictionary is used by default.</ul><br>The TDE spell checking system (KSpell) provides support for two common spell checking utilities: ASpell and ISpell. This allows you to share dictionaries between TDE applications and non-TDE applications.</p>")); diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp index 2a751f14e..27a599b09 100644 --- a/kcontrol/style/kcmstyle.cpp +++ b/kcontrol/style/kcmstyle.cpp @@ -216,9 +216,9 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name ) page1Layout->addWidget( gbPreview ); // Connect all required stuff - connect( cbStyle, TQT_SIGNAL(activated(int)), this, TQT_SLOT(styleChanged()) ); - connect( cbStyle, TQT_SIGNAL(activated(int)), this, TQT_SLOT(updateConfigButton())); - connect( pbConfigStyle, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleSpecificConfig())); + connect( cbStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(styleChanged()) ); + connect( cbStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(updateConfigButton())); + connect( pbConfigStyle, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleSpecificConfig())); // Add Page2 (Effects) // ------------------- @@ -338,13 +338,13 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name ) page2Layout->addItem( sp1 ); // Data flow stuff. - connect( cbEnableEffects, TQT_SIGNAL(toggled(bool)), containerFrame, TQT_SLOT(setEnabled(bool)) ); - connect( cbEnableEffects, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(menuEffectChanged(bool)) ); - connect( slOpacity, TQT_SIGNAL(valueChanged(int)),menuPreview, TQT_SLOT(setOpacity(int)) ); - connect( comboMenuEffect, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuEffectChanged()) ); - connect( comboMenuEffect, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(menuEffectChanged()) ); - connect( comboMenuEffectType, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuEffectTypeChanged()) ); - connect( comboMenuEffectType, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(menuEffectTypeChanged()) ); + connect( cbEnableEffects, TQ_SIGNAL(toggled(bool)), containerFrame, TQ_SLOT(setEnabled(bool)) ); + connect( cbEnableEffects, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(menuEffectChanged(bool)) ); + connect( slOpacity, TQ_SIGNAL(valueChanged(int)),menuPreview, TQ_SLOT(setOpacity(int)) ); + connect( comboMenuEffect, TQ_SIGNAL(activated(int)), this, TQ_SLOT(menuEffectChanged()) ); + connect( comboMenuEffect, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(menuEffectChanged()) ); + connect( comboMenuEffectType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(menuEffectTypeChanged()) ); + connect( comboMenuEffectType, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(menuEffectTypeChanged()) ); // Add Page3 (Miscellaneous) // ------------------------- @@ -379,29 +379,29 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name ) load(); // Do all the setDirty connections. - connect(cbStyle, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setStyleDirty())); + connect(cbStyle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setStyleDirty())); // Page2 - connect( cbEnableEffects, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); - connect( cbEnableEffects, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setStyleDirty())); - connect( comboTooltipEffect, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setEffectsDirty())); - connect( comboRubberbandEffect, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setStyleDirty())); - connect( comboComboEffect, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setEffectsDirty())); - connect( comboMenuEffect, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setStyleDirty())); - connect( comboMenuHandle, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setStyleDirty())); - connect( comboMenuEffectType, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setStyleDirty())); - connect( slOpacity, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(setStyleDirty())); - connect( cbMenuShadow, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setStyleDirty())); + connect( cbEnableEffects, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setEffectsDirty())); + connect( cbEnableEffects, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setStyleDirty())); + connect( comboTooltipEffect, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setEffectsDirty())); + connect( comboRubberbandEffect, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setStyleDirty())); + connect( comboComboEffect, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setEffectsDirty())); + connect( comboMenuEffect, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setStyleDirty())); + connect( comboMenuHandle, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setStyleDirty())); + connect( comboMenuEffectType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setStyleDirty())); + connect( slOpacity, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(setStyleDirty())); + connect( cbMenuShadow, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setStyleDirty())); // Page1 & Page3 - connect( cbHoverButtons, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setToolbarsDirty())); - connect( cbTransparentToolbars, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setToolbarsDirty())); - connect( cbEnableTooltips, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); - connect( cbIconsOnButtons, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); - connect( cbScrollablePopupMenus,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); - connect( cbAutoHideAccelerators,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); - connect( cbMenuAltKeyNavigation,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); - connect( cbTearOffHandles, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); - connect( comboToolbarIcons, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setToolbarsDirty())); - connect( m_popupMenuDelay, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(setStyleDirty())); + connect( cbHoverButtons, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setToolbarsDirty())); + connect( cbTransparentToolbars, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setToolbarsDirty())); + connect( cbEnableTooltips, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setEffectsDirty())); + connect( cbIconsOnButtons, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setEffectsDirty())); + connect( cbScrollablePopupMenus,TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setEffectsDirty())); + connect( cbAutoHideAccelerators,TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setEffectsDirty())); + connect( cbMenuAltKeyNavigation,TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setEffectsDirty())); + connect( cbTearOffHandles, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setEffectsDirty())); + connect( comboToolbarIcons, TQ_SIGNAL(activated(int)), this, TQ_SLOT(setToolbarsDirty())); + connect( m_popupMenuDelay, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(setStyleDirty())); addWhatsThis(); @@ -479,9 +479,9 @@ void KCMStyle::styleSpecificConfig() dial->setMainWidget( pluginConfig ); //..and connect it to the wrapper - connect(pluginConfig, TQT_SIGNAL(changed(bool)), dial, TQT_SLOT(setDirty(bool))); - connect(dial, TQT_SIGNAL(defaults()), pluginConfig, TQT_SLOT(defaults())); - connect(dial, TQT_SIGNAL(save()), pluginConfig, TQT_SLOT(save())); + connect(pluginConfig, TQ_SIGNAL(changed(bool)), dial, TQ_SLOT(setDirty(bool))); + connect(dial, TQ_SIGNAL(defaults()), pluginConfig, TQ_SLOT(defaults())); + connect(dial, TQ_SIGNAL(save()), pluginConfig, TQ_SLOT(save())); if (dial->exec() == TQDialog::Accepted && dial->isDirty() ) { // Force re-rendering of the preview, to apply settings diff --git a/kcontrol/style/keramik/keramikconf.cpp b/kcontrol/style/keramik/keramikconf.cpp index 7fa6ef698..6ac4e6d4c 100644 --- a/kcontrol/style/keramik/keramikconf.cpp +++ b/kcontrol/style/keramik/keramikconf.cpp @@ -63,9 +63,9 @@ KeramikStyleConfig::KeramikStyleConfig(TQWidget* parent): TQWidget(parent) origAnimProgressBar = s.readBoolEntry("/keramik/Settings/animateProgressBar", false); animateProgressBar->setChecked(origAnimProgressBar); - //connect(highlightLineEdits, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(highlightScrollBar, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); - connect(animateProgressBar, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) ); + //connect(highlightLineEdits, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(highlightScrollBar, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); + connect(animateProgressBar, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( updateChanged() ) ); } KeramikStyleConfig::~KeramikStyleConfig() diff --git a/kcontrol/style/styleconfdialog.cpp b/kcontrol/style/styleconfdialog.cpp index 8cb426b3f..feb5deba7 100644 --- a/kcontrol/style/styleconfdialog.cpp +++ b/kcontrol/style/styleconfdialog.cpp @@ -29,8 +29,8 @@ StyleConfigDialog::StyleConfigDialog(TQWidget* parent, TQString styleName): KDialogBase::Cancel) { m_dirty = false; - connect( this, TQT_SIGNAL( defaultClicked() ), this, TQT_SIGNAL( defaults() )); - connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SIGNAL( save() )); + connect( this, TQ_SIGNAL( defaultClicked() ), this, TQ_SIGNAL( defaults() )); + connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SIGNAL( save() )); } bool StyleConfigDialog::isDirty() const diff --git a/kcontrol/taskbar/kcmtaskbar.cpp b/kcontrol/taskbar/kcmtaskbar.cpp index 570544a72..2eb7cf376 100644 --- a/kcontrol/taskbar/kcmtaskbar.cpp +++ b/kcontrol/taskbar/kcmtaskbar.cpp @@ -192,10 +192,10 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL { m_isGlobalConfig = true; } - connect(m_widget->globalConfigReload, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotReloadConfigurationFromGlobals())); - connect(m_widget->globalConfigEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditGlobalConfiguration())); - connect(m_widget->kcfg_UseGlobalSettings, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(m_widget->kcfg_SortByApp, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); + connect(m_widget->globalConfigReload, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotReloadConfigurationFromGlobals())); + connect(m_widget->globalConfigEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditGlobalConfiguration())); + connect(m_widget->kcfg_UseGlobalSettings, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(m_widget->kcfg_SortByApp, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); TQFile configFile(locateLocal("config", m_configFileName)); if (!configFile.exists()) @@ -222,10 +222,10 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL } m_widget->appearance->insertItem(i18n("Custom")); - connect(m_widget->appearance, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(appearanceChanged(int))); - connect(m_widget->kcfg_DisplayIconsNText, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(displayIconsNTextChanged(int))); + connect(m_widget->appearance, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(appearanceChanged(int))); + connect(m_widget->kcfg_DisplayIconsNText, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(displayIconsNTextChanged(int))); addConfig(m_settingsObject, m_widget); setQuickHelp(i18n("<h1>Taskbar</h1> You can configure the taskbar here." @@ -241,9 +241,9 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL m_widget->kcfg_GroupTasks->insertStringList(i18nGroupModeList()); m_widget->kcfg_ShowTaskStates->insertStringList(i18nShowTaskStatesList()); - connect(m_widget->kcfg_GroupTasks, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotUpdateComboBox())); - connect(m_widget->kcfg_UseCustomColors, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotUpdateCustomColors())); + connect(m_widget->kcfg_GroupTasks, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotUpdateComboBox())); + connect(m_widget->kcfg_UseCustomColors, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(slotUpdateCustomColors())); slotUpdateCustomColors(); updateAppearanceCombo(); @@ -263,8 +263,8 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL { m_widget->showAllScreens->show(); } - connect( m_widget->showAllScreens, TQT_SIGNAL( stateChanged( int )), TQT_SLOT( changed())); - connect( m_widget->smallIcons, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) ); + connect( m_widget->showAllScreens, TQ_SIGNAL( stateChanged( int )), TQ_SLOT( changed())); + connect( m_widget->smallIcons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()) ); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmtaskbar"), I18N_NOOP("TDE Taskbar Control Module"), @@ -279,7 +279,7 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL load(); processLockouts(); - TQTimer::singleShot(0, this, TQT_SLOT(notChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(notChanged())); } TaskbarConfig::~TaskbarConfig() diff --git a/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp b/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp index bb166bdc4..1298677b6 100644 --- a/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp +++ b/kcontrol/tdefontinst/kcmfontinst/KCmFontInst.cpp @@ -156,7 +156,7 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&) fontsLayout->addMultiCellWidget(itsDirOp, 0, 0, 0, 1); KPushButton *button=new KPushButton(KGuiItem(i18n("Add Fonts..."), "newfont"), fontsFrame); - connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(addFonts())); + connect(button, TQ_SIGNAL(clicked()), TQ_SLOT(addFonts())); button->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum); fontsLayout->addWidget(button, 1, 0); fontsLayout->addItem(new TQSpacerItem(4, 4, TQSizePolicy::Expanding, TQSizePolicy::Minimum)); @@ -182,15 +182,15 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&) itsViewMenuAct=dynamic_cast<TDEActionMenu *>(itsDirOp->actionCollection()->action("view menu")); topMnu->popupMenu()->clear(); - connect(topMnu->popupMenu(), TQT_SIGNAL(aboutToShow()), TQT_SLOT(setupMenu())); + connect(topMnu->popupMenu(), TQ_SIGNAL(aboutToShow()), TQ_SLOT(setupMenu())); if((act=itsDirOp->actionCollection()->action("up"))) - act->disconnect(TQT_SIGNAL(activated()), itsDirOp, TQT_SLOT(cdUp())); + act->disconnect(TQ_SIGNAL(activated()), itsDirOp, TQ_SLOT(cdUp())); if((act=itsDirOp->actionCollection()->action("home"))) - act->disconnect(TQT_SIGNAL(activated()), itsDirOp, TQT_SLOT(home())); + act->disconnect(TQ_SIGNAL(activated()), itsDirOp, TQ_SLOT(home())); if((act=itsDirOp->actionCollection()->action("back"))) - act->disconnect(TQT_SIGNAL(activated()), itsDirOp, TQT_SLOT(back())); + act->disconnect(TQ_SIGNAL(activated()), itsDirOp, TQ_SLOT(back())); if((act=itsDirOp->actionCollection()->action("forward"))) - act->disconnect(TQT_SIGNAL(activated()), itsDirOp, TQT_SLOT(forward())); + act->disconnect(TQ_SIGNAL(activated()), itsDirOp, TQ_SLOT(forward())); if((act=itsDirOp->actionCollection()->action("reload"))) act->plug(toolbar); @@ -199,26 +199,26 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&) if((itsIconAct=dynamic_cast<TDERadioAction *>(itsDirOp->actionCollection()->action("short view")))) { - disconnect(itsIconAct, TQT_SIGNAL(activated()), itsDirOp, TQT_SLOT(slotSimpleView())); - connect(itsIconAct, TQT_SIGNAL(activated()), TQT_SLOT(iconView())); + disconnect(itsIconAct, TQ_SIGNAL(activated()), itsDirOp, TQ_SLOT(slotSimpleView())); + connect(itsIconAct, TQ_SIGNAL(activated()), TQ_SLOT(iconView())); itsIconAct->plug(toolbar); } if((itsListAct=dynamic_cast<TDERadioAction *>(itsDirOp->actionCollection()->action("detailed view")))) { - disconnect(itsListAct, TQT_SIGNAL(activated()), itsDirOp, TQT_SLOT(slotDetailedView())); - connect(itsListAct, TQT_SIGNAL(activated()), TQT_SLOT(listView())); + disconnect(itsListAct, TQ_SIGNAL(activated()), itsDirOp, TQ_SLOT(slotDetailedView())); + connect(itsListAct, TQ_SIGNAL(activated()), TQ_SLOT(listView())); itsListAct->plug(toolbar); } - itsShowBitmapAct=new TDEToggleAction(i18n("Show Bitmap Fonts"), "application-x-font-snf", 0, this, TQT_SLOT(filterFonts()), + itsShowBitmapAct=new TDEToggleAction(i18n("Show Bitmap Fonts"), "application-x-font-snf", 0, this, TQ_SLOT(filterFonts()), itsDirOp->actionCollection(), "showbitmap"); itsShowBitmapAct->setChecked(showBitmap); itsShowBitmapAct->plug(toolbar); toolbar->insertLineSeparator(); - act=new TDEAction(i18n("Add Fonts..."), "newfont", 0, this, TQT_SLOT(addFonts()), itsDirOp->actionCollection(), "addfonts"); + act=new TDEAction(i18n("Add Fonts..."), "newfont", 0, this, TQ_SLOT(addFonts()), itsDirOp->actionCollection(), "addfonts"); act->plug(toolbar); topMnu->insert(act); @@ -227,24 +227,24 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&) itsDeleteAct->plug(toolbar); itsDeleteAct->setEnabled(false); topMnu->insert(itsDeleteAct); - disconnect(itsDeleteAct, TQT_SIGNAL(activated()), itsDirOp, TQT_SLOT(deleteSelected())); - connect(itsDeleteAct, TQT_SIGNAL(activated()), this, TQT_SLOT(removeFonts())); + disconnect(itsDeleteAct, TQ_SIGNAL(activated()), itsDirOp, TQ_SLOT(deleteSelected())); + connect(itsDeleteAct, TQ_SIGNAL(activated()), this, TQ_SLOT(removeFonts())); } toolbar->insertLineSeparator(); - act=new TDEAction(i18n("Configure..."), "configure", 0, this, TQT_SLOT(configure()), itsDirOp->actionCollection(), "configure"); + act=new TDEAction(i18n("Configure..."), "configure", 0, this, TQ_SLOT(configure()), itsDirOp->actionCollection(), "configure"); act->plug(toolbar); #ifdef HAVE_XFT toolbar->insertLineSeparator(); - act=new TDEAction(i18n("Print..."), "document-print", 0, this, TQT_SLOT(print()), itsDirOp->actionCollection(), "print"); + act=new TDEAction(i18n("Print..."), "document-print", 0, this, TQ_SLOT(print()), itsDirOp->actionCollection(), "print"); act->plug(toolbar); #endif if( (itsSepDirsAct=itsDirOp->actionCollection()->action("separate dirs")) && (itsShowHiddenAct=itsDirOp->actionCollection()->action("show hidden"))) { - //disconnect(itsViewMenuAct->popupMenu(), TQT_SIGNAL(aboutToShow()), itsDirOp, TQT_SLOT(insertViewDependentActions())); - connect(itsViewMenuAct->popupMenu(), TQT_SIGNAL(aboutToShow()), TQT_SLOT(setupViewMenu())); + //disconnect(itsViewMenuAct->popupMenu(), TQ_SIGNAL(aboutToShow()), itsDirOp, TQ_SLOT(insertViewDependentActions())); + connect(itsViewMenuAct->popupMenu(), TQ_SIGNAL(aboutToShow()), TQ_SLOT(setupViewMenu())); setupViewMenu(); } @@ -267,12 +267,12 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&) itsDirOp->dirLister()->setShowingDotFiles(true); - connect(itsDirOp, TQT_SIGNAL(fileHighlighted(const KFileItem *)), TQT_SLOT(fileHighlighted(const KFileItem *))); - connect(itsDirOp, TQT_SIGNAL(finishedLoading()), TQT_SLOT(loadingFinished())); - connect(itsDirOp, TQT_SIGNAL(dropped(const KFileItem *, TQDropEvent *, const KURL::List &)), - TQT_SLOT(dropped(const KFileItem *, TQDropEvent *, const KURL::List &))); - connect(itsDirOp->dirLister(), TQT_SIGNAL(infoMessage(const TQString &)), TQT_SLOT(infoMessage(const TQString &))); - connect(itsDirOp, TQT_SIGNAL(updateInformation(int, int)), TQT_SLOT(updateInformation(int, int))); + connect(itsDirOp, TQ_SIGNAL(fileHighlighted(const KFileItem *)), TQ_SLOT(fileHighlighted(const KFileItem *))); + connect(itsDirOp, TQ_SIGNAL(finishedLoading()), TQ_SLOT(loadingFinished())); + connect(itsDirOp, TQ_SIGNAL(dropped(const KFileItem *, TQDropEvent *, const KURL::List &)), + TQ_SLOT(dropped(const KFileItem *, TQDropEvent *, const KURL::List &))); + connect(itsDirOp->dirLister(), TQ_SIGNAL(infoMessage(const TQString &)), TQ_SLOT(infoMessage(const TQString &))); + connect(itsDirOp, TQ_SIGNAL(updateInformation(int, int)), TQ_SLOT(updateInformation(int, int))); } CKCmFontInst::~CKCmFontInst() @@ -465,7 +465,7 @@ void CKCmFontInst::removeFonts() if(doIt) { TDEIO::DeleteJob *job = TDEIO::del(urls, false, true); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(delResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(delResult(TDEIO::Job *))); job->setWindow(this); job->setAutoErrorHandlingEnabled(true, this); } @@ -637,7 +637,7 @@ void CKCmFontInst::addFonts(const KURL::List &src, const KURL &dest) } TDEIO::CopyJob *job=TDEIO::copy(copy, dest, true); - connect(job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(jobResult(TDEIO::Job *))); + connect(job, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(jobResult(TDEIO::Job *))); job->setWindow(this); job->setAutoErrorHandlingEnabled(true, this); } diff --git a/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp b/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp index 559c8c4c5..e9f5b7dae 100644 --- a/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp +++ b/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp @@ -79,15 +79,15 @@ CKFileFontView::CKFileFontView(TQWidget *parent, const char *name) setAllColumnsShowFocus(true); setDragEnabled(false); - connect(header(), TQT_SIGNAL(sectionClicked(int)), TQT_SLOT(slotSortingChanged(int))); - connect(this, TQT_SIGNAL(returnPressed(TQListViewItem *)), TQT_SLOT(slotActivate(TQListViewItem *))); - connect(this, TQT_SIGNAL(clicked(TQListViewItem *, const TQPoint&, int)), TQT_SLOT(selected( TQListViewItem *))); - connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), TQT_SLOT(slotActivate(TQListViewItem *))); - connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem *, const TQPoint &, int)), - this, TQT_SLOT(slotActivateMenu(TQListViewItem *, const TQPoint &))); + connect(header(), TQ_SIGNAL(sectionClicked(int)), TQ_SLOT(slotSortingChanged(int))); + connect(this, TQ_SIGNAL(returnPressed(TQListViewItem *)), TQ_SLOT(slotActivate(TQListViewItem *))); + connect(this, TQ_SIGNAL(clicked(TQListViewItem *, const TQPoint&, int)), TQ_SLOT(selected( TQListViewItem *))); + connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), TQ_SLOT(slotActivate(TQListViewItem *))); + connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem *, const TQPoint &, int)), + this, TQ_SLOT(slotActivateMenu(TQListViewItem *, const TQPoint &))); // DND - connect(&(d->itsAutoOpenTimer), TQT_SIGNAL(timeout()), this, TQT_SLOT(slotAutoOpen())); + connect(&(d->itsAutoOpenTimer), TQ_SIGNAL(timeout()), this, TQ_SLOT(slotAutoOpen())); setSelectionMode(KFileView::selectionMode()); itsResolver = new KMimeTypeResolver<CFontListViewItem, CKFileFontView>(this); } @@ -211,8 +211,8 @@ void CKFileFontView::highlighted( TQListViewItem *item ) void CKFileFontView::setSelectionMode(KFile::SelectionMode sm) { - disconnect(TQT_SIGNAL(selectionChanged()), this); - disconnect(TQT_SIGNAL(selectionChanged(TQListViewItem *)), this); + disconnect(TQ_SIGNAL(selectionChanged()), this); + disconnect(TQ_SIGNAL(selectionChanged(TQListViewItem *)), this); switch (sm) { @@ -233,9 +233,9 @@ void CKFileFontView::setSelectionMode(KFile::SelectionMode sm) // for highlighting if (KFile::Multi==sm || KFile::Extended==sm) - connect(this, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged())); + connect(this, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged())); else - connect(this, TQT_SIGNAL(selectionChanged(TQListViewItem *)), TQT_SLOT(highlighted(TQListViewItem * ))); + connect(this, TQ_SIGNAL(selectionChanged(TQListViewItem *)), TQ_SLOT(highlighted(TQListViewItem * ))); } bool CKFileFontView::isSelected(const KFileItem *i) const diff --git a/kcontrol/tdefontinst/viewpart/FontViewPart.cpp b/kcontrol/tdefontinst/viewpart/FontViewPart.cpp index 3dc0f62b6..c2437ef1a 100644 --- a/kcontrol/tdefontinst/viewpart/FontViewPart.cpp +++ b/kcontrol/tdefontinst/viewpart/FontViewPart.cpp @@ -103,14 +103,14 @@ CFontViewPart::CFontViewPart(TQWidget *parent, const char *name) toolsLayout->addItem(new TQSpacerItem(5, 5, TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum)); toolsLayout->addWidget(itsInstallButton); itsToolsFrame->hide(); - connect(itsPreview, TQT_SIGNAL(status(bool)), TQT_SLOT(previewStatus(bool))); - connect(itsInstallButton, TQT_SIGNAL(clicked()), TQT_SLOT(install())); - connect(itsFaceSelector, TQT_SIGNAL(valueChanged(int)), itsPreview, TQT_SLOT(showFace(int))); + connect(itsPreview, TQ_SIGNAL(status(bool)), TQ_SLOT(previewStatus(bool))); + connect(itsInstallButton, TQ_SIGNAL(clicked()), TQ_SLOT(install())); + connect(itsFaceSelector, TQ_SIGNAL(valueChanged(int)), itsPreview, TQ_SLOT(showFace(int))); itsChangeTextAction=new TDEAction(i18n("Change Text..."), "text", TDEShortcut(), - this, TQT_SLOT(changeText()), actionCollection(), "changeText"); + this, TQ_SLOT(changeText()), actionCollection(), "changeText"); itsChangeTextAction->setEnabled(false); - itsPrintAction=KStdAction::print(this, TQT_SLOT(print()), actionCollection(), "print"); + itsPrintAction=KStdAction::print(this, TQ_SLOT(print()), actionCollection(), "print"); itsPrintAction->setEnabled(false); setXMLFile("tdefontviewpart.rc"); @@ -143,7 +143,7 @@ bool CFontViewPart::openFile() { // NOTE: Cant do the real open here, as dont seem to be able to use TDEIO::NetAccess functions during initial start-up. // Bug report 111535 indicates that calling "konqueror <font>" crashes. - TQTimer::singleShot(0, this, TQT_SLOT(timeout())); + TQTimer::singleShot(0, this, TQ_SLOT(timeout())); return true; } diff --git a/kcontrol/tdefontinst/viewpart/FontViewerApp.cpp b/kcontrol/tdefontinst/viewpart/FontViewerApp.cpp index ddb483e5e..d5ca2eba5 100644 --- a/kcontrol/tdefontinst/viewpart/FontViewerApp.cpp +++ b/kcontrol/tdefontinst/viewpart/FontViewerApp.cpp @@ -49,8 +49,8 @@ CFontViewerAppMainWindow::CFontViewerAppMainWindow() if(factory) { - KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection()); - KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); + KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection()); + KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection()); itsPreview=(KParts::ReadOnlyPart *)factory->create(this, "fontvier", "KParts::ReadOnlyPart"); diff --git a/kcontrol/tdeio/cache.cpp b/kcontrol/tdeio/cache.cpp index 42c0fc28f..1f7a57a85 100644 --- a/kcontrol/tdeio/cache.cpp +++ b/kcontrol/tdeio/cache.cpp @@ -66,10 +66,10 @@ void KCacheConfigDialog::load() m_dlg->rbCacheIfPossible->setChecked( true ); // Config changed notifications... - connect ( m_dlg->cbUseCache, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged()) ); - connect ( m_dlg->bgCachePolicy, TQT_SIGNAL(clicked (int)), TQT_SLOT(configChanged()) ); - connect ( m_dlg->sbMaxCacheSize, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(configChanged()) ); - connect ( m_dlg->pbClearCache, TQT_SIGNAL(clicked()), TQT_SLOT(slotClearCache()) ); + connect ( m_dlg->cbUseCache, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged()) ); + connect ( m_dlg->bgCachePolicy, TQ_SIGNAL(clicked (int)), TQ_SLOT(configChanged()) ); + connect ( m_dlg->sbMaxCacheSize, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(configChanged()) ); + connect ( m_dlg->pbClearCache, TQ_SIGNAL(clicked()), TQ_SLOT(slotClearCache()) ); emit changed( false ); } diff --git a/kcontrol/tdeio/kcookiesmain.cpp b/kcontrol/tdeio/kcookiesmain.cpp index 9869c6c92..10ed75d26 100644 --- a/kcontrol/tdeio/kcookiesmain.cpp +++ b/kcontrol/tdeio/kcookiesmain.cpp @@ -46,7 +46,7 @@ KCookiesMain::KCookiesMain(TQWidget *parent) tab->addTab(policies, i18n("&Policy")); policiesTabNumber = currentTabNumber; currentTabNumber++; - connect(policies, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(policies, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); if( managerOK ) { @@ -54,7 +54,7 @@ KCookiesMain::KCookiesMain(TQWidget *parent) tab->addTab(management, i18n("&Management")); managementTabNumber = currentTabNumber; currentTabNumber++; - connect(management, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(management, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); } } diff --git a/kcontrol/tdeio/kcookiesmanagement.cpp b/kcontrol/tdeio/kcookiesmanagement.cpp index 1a9314d91..e3737ff6b 100644 --- a/kcontrol/tdeio/kcookiesmanagement.cpp +++ b/kcontrol/tdeio/kcookiesmanagement.cpp @@ -114,15 +114,15 @@ KCookiesManagement::KCookiesManagement(TQWidget *parent) mainLayout->addWidget(dlg); dlg->lvCookies->setSorting(0); - connect(dlg->lvCookies, TQT_SIGNAL(expanded(TQListViewItem*)), TQT_SLOT(getCookies(TQListViewItem*)) ); - connect(dlg->lvCookies, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(showCookieDetails(TQListViewItem*)) ); + connect(dlg->lvCookies, TQ_SIGNAL(expanded(TQListViewItem*)), TQ_SLOT(getCookies(TQListViewItem*)) ); + connect(dlg->lvCookies, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(showCookieDetails(TQListViewItem*)) ); - connect(dlg->pbDelete, TQT_SIGNAL(clicked()), TQT_SLOT(deleteCookie())); - connect(dlg->pbDeleteAll, TQT_SIGNAL(clicked()), TQT_SLOT(deleteAllCookies())); - connect(dlg->pbReload, TQT_SIGNAL(clicked()), TQT_SLOT(getDomains())); - connect(dlg->pbPolicy, TQT_SIGNAL(clicked()), TQT_SLOT(doPolicy())); + connect(dlg->pbDelete, TQ_SIGNAL(clicked()), TQ_SLOT(deleteCookie())); + connect(dlg->pbDeleteAll, TQ_SIGNAL(clicked()), TQ_SLOT(deleteAllCookies())); + connect(dlg->pbReload, TQ_SIGNAL(clicked()), TQ_SLOT(getDomains())); + connect(dlg->pbPolicy, TQ_SIGNAL(clicked()), TQ_SLOT(doPolicy())); - connect(dlg->lvCookies, TQT_SIGNAL(doubleClicked (TQListViewItem *)), TQT_SLOT(doPolicy())); + connect(dlg->lvCookies, TQ_SIGNAL(doubleClicked (TQListViewItem *)), TQ_SLOT(doPolicy())); deletedCookies.setAutoDelete(true); m_bDeleteAll = false; mainWidget = parent; diff --git a/kcontrol/tdeio/kcookiespolicies.cpp b/kcontrol/tdeio/kcookiespolicies.cpp index a39773cf1..6febd106e 100644 --- a/kcontrol/tdeio/kcookiespolicies.cpp +++ b/kcontrol/tdeio/kcookiespolicies.cpp @@ -323,40 +323,40 @@ void KCookiesPolicies::load() } // Connect the main swicth :) Enable/disable cookie support - connect( dlg->cbEnableCookies, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( cookiesEnabled(bool) ) ); - connect( dlg->cbEnableCookies, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( configChanged() ) ); + connect( dlg->cbEnableCookies, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( cookiesEnabled(bool) ) ); + connect( dlg->cbEnableCookies, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( configChanged() ) ); // Connect the preference check boxes... - connect ( dlg->cbRejectCrossDomainCookies, TQT_SIGNAL(clicked()), - TQT_SLOT(configChanged())); - connect ( dlg->cbAutoAcceptSessionCookies, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(configChanged())); - connect ( dlg->cbIgnoreCookieExpirationDate, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(configChanged())); - - connect ( dlg->cbAutoAcceptSessionCookies, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(autoAcceptSessionCookies(bool))); - connect ( dlg->cbIgnoreCookieExpirationDate, TQT_SIGNAL(toggled(bool)), - TQT_SLOT(ignoreCookieExpirationDate(bool))); + connect ( dlg->cbRejectCrossDomainCookies, TQ_SIGNAL(clicked()), + TQ_SLOT(configChanged())); + connect ( dlg->cbAutoAcceptSessionCookies, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(configChanged())); + connect ( dlg->cbIgnoreCookieExpirationDate, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(configChanged())); + + connect ( dlg->cbAutoAcceptSessionCookies, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(autoAcceptSessionCookies(bool))); + connect ( dlg->cbIgnoreCookieExpirationDate, TQ_SIGNAL(toggled(bool)), + TQ_SLOT(ignoreCookieExpirationDate(bool))); // Connect the default cookie policy radio buttons... - connect(dlg->bgDefault, TQT_SIGNAL(clicked(int)), TQT_SLOT(configChanged())); + connect(dlg->bgDefault, TQ_SIGNAL(clicked(int)), TQ_SLOT(configChanged())); // Connect signals from the domain specific policy listview. - connect( dlg->lvDomainPolicy, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(selectionChanged()) ); - connect( dlg->lvDomainPolicy, TQT_SIGNAL(doubleClicked (TQListViewItem *)), - TQT_SLOT(changePressed() ) ); - connect( dlg->lvDomainPolicy, TQT_SIGNAL(returnPressed ( TQListViewItem * )), - TQT_SLOT(changePressed() ) ); + connect( dlg->lvDomainPolicy, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(selectionChanged()) ); + connect( dlg->lvDomainPolicy, TQ_SIGNAL(doubleClicked (TQListViewItem *)), + TQ_SLOT(changePressed() ) ); + connect( dlg->lvDomainPolicy, TQ_SIGNAL(returnPressed ( TQListViewItem * )), + TQ_SLOT(changePressed() ) ); // Connect the buttons... - connect( dlg->pbNew, TQT_SIGNAL(clicked()), TQT_SLOT( addPressed() ) ); - connect( dlg->pbChange, TQT_SIGNAL( clicked() ), TQT_SLOT( changePressed() ) ); - connect( dlg->pbDelete, TQT_SIGNAL( clicked() ), TQT_SLOT( deletePressed() ) ); - connect( dlg->pbDeleteAll, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteAllPressed() ) ); + connect( dlg->pbNew, TQ_SIGNAL(clicked()), TQ_SLOT( addPressed() ) ); + connect( dlg->pbChange, TQ_SIGNAL( clicked() ), TQ_SLOT( changePressed() ) ); + connect( dlg->pbDelete, TQ_SIGNAL( clicked() ), TQ_SLOT( deletePressed() ) ); + connect( dlg->pbDeleteAll, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteAllPressed() ) ); } void KCookiesPolicies::save() diff --git a/kcontrol/tdeio/kenvvarproxydlg.cpp b/kcontrol/tdeio/kenvvarproxydlg.cpp index e8d1c0e47..2a8b348c7 100644 --- a/kcontrol/tdeio/kenvvarproxydlg.cpp +++ b/kcontrol/tdeio/kenvvarproxydlg.cpp @@ -83,9 +83,9 @@ void KEnvVarProxyDlg::init() { m_bHasValidData = false; - connect( mDlg->cbShowValue, TQT_SIGNAL( clicked() ), TQT_SLOT( showValuePressed() ) ); - connect( mDlg->pbVerify, TQT_SIGNAL( clicked() ), TQT_SLOT( verifyPressed() ) ); - connect( mDlg->pbDetect, TQT_SIGNAL( clicked() ), TQT_SLOT( autoDetectPressed() ) ); + connect( mDlg->cbShowValue, TQ_SIGNAL( clicked() ), TQ_SLOT( showValuePressed() ) ); + connect( mDlg->pbVerify, TQ_SIGNAL( clicked() ), TQ_SLOT( verifyPressed() ) ); + connect( mDlg->pbDetect, TQ_SIGNAL( clicked() ), TQ_SLOT( autoDetectPressed() ) ); } void KEnvVarProxyDlg::setProxyData( const KProxyData& data ) diff --git a/kcontrol/tdeio/kmanualproxydlg.cpp b/kcontrol/tdeio/kmanualproxydlg.cpp index 01d2b584c..0d785025d 100644 --- a/kcontrol/tdeio/kmanualproxydlg.cpp +++ b/kcontrol/tdeio/kmanualproxydlg.cpp @@ -63,19 +63,19 @@ void KManualProxyDlg::init() mDlg->sbHttps->setRange( 0, MAX_PORT_VALUE ); mDlg->sbFtp->setRange( 0, MAX_PORT_VALUE ); - connect( mDlg->pbNew, TQT_SIGNAL( clicked() ), TQT_SLOT( newPressed() ) ); - connect( mDlg->pbChange, TQT_SIGNAL( clicked() ), TQT_SLOT( changePressed() ) ); - connect( mDlg->pbDelete, TQT_SIGNAL( clicked() ), TQT_SLOT( deletePressed() ) ); - connect( mDlg->pbDeleteAll, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteAllPressed() ) ); + connect( mDlg->pbNew, TQ_SIGNAL( clicked() ), TQ_SLOT( newPressed() ) ); + connect( mDlg->pbChange, TQ_SIGNAL( clicked() ), TQ_SLOT( changePressed() ) ); + connect( mDlg->pbDelete, TQ_SIGNAL( clicked() ), TQ_SLOT( deletePressed() ) ); + connect( mDlg->pbDeleteAll, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteAllPressed() ) ); - connect( mDlg->lbExceptions, TQT_SIGNAL(selectionChanged()), TQT_SLOT(updateButtons()) ); - connect( mDlg->lbExceptions, TQT_SIGNAL(doubleClicked (TQListBoxItem *)), TQT_SLOT(changePressed())); + connect( mDlg->lbExceptions, TQ_SIGNAL(selectionChanged()), TQ_SLOT(updateButtons()) ); + connect( mDlg->lbExceptions, TQ_SIGNAL(doubleClicked (TQListBoxItem *)), TQ_SLOT(changePressed())); - connect( mDlg->cbSameProxy, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( sameProxy(bool) ) ); - connect( mDlg->pbCopyDown, TQT_SIGNAL( clicked() ), TQT_SLOT( copyDown() ) ); + connect( mDlg->cbSameProxy, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( sameProxy(bool) ) ); + connect( mDlg->pbCopyDown, TQ_SIGNAL( clicked() ), TQ_SLOT( copyDown() ) ); - connect( mDlg->leHttp, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(textChanged(const TQString&)) ); - connect( mDlg->sbHttp, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(valueChanged (int)) ); + connect( mDlg->leHttp, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(textChanged(const TQString&)) ); + connect( mDlg->sbHttp, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(valueChanged (int)) ); } void KManualProxyDlg::setProxyData( const KProxyData &data ) diff --git a/kcontrol/tdeio/kproxydlg.cpp b/kcontrol/tdeio/kproxydlg.cpp index 9253916d7..344392b91 100644 --- a/kcontrol/tdeio/kproxydlg.cpp +++ b/kcontrol/tdeio/kproxydlg.cpp @@ -54,9 +54,9 @@ KProxyOptions::KProxyOptions (TQWidget* parent ) mTab->addTab(mProxy, i18n("&Proxy")); mTab->addTab(mSocks, i18n("&SOCKS")); - connect(mProxy, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); - connect(mSocks, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); - connect(mTab, TQT_SIGNAL(currentChanged(TQWidget *)), TQT_SIGNAL(quickHelpChanged())); + connect(mProxy, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); + connect(mSocks, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); + connect(mTab, TQ_SIGNAL(currentChanged(TQWidget *)), TQ_SIGNAL(quickHelpChanged())); } KProxyOptions::~KProxyOptions() @@ -121,27 +121,27 @@ KProxyDialog::KProxyDialog( TQWidget* parent) mainLayout->addStretch(); // signals and slots connections - connect( mDlg->rbNoProxy, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotUseProxyChanged() ) ); + connect( mDlg->rbNoProxy, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotUseProxyChanged() ) ); - connect( mDlg->rbAutoDiscover, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); - connect( mDlg->rbAutoScript, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->rbAutoDiscover, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); + connect( mDlg->rbAutoScript, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->rbPrompt, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); - connect( mDlg->rbPresetLogin, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->rbPrompt, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); + connect( mDlg->rbPresetLogin, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->cbPersConn, TQT_SIGNAL( toggled(bool) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->cbPersConn, TQ_SIGNAL( toggled(bool) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->location, TQT_SIGNAL( textChanged(const TQString&) ), - TQT_SLOT( slotChanged() ) ); + connect( mDlg->location, TQ_SIGNAL( textChanged(const TQString&) ), + TQ_SLOT( slotChanged() ) ); - connect( mDlg->pbEnvSetup, TQT_SIGNAL( clicked() ), TQT_SLOT( setupEnvProxy() ) ); - connect( mDlg->pbManSetup, TQT_SIGNAL( clicked() ), TQT_SLOT( setupManProxy() ) ); + connect( mDlg->pbEnvSetup, TQ_SIGNAL( clicked() ), TQ_SLOT( setupEnvProxy() ) ); + connect( mDlg->pbManSetup, TQ_SIGNAL( clicked() ), TQ_SLOT( setupManProxy() ) ); load(); } diff --git a/kcontrol/tdeio/main.cpp b/kcontrol/tdeio/main.cpp index c0770af9e..0116764c8 100644 --- a/kcontrol/tdeio/main.cpp +++ b/kcontrol/tdeio/main.cpp @@ -110,7 +110,7 @@ LanBrowser::LanBrowser(TQWidget *parent) tabs.addTab(smbPage, i18n("&Windows Shares")); smbPageTabNumber = currentTabNumber; currentTabNumber++; - connect(smbPage,TQT_SIGNAL(changed(bool)), TQT_SLOT( changed() )); + connect(smbPage,TQ_SIGNAL(changed(bool)), TQ_SLOT( changed() )); lisaPage = TDECModuleLoader::loadModule("kcmlisa", TDECModuleLoader::None, &tabs); if (lisaPage) @@ -118,14 +118,14 @@ LanBrowser::LanBrowser(TQWidget *parent) tabs.addTab(lisaPage,i18n("&LISa Daemon")); lisaPageTabNumber = currentTabNumber; currentTabNumber++; - connect(lisaPage,TQT_SIGNAL(changed()), TQT_SLOT( changed() )); + connect(lisaPage,TQ_SIGNAL(changed()), TQ_SLOT( changed() )); } // resLisaPage = TDECModuleLoader::loadModule("kcmreslisa", &tabs); // if (resLisaPage) // { // tabs.addTab(resLisaPage,i18n("R&esLISa Daemon")); -// connect(resLisaPage,TQT_SIGNAL(changed()), TQT_SLOT( changed() )); +// connect(resLisaPage,TQ_SIGNAL(changed()), TQ_SLOT( changed() )); // } tdeioLanPage = TDECModuleLoader::loadModule("kcmtdeiolan", TDECModuleLoader::None, &tabs); @@ -134,7 +134,7 @@ LanBrowser::LanBrowser(TQWidget *parent) tabs.addTab(tdeioLanPage,i18n("lan:/ Iosla&ve")); tdeioLanPageTabNumber = currentTabNumber; currentTabNumber++; - connect(tdeioLanPage,TQT_SIGNAL(changed()), TQT_SLOT( changed() )); + connect(tdeioLanPage,TQ_SIGNAL(changed()), TQ_SLOT( changed() )); } setButtons(Apply|Help); diff --git a/kcontrol/tdeio/netpref.cpp b/kcontrol/tdeio/netpref.cpp index acde5635e..2cf465977 100644 --- a/kcontrol/tdeio/netpref.cpp +++ b/kcontrol/tdeio/netpref.cpp @@ -29,29 +29,29 @@ KIOPreferences::KIOPreferences( TQWidget* parent ) sb_socketRead = new KIntNumInput( gb_Timeout, "sb_socketRead" ); sb_socketRead->setSuffix( i18n( " sec" ) ); sb_socketRead->setLabel( i18n( "Soc&ket read:" ), AlignVCenter); - connect(sb_socketRead, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_socketRead, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); sb_proxyConnect = new KIntNumInput( sb_socketRead, 0, gb_Timeout, 10, "sb_proxyConnect" ); sb_proxyConnect->setSuffix( i18n( " sec" ) ); sb_proxyConnect->setLabel( i18n( "Pro&xy connect:" ), AlignVCenter); - connect(sb_proxyConnect, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_proxyConnect, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); sb_serverConnect = new KIntNumInput( sb_proxyConnect, 0, gb_Timeout, 10, "sb_serverConnect" ); sb_serverConnect->setSuffix( i18n( " sec" ) ); sb_serverConnect->setLabel( i18n("Server co&nnect:"), AlignVCenter); - connect(sb_serverConnect, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_serverConnect, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); sb_serverResponse = new KIntNumInput( sb_serverConnect, 0, gb_Timeout, 10, "sb_serverResponse" ); sb_serverResponse->setSuffix( i18n( " sec" ) ); sb_serverResponse->setLabel( i18n("&Server response:"), AlignVCenter); - connect(sb_serverResponse, TQT_SIGNAL(valueChanged ( int )), - this, TQT_SLOT(configChanged())); + connect(sb_serverResponse, TQ_SIGNAL(valueChanged ( int )), + this, TQ_SLOT(configChanged())); gb_Ftp = new TQVGroupBox( i18n( "FTP Options" ), this, "gb_Ftp" ); cb_ftpEnablePasv = new TQCheckBox( i18n( "Enable passive &mode (PASV)" ), gb_Ftp ); @@ -64,8 +64,8 @@ KIOPreferences::KIOPreferences( TQWidget* parent ) mainLayout->addWidget( gb_Ftp ); - connect(cb_ftpEnablePasv, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged())); - connect(cb_ftpMarkPartial, TQT_SIGNAL(toggled(bool)), TQT_SLOT(configChanged())); + connect(cb_ftpEnablePasv, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged())); + connect(cb_ftpMarkPartial, TQ_SIGNAL(toggled(bool)), TQ_SLOT(configChanged())); mainLayout->addStretch(); diff --git a/kcontrol/tdeio/policydlg.cpp b/kcontrol/tdeio/policydlg.cpp index 385bc4a04..77c818cf2 100644 --- a/kcontrol/tdeio/policydlg.cpp +++ b/kcontrol/tdeio/policydlg.cpp @@ -67,8 +67,8 @@ PolicyDlg::PolicyDlg (const TQString& caption, TQWidget *parent, m_dlgUI->cbPolicy->setMinimumWidth( m_dlgUI->cbPolicy->fontMetrics().maxWidth() * 25 ); enableButtonOK( false ); - connect(m_dlgUI->leDomain, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotTextChanged(const TQString&))); + connect(m_dlgUI->leDomain, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotTextChanged(const TQString&))); setFixedSize (sizeHint()); m_dlgUI->leDomain->setFocus (); diff --git a/kcontrol/tdeio/smbrodlg.cpp b/kcontrol/tdeio/smbrodlg.cpp index ccb070e33..4df8ff396 100644 --- a/kcontrol/tdeio/smbrodlg.cpp +++ b/kcontrol/tdeio/smbrodlg.cpp @@ -73,11 +73,11 @@ SMBRoOptions::SMBRoOptions(TQWidget *parent) layout->addWidget(new TQWidget(this),4,0); -// connect(m_showHiddenShares, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(changed())); - connect(m_userLe, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); - connect(m_passwordLe, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); -// connect(m_workgroupLe, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(changed())); -// connect( m_encodingList, TQT_SIGNAL( activated( const TQString & ) ), this , TQT_SLOT( changed() ) ); +// connect(m_showHiddenShares, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(changed())); + connect(m_userLe, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); + connect(m_passwordLe, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); +// connect(m_workgroupLe, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(changed())); +// connect( m_encodingList, TQ_SIGNAL( activated( const TQString & ) ), this , TQ_SLOT( changed() ) ); layout->setRowStretch(4, 1); diff --git a/kcontrol/tdeio/socks.cpp b/kcontrol/tdeio/socks.cpp index 91d8cfd5c..8ac02dcfd 100644 --- a/kcontrol/tdeio/socks.cpp +++ b/kcontrol/tdeio/socks.cpp @@ -52,26 +52,26 @@ KSocksConfig::KSocksConfig(TQWidget *parent) base = new SocksBase(this); layout->add(base); - connect(base->_c_enableSocks, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged())); - connect(base->bg, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(methodChanged(int))); + connect(base->_c_enableSocks, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableChanged())); + connect(base->bg, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(methodChanged(int))); // The custom library - connect(base->_c_customPath, TQT_SIGNAL(openFileDialog(KURLRequester *)), this, TQT_SLOT(chooseCustomLib(KURLRequester *))); - connect(base->_c_customPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(customPathChanged(const TQString&))); + connect(base->_c_customPath, TQ_SIGNAL(openFileDialog(KURLRequester *)), this, TQ_SLOT(chooseCustomLib(KURLRequester *))); + connect(base->_c_customPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(customPathChanged(const TQString&))); // Additional libpaths - connect(base->_c_newPath, TQT_SIGNAL(openFileDialog(KURLRequester *)), this, TQT_SLOT(chooseCustomLib(KURLRequester *))); - connect(base->_c_newPath, TQT_SIGNAL(returnPressed(const TQString&)), - this, TQT_SLOT(addThisLibrary(const TQString&))); - connect(base->_c_newPath, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(libTextChanged(const TQString&))); - connect(base->_c_add, TQT_SIGNAL(clicked()), this, TQT_SLOT(addLibrary())); - connect(base->_c_remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeLibrary())); - connect(base->_c_libs, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(libSelection())); + connect(base->_c_newPath, TQ_SIGNAL(openFileDialog(KURLRequester *)), this, TQ_SLOT(chooseCustomLib(KURLRequester *))); + connect(base->_c_newPath, TQ_SIGNAL(returnPressed(const TQString&)), + this, TQ_SLOT(addThisLibrary(const TQString&))); + connect(base->_c_newPath, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(libTextChanged(const TQString&))); + connect(base->_c_add, TQ_SIGNAL(clicked()), this, TQ_SLOT(addLibrary())); + connect(base->_c_remove, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeLibrary())); + connect(base->_c_libs, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(libSelection())); // The "Test" button - connect(base->_c_test, TQT_SIGNAL(clicked()), this, TQT_SLOT(testClicked())); + connect(base->_c_test, TQ_SIGNAL(clicked()), this, TQ_SLOT(testClicked())); // The config backend load(); diff --git a/kcontrol/tdeio/uagentproviderdlg.cpp b/kcontrol/tdeio/uagentproviderdlg.cpp index 821d2e8e4..430261a45 100644 --- a/kcontrol/tdeio/uagentproviderdlg.cpp +++ b/kcontrol/tdeio/uagentproviderdlg.cpp @@ -82,14 +82,14 @@ UAProviderDlg::~UAProviderDlg() void UAProviderDlg::init() { - connect( dlg->pbOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) ); - connect( dlg->pbCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) ); + connect( dlg->pbOk, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) ); + connect( dlg->pbCancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) ); - connect( dlg->leSite, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(slotTextChanged( const TQString&)) ); + connect( dlg->leSite, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(slotTextChanged( const TQString&)) ); - connect( dlg->cbAlias, TQT_SIGNAL(activated(const TQString&)), - TQT_SLOT(slotActivated(const TQString&)) ); + connect( dlg->cbAlias, TQ_SIGNAL(activated(const TQString&)), + TQ_SLOT(slotActivated(const TQString&)) ); dlg->cbAlias->clear(); dlg->cbAlias->insertStringList( m_provider->userAgentAliasList() ); diff --git a/kcontrol/tdeio/useragentdlg.cpp b/kcontrol/tdeio/useragentdlg.cpp index 7b1f4b3d7..9ee0b58c6 100644 --- a/kcontrol/tdeio/useragentdlg.cpp +++ b/kcontrol/tdeio/useragentdlg.cpp @@ -56,22 +56,22 @@ UserAgentDlg::UserAgentDlg( TQWidget * parent ) dlg->lvDomainPolicyList->setSorting(0); - connect( dlg->cbSendUAString, TQT_SIGNAL(clicked()), TQT_SLOT(configChanged()) ); - - connect( dlg->gbDefaultId, TQT_SIGNAL(clicked(int)), - TQT_SLOT(changeDefaultUAModifiers(int))); - - connect( dlg->lvDomainPolicyList, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(selectionChanged()) ); - connect( dlg->lvDomainPolicyList, TQT_SIGNAL(doubleClicked (TQListViewItem *)), - TQT_SLOT(changePressed()) ); - connect( dlg->lvDomainPolicyList, TQT_SIGNAL( returnPressed ( TQListViewItem * ) ), - TQT_SLOT( changePressed() )); - - connect( dlg->pbNew, TQT_SIGNAL(clicked()), TQT_SLOT( addPressed() ) ); - connect( dlg->pbChange, TQT_SIGNAL( clicked() ), TQT_SLOT( changePressed() ) ); - connect( dlg->pbDelete, TQT_SIGNAL( clicked() ), TQT_SLOT( deletePressed() ) ); - connect( dlg->pbDeleteAll, TQT_SIGNAL( clicked() ), TQT_SLOT( deleteAllPressed() ) ); + connect( dlg->cbSendUAString, TQ_SIGNAL(clicked()), TQ_SLOT(configChanged()) ); + + connect( dlg->gbDefaultId, TQ_SIGNAL(clicked(int)), + TQ_SLOT(changeDefaultUAModifiers(int))); + + connect( dlg->lvDomainPolicyList, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(selectionChanged()) ); + connect( dlg->lvDomainPolicyList, TQ_SIGNAL(doubleClicked (TQListViewItem *)), + TQ_SLOT(changePressed()) ); + connect( dlg->lvDomainPolicyList, TQ_SIGNAL( returnPressed ( TQListViewItem * ) ), + TQ_SLOT( changePressed() )); + + connect( dlg->pbNew, TQ_SIGNAL(clicked()), TQ_SLOT( addPressed() ) ); + connect( dlg->pbChange, TQ_SIGNAL( clicked() ), TQ_SLOT( changePressed() ) ); + connect( dlg->pbDelete, TQ_SIGNAL( clicked() ), TQ_SLOT( deletePressed() ) ); + connect( dlg->pbDeleteAll, TQ_SIGNAL( clicked() ), TQ_SLOT( deleteAllPressed() ) ); load(); } diff --git a/kcontrol/tdm/background.cpp b/kcontrol/tdm/background.cpp index 832940d7d..c1f459924 100644 --- a/kcontrol/tdm/background.cpp +++ b/kcontrol/tdm/background.cpp @@ -54,14 +54,14 @@ KBackground::KBackground(TQWidget *parent, const char *name) m_simpleConf=new KSimpleConfig(config->readEntry( "BackgroundCfg",KDE_CONFDIR "/tdm/backgroundrc" ) ); m_background = new BGDialog( this, m_simpleConf, false ); - connect(m_background, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(m_background, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); // Top layout TQVBoxLayout *top = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint() ); top->addWidget(m_pCBEnable); top->addWidget(m_background); top->addStretch(); - connect( m_pCBEnable, TQT_SIGNAL(toggled( bool )), TQT_SLOT(slotEnableChanged()) ); + connect( m_pCBEnable, TQ_SIGNAL(toggled( bool )), TQ_SLOT(slotEnableChanged()) ); } KBackground::~KBackground() diff --git a/kcontrol/tdm/main.cpp b/kcontrol/tdm/main.cpp index be0ee58a7..71e09cb0d 100644 --- a/kcontrol/tdm/main.cpp +++ b/kcontrol/tdm/main.cpp @@ -190,34 +190,34 @@ TDModule::TDModule(TQWidget *parent, const char *name, const TQStringList &) appearance = new TDMAppearanceWidget(this); tab->addTab(appearance, i18n("A&ppearance")); - connect(appearance, TQT_SIGNAL(changed(bool)), TQT_SIGNAL( changed(bool))); + connect(appearance, TQ_SIGNAL(changed(bool)), TQ_SIGNAL( changed(bool))); font = new TDMFontWidget(this); tab->addTab(font, i18n("&Font")); - connect(font, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(font, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); background = new KBackground(this); tab->addTab(background, i18n("&Background")); - connect(background, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(background, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); sessions = new TDMSessionsWidget(this); tab->addTab(sessions, i18n("&Shutdown")); - connect(sessions, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); + connect(sessions, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); users = new TDMUsersWidget(this, 0); tab->addTab(users, i18n("&Users")); - connect(users, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); - connect(users, TQT_SIGNAL(setMinMaxUID(int,int)), TQT_SLOT(slotMinMaxUID(int,int))); - connect(this, TQT_SIGNAL(addUsers(const TQMap<TQString,int> &)), users, TQT_SLOT(slotAddUsers(const TQMap<TQString,int> &))); - connect(this, TQT_SIGNAL(delUsers(const TQMap<TQString,int> &)), users, TQT_SLOT(slotDelUsers(const TQMap<TQString,int> &))); - connect(this, TQT_SIGNAL(clearUsers()), users, TQT_SLOT(slotClearUsers())); + connect(users, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); + connect(users, TQ_SIGNAL(setMinMaxUID(int,int)), TQ_SLOT(slotMinMaxUID(int,int))); + connect(this, TQ_SIGNAL(addUsers(const TQMap<TQString,int> &)), users, TQ_SLOT(slotAddUsers(const TQMap<TQString,int> &))); + connect(this, TQ_SIGNAL(delUsers(const TQMap<TQString,int> &)), users, TQ_SLOT(slotDelUsers(const TQMap<TQString,int> &))); + connect(this, TQ_SIGNAL(clearUsers()), users, TQ_SLOT(slotClearUsers())); convenience = new TDMConvenienceWidget(this, 0); tab->addTab(convenience, i18n("Con&venience")); - connect(convenience, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); - connect(this, TQT_SIGNAL(addUsers(const TQMap<TQString,int> &)), convenience, TQT_SLOT(slotAddUsers(const TQMap<TQString,int> &))); - connect(this, TQT_SIGNAL(delUsers(const TQMap<TQString,int> &)), convenience, TQT_SLOT(slotDelUsers(const TQMap<TQString,int> &))); - connect(this, TQT_SIGNAL(clearUsers()), convenience, TQT_SLOT(slotClearUsers())); + connect(convenience, TQ_SIGNAL(changed(bool)), TQ_SIGNAL(changed(bool))); + connect(this, TQ_SIGNAL(addUsers(const TQMap<TQString,int> &)), convenience, TQ_SLOT(slotAddUsers(const TQMap<TQString,int> &))); + connect(this, TQ_SIGNAL(delUsers(const TQMap<TQString,int> &)), convenience, TQ_SLOT(slotDelUsers(const TQMap<TQString,int> &))); + connect(this, TQ_SIGNAL(clearUsers()), convenience, TQ_SLOT(slotClearUsers())); load(); if (getuid() != 0 || !config->checkConfigFilesWritable( true )) { diff --git a/kcontrol/tdm/tdm-appear.cpp b/kcontrol/tdm/tdm-appear.cpp index 5b8ede62e..973d1dc35 100644 --- a/kcontrol/tdm/tdm-appear.cpp +++ b/kcontrol/tdm/tdm-appear.cpp @@ -76,8 +76,8 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) greetstr_lined = new KLineEdit(group); TQLabel *label = new TQLabel(greetstr_lined, i18n("&Greeting:"), group); hlay->addWidget(label); - connect(greetstr_lined, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(changed())); + connect(greetstr_lined, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(changed())); hlay->addWidget(greetstr_lined); wtstr = i18n("This is the \"headline\" for TDM's login window. You may want to " "put some nice greeting or information about the operating system here.<p>" @@ -107,8 +107,8 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) logoRadio = new TQRadioButton( i18n("Sho&w logo"), group ); TQButtonGroup *buttonGroup = new TQButtonGroup( group ); label->setBuddy( buttonGroup ); - connect( buttonGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotAreaRadioClicked(int)) ); - connect( buttonGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(changed()) ); + connect( buttonGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotAreaRadioClicked(int)) ); + connect( buttonGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(changed()) ); buttonGroup->hide(); buttonGroup->insert(noneRadio, KdmNone); buttonGroup->insert(clockRadio, KdmClock); @@ -128,7 +128,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) logobutton->setAutoDefault(false); logobutton->setAcceptDrops(true); logobutton->installEventFilter(this); // for drag and drop - connect(logobutton, TQT_SIGNAL(clicked()), TQT_SLOT(slotLogoButtonClicked())); + connect(logobutton, TQ_SIGNAL(clicked()), TQ_SLOT(slotLogoButtonClicked())); hglay->addWidget(logoLabel, 1, 0); hglay->addWidget(logobutton, 1, 1, TQt::AlignCenter); hglay->addRowSpacing(1, 110); @@ -150,14 +150,14 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) TQLabel *xLineLabel = new TQLabel(i18n("&X:"), group); hglay->addWidget(xLineLabel, 0, 1); xLineEdit = new TQLineEdit (group); - connect( xLineEdit, TQT_SIGNAL( textChanged(const TQString&) ), TQT_SLOT( changed() )); + connect( xLineEdit, TQ_SIGNAL( textChanged(const TQString&) ), TQ_SLOT( changed() )); hglay->addWidget(xLineEdit, 0, 2); xLineLabel->setBuddy(xLineEdit); xLineEdit->setValidator(posValidator); TQLabel *yLineLabel = new TQLabel(i18n("&Y:"), group); hglay->addWidget(yLineLabel, 1, 1); yLineEdit = new TQLineEdit (group); - connect( yLineEdit, TQT_SIGNAL( textChanged(const TQString&) ), TQT_SLOT( changed() )); + connect( yLineEdit, TQ_SIGNAL( textChanged(const TQString&) ), TQ_SLOT( changed() )); hglay->addWidget(yLineEdit, 1, 2); yLineLabel->setBuddy(yLineEdit); yLineEdit->setValidator(posValidator); @@ -179,7 +179,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) compositorcombo->insertItem( "", i18n("None") ); compositorcombo->insertItem( TDE_COMPOSITOR_BINARY, i18n("Trinity compositor") ); label = new TQLabel(compositorcombo, i18n("Compositor:"), group); - connect(compositorcombo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); + connect(compositorcombo, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); hglay->addWidget(label, 0, 0); hglay->addWidget(compositorcombo, 0, 1); wtstr = i18n("Choose a compositor to be used in TDM. Note that the chosen compositor will continue to run after login."); @@ -191,7 +191,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) loadGuiStyles(guicombo); guicombo->listBox()->sort(); label = new TQLabel(guicombo, i18n("GUI s&tyle:"), group); - connect(guicombo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); + connect(guicombo, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); hglay->addWidget(label, 1, 0); hglay->addWidget(guicombo, 1, 1); wtstr = i18n("You can choose a basic GUI style here that will be " @@ -204,7 +204,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) loadColorSchemes(colcombo); colcombo->listBox()->sort(); label = new TQLabel(colcombo, i18n("&Color scheme:"), group); - connect(colcombo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); + connect(colcombo, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); hglay->addWidget(label, 2, 0); hglay->addWidget(colcombo, 2, 1); wtstr = i18n("You can choose a basic Color Scheme here that will be " @@ -217,7 +217,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) echocombo->insertItem("OneStar", i18n("One Star")); echocombo->insertItem("ThreeStars", i18n("Three Stars")); label = new TQLabel(echocombo, i18n("Echo &mode:"), group); - connect(echocombo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); + connect(echocombo, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); hglay->addWidget(label, 3, 0); hglay->addWidget(echocombo, 3, 1); wtstr = i18n("You can choose whether and how TDM shows your password when you type it."); @@ -231,7 +231,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) langcombo = new KLanguageButton(group); loadLanguageList(langcombo); - connect(langcombo, TQT_SIGNAL(activated(const TQString &)), TQT_SLOT(changed())); + connect(langcombo, TQ_SIGNAL(activated(const TQString &)), TQ_SLOT(changed())); label = new TQLabel(langcombo, i18n("Languag&e:"), group); TQGridLayout *hbox = new TQGridLayout( group->layout(), 2, 2, KDialog::spacingHint() ); hbox->setColStretch(1, 1); @@ -247,7 +247,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) vbox->addWidget(group); sakbox = new TQCheckBox( i18n("Enable Secure Attention Key"), group ); - connect( sakbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) ); + connect( sakbox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()) ); TQGridLayout *hbox2 = new TQGridLayout( group->layout(), 2, 2, KDialog::spacingHint() ); hbox2->setColStretch(1, 1); hbox2->addWidget(sakbox, 1, 0); @@ -266,7 +266,7 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) vbox->addWidget(group); kbdledbox = new TQCheckBox(i18n("Sync keyboard led status"), group); - connect(kbdledbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed())); + connect(kbdledbox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed())); TQGridLayout *hbox3 = new TQGridLayout(group->layout(), 2, 2, KDialog::spacingHint()); hbox3->setColStretch(1, 1); hbox3->addWidget(kbdledbox, 1, 0); @@ -277,8 +277,8 @@ TDMAppearanceWidget::TDMAppearanceWidget(TQWidget *parent, const char *name) void TDMAppearanceWidget::makeReadOnly() { - disconnect( logobutton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLogoButtonClicked()) ); + disconnect( logobutton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLogoButtonClicked()) ); logobutton->setAcceptDrops(false); greetstr_lined->setReadOnly(true); noneRadio->setEnabled(false); diff --git a/kcontrol/tdm/tdm-conv.cpp b/kcontrol/tdm/tdm-conv.cpp index 487e8adbb..a324e866a 100644 --- a/kcontrol/tdm/tdm-conv.cpp +++ b/kcontrol/tdm/tdm-conv.cpp @@ -55,7 +55,7 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) TQWhatsThis::add( alGroup, i18n("Turn on the auto-login feature." " This applies only to TDM's graphical login." " Think twice before enabling this!") ); - connect(alGroup, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); + connect(alGroup, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); TQWidget *hlpw1 = new TQWidget( alGroup ); userlb = new KComboBox( hlpw1 ); @@ -64,7 +64,7 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) hlpl1->setColStretch(2, 1); hlpl1->addWidget(u_label, 0, 0); hlpl1->addWidget(userlb, 0, 1); - connect(userlb, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotChanged())); + connect(userlb, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slotChanged())); wtstr = i18n("Select the user to be logged in automatically."); TQWhatsThis::add( u_label, wtstr ); TQWhatsThis::add( userlb, wtstr ); @@ -74,18 +74,18 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) d_label = new TQLabel( delaysb, i18n("D&elay:"), hlpw1 ); hlpl1->addWidget(d_label, 1, 0); hlpl1->addWidget(delaysb, 1, 1); - connect(delaysb, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChanged())); + connect(delaysb, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChanged())); wtstr = i18n("The delay (in seconds) before the automatic login kicks in. " "This feature is also known as \"timed login\"."); TQWhatsThis::add( d_label, wtstr ); TQWhatsThis::add( delaysb, wtstr ); againcb = new TQCheckBox( i18n("P&ersistent"), alGroup ); - connect( againcb, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged()) ); + connect( againcb, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged()) ); TQWhatsThis::add( againcb, i18n("Normally, automatic login is performed only " "when TDM starts up. If this is checked, automatic login will kick in " "after finishing a session as well.") ); autoLockCheck = new TQCheckBox( i18n("Loc&k session"), alGroup ); - connect( autoLockCheck, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged()) ); + connect( autoLockCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged()) ); TQWhatsThis::add( autoLockCheck, i18n("If checked, the automatically started session " "will be locked immediately (provided it is a TDE session). This can " "be used to obtain a super-fast login restricted to one user.") ); @@ -94,8 +94,8 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) puGroup = new TQVButtonGroup(i18n("Preselect User"), this ); puGroup->setSizePolicy( vpref ); - connect(puGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotPresChanged())); - connect(puGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotChanged())); + connect(puGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotPresChanged())); + connect(puGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotChanged())); npRadio = new TQRadioButton(i18n("preselected user", "&None"), puGroup); ppRadio = new TQRadioButton(i18n("Prev&ious"), puGroup); TQWhatsThis::add( ppRadio, i18n("Preselect the user that logged in previously. " @@ -106,7 +106,7 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) TQWidget *hlpw = new TQWidget(puGroup); puserlb = new KComboBox(true, hlpw); pu_label = new TQLabel(puserlb, i18n("Us&er:"), hlpw); - connect(puserlb, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotChanged())); + connect(puserlb, TQ_SIGNAL(textChanged(const TQString &)), TQ_SLOT(slotChanged())); wtstr = i18n("Select the user to be preselected for login. " "This box is editable, so you can specify an arbitrary non-existent " "user to mislead possible attackers."); @@ -121,7 +121,7 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) "in the password field instead of the user field after preselecting a user. " "Use this to save one key press per login, if the preselection usually does not need to " "be changed.") ); - connect(cbjumppw, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); + connect(cbjumppw, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); npGroup = new TQVGroupBox(i18n("Enable Password-&Less Logins"), this ); npGroup->setCheckable( true ); @@ -131,7 +131,7 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) " password. This applies only to TDM's graphical login." " Think twice before enabling this!") ); - connect(npGroup, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); + connect(npGroup, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); pl_label = new TQLabel(i18n("No password re&quired for:"), npGroup); npuserlv = new TDEListView(npGroup); @@ -141,8 +141,8 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) npuserlv->setResizeMode(TQListView::LastColumn); TQWhatsThis::add(npuserlv, i18n("Check all users you want to allow a password-less login for." " Entries denoted with '@' are user groups. Checking a group is like checking all users in that group.")); - connect( npuserlv, TQT_SIGNAL(clicked( TQListViewItem * )), - TQT_SLOT(slotChanged()) ); + connect( npuserlv, TQ_SIGNAL(clicked( TQListViewItem * )), + TQ_SLOT(slotChanged()) ); btGroup = new TQVGroupBox( i18n("Miscellaneous"), this ); @@ -152,12 +152,12 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) " X server crash; note that this can open a security hole: if you use" " a screen locker than TDE's integrated one, this will make" " circumventing a password-secured screen lock possible.") ); - connect(cbarlen, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); + connect(cbarlen, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); allowRootLogin = new TQCheckBox(i18n("Allow &Root Login"), btGroup); TQWhatsThis::add( allowRootLogin, i18n("When set this allows root logins directly in TDM. " "This is discouraged by some people. Use with caution.") ); - connect(allowRootLogin, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotChanged())); + connect(allowRootLogin, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotChanged())); TQGridLayout *main = new TQGridLayout(this, 5, 2, 10); main->addWidget(paranoia, 0, 0); @@ -169,12 +169,12 @@ TDMConvenienceWidget::TDMConvenienceWidget(TQWidget *parent, const char *name) main->setColStretch(1, 2); main->setRowStretch(3, 1); - connect( userlb, TQT_SIGNAL(activated( const TQString & )), - TQT_SLOT(slotSetAutoUser( const TQString & )) ); - connect( puserlb, TQT_SIGNAL(textChanged( const TQString & )), - TQT_SLOT(slotSetPreselUser( const TQString & )) ); - connect( npuserlv, TQT_SIGNAL(clicked( TQListViewItem * )), - TQT_SLOT(slotUpdateNoPassUser( TQListViewItem * )) ); + connect( userlb, TQ_SIGNAL(activated( const TQString & )), + TQ_SLOT(slotSetAutoUser( const TQString & )) ); + connect( puserlb, TQ_SIGNAL(textChanged( const TQString & )), + TQ_SLOT(slotSetPreselUser( const TQString & )) ); + connect( npuserlv, TQ_SIGNAL(clicked( TQListViewItem * )), + TQ_SLOT(slotUpdateNoPassUser( TQListViewItem * )) ); } diff --git a/kcontrol/tdm/tdm-font.cpp b/kcontrol/tdm/tdm-font.cpp index 65dbea179..0aa2e4a70 100644 --- a/kcontrol/tdm/tdm-font.cpp +++ b/kcontrol/tdm/tdm-font.cpp @@ -47,7 +47,7 @@ TDMFontWidget::TDMFontWidget(TQWidget *parent, const char *name) stdFontChooser = new TDEFontRequester(this); label->setBuddy(stdFontChooser); TQWhatsThis::add( stdFontChooser, i18n("This changes the font which is used for all the text in the login manager except for the greeting and failure messages.") ); - connect(stdFontChooser, TQT_SIGNAL(fontSelected(const TQFont&)),this,TQT_SLOT(configChanged())); + connect(stdFontChooser, TQ_SIGNAL(fontSelected(const TQFont&)),this,TQ_SLOT(configChanged())); ml->addWidget(label, 1, 0); ml->addWidget(stdFontChooser, 1, 1); @@ -55,7 +55,7 @@ TDMFontWidget::TDMFontWidget(TQWidget *parent, const char *name) failFontChooser = new TDEFontRequester(this); label->setBuddy(failFontChooser); TQWhatsThis::add( failFontChooser, i18n("This changes the font which is used for failure messages in the login manager.") ); - connect(failFontChooser, TQT_SIGNAL(fontSelected(const TQFont&)),this,TQT_SLOT(configChanged())); + connect(failFontChooser, TQ_SIGNAL(fontSelected(const TQFont&)),this,TQ_SLOT(configChanged())); ml->addWidget(label, 2, 0); ml->addWidget(failFontChooser, 2, 1); @@ -63,14 +63,14 @@ TDMFontWidget::TDMFontWidget(TQWidget *parent, const char *name) greetingFontChooser = new TDEFontRequester(this); label->setBuddy(greetingFontChooser); TQWhatsThis::add( greetingFontChooser, i18n("This changes the font which is used for the login manager's greeting.") ); - connect(greetingFontChooser, TQT_SIGNAL(fontSelected(const TQFont&)),this,TQT_SLOT(configChanged())); + connect(greetingFontChooser, TQ_SIGNAL(fontSelected(const TQFont&)),this,TQ_SLOT(configChanged())); ml->addWidget(label, 3, 0); ml->addWidget(greetingFontChooser, 3, 1); aacb = new TQCheckBox (i18n("Use anti-aliasing for fonts"), this); TQWhatsThis::add( aacb, i18n("If you check this box and your X-Server has the Xft extension, " "fonts will be antialiased (smoothed) in the login dialog.") ); - connect(aacb, TQT_SIGNAL(toggled ( bool )),this,TQT_SLOT(configChanged())); + connect(aacb, TQ_SIGNAL(toggled ( bool )),this,TQ_SLOT(configChanged())); ml->addMultiCellWidget(aacb, 4, 4, 0, 1); ml->setRowStretch(5, 10); } diff --git a/kcontrol/tdm/tdm-shut.cpp b/kcontrol/tdm/tdm-shut.cpp index da120ae4c..6d6ed8cd7 100644 --- a/kcontrol/tdm/tdm-shut.cpp +++ b/kcontrol/tdm/tdm-shut.cpp @@ -54,13 +54,13 @@ TDMSessionsWidget::TDMSessionsWidget(TQWidget *parent, const char *name) sdlcombo->insertItem(i18n("Everybody"), SdAll); sdlcombo->insertItem(i18n("Only Root"), SdRoot); sdlcombo->insertItem(i18n("Nobody"), SdNone); - connect(sdlcombo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); + connect(sdlcombo, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); sdrcombo = new TQComboBox( FALSE, group0 ); sdrlabel = new TQLabel (sdrcombo, i18n ("&Remote:"), group0); sdrcombo->insertItem(i18n("Everybody"), SdAll); sdrcombo->insertItem(i18n("Only Root"), SdRoot); sdrcombo->insertItem(i18n("Nobody"), SdNone); - connect(sdrcombo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); + connect(sdrcombo, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); TQWhatsThis::add( group0, i18n("Here you can select who is allowed to shutdown" " the computer using TDM. You can specify different values for local (console) and remote displays. " "Possible values are:<ul>" @@ -73,16 +73,16 @@ TDMSessionsWidget::TDMSessionsWidget(TQWidget *parent, const char *name) shutdown_lined = new KURLRequester(group1); TQLabel *shutdown_label = new TQLabel(shutdown_lined, i18n("H&alt:"), group1); - connect(shutdown_lined, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(changed())); + connect(shutdown_lined, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(changed())); wtstr = i18n("Command to initiate the system halt. Typical value: /sbin/halt"); TQWhatsThis::add( shutdown_label, wtstr ); TQWhatsThis::add( shutdown_lined, wtstr ); restart_lined = new KURLRequester(group1); TQLabel *restart_label = new TQLabel(restart_lined, i18n("Reb&oot:"), group1); - connect(restart_lined, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(changed())); + connect(restart_lined, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(changed())); wtstr = i18n("Command to initiate the system reboot. Typical value: /sbin/reboot"); TQWhatsThis::add( restart_label, wtstr ); TQWhatsThis::add( restart_lined, wtstr ); @@ -97,13 +97,13 @@ TDMSessionsWidget::TDMSessionsWidget(TQWidget *parent, const char *name) bm_combo->insertItem("Lilo", i18n("Lilo")); #endif TQLabel *bm_label = new TQLabel( bm_combo, i18n("Boot manager:"), group4 ); - connect(bm_combo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed())); + connect(bm_combo, TQ_SIGNAL(activated(int)), TQ_SLOT(changed())); wtstr = i18n("Enable boot options in the \"Shutdown...\" dialog."); TQWhatsThis::add( bm_label, wtstr ); TQWhatsThis::add( bm_combo, wtstr ); tsbox = new TQCheckBox( i18n("Restart X-Server with session exit"), this ); - connect( tsbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) ); + connect( tsbox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()) ); wtstr = i18n("Whether the login manager should restart the local X-Server after a session exit instead of resetting. Use this option when the X-Server leaks memory, crashes the system on reset attempts, or otherwise exhibits display issues or artifacts."); TQWhatsThis::add( tsbox, wtstr ); diff --git a/kcontrol/tdm/tdm-users.cpp b/kcontrol/tdm/tdm-users.cpp index aeaeb9347..5195c3bfd 100644 --- a/kcontrol/tdm/tdm-users.cpp +++ b/kcontrol/tdm/tdm-users.cpp @@ -104,19 +104,19 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) minlab->setBuddy( leminuid ); leminuid->setSizePolicy( sp_ign_fix ); leminuid->setValidator( valid ); - connect( leminuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) ); - connect( leminuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) ); + connect( leminuid, TQ_SIGNAL(textChanged( const TQString & )), TQ_SLOT(slotChanged()) ); + connect( leminuid, TQ_SIGNAL(textChanged( const TQString & )), TQ_SLOT(slotMinMaxChanged()) ); TQLabel *maxlab = new TQLabel( i18n("Above:"), minGroup ); lemaxuid = new KLineEdit( minGroup ); maxlab->setBuddy( lemaxuid ); lemaxuid->setSizePolicy( sp_ign_fix ); lemaxuid->setValidator( valid ); - connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) ); - connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) ); + connect(lemaxuid, TQ_SIGNAL(textChanged( const TQString & )), TQ_SLOT(slotChanged()) ); + connect(lemaxuid, TQ_SIGNAL(textChanged( const TQString & )), TQ_SLOT(slotMinMaxChanged()) ); 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()) ); + connect( usrGroup, TQ_SIGNAL(clicked( int )), TQ_SLOT(slotShowOpts()) ); + connect( usrGroup, TQ_SIGNAL(clicked( int )), TQ_SLOT(slotChanged()) ); cbshowlist = new TQCheckBox( i18n("Show list"), usrGroup ); TQWhatsThis::add( cbshowlist, i18n("If this option is checked, TDM will show a list of users," " so users can click on their name or image rather than typing in their login.") ); @@ -129,7 +129,7 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) "If not checked, select only the checked users. " "If checked, select all non-system users, except the checked ones.")); cbusrsrt = new TQCheckBox( i18n("Sor&t users"), usrGroup ); - connect( cbusrsrt, TQT_SIGNAL(toggled( bool )), TQT_SLOT(slotChanged()) ); + connect( cbusrsrt, TQ_SIGNAL(toggled( bool )), TQ_SLOT(slotChanged()) ); TQWhatsThis::add( cbusrsrt, i18n("If this is checked, TDM will alphabetically sort the user list." " Otherwise users are listed in the order they appear in the password file.") ); @@ -140,27 +140,27 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) optinlv->setResizeMode( TQListView::LastColumn ); TQWhatsThis::add( optinlv, i18n("TDM will show all checked users. Entries denoted with '@' are user groups. Checking a group is like checking all users in that group.") ); wstack->addWidget( optinlv ); - connect( optinlv, TQT_SIGNAL(clicked( TQListViewItem * )), - TQT_SLOT(slotUpdateOptIn( TQListViewItem * )) ); - connect( optinlv, TQT_SIGNAL(clicked( TQListViewItem * )), - TQT_SLOT(slotChanged()) ); + connect( optinlv, TQ_SIGNAL(clicked( TQListViewItem * )), + TQ_SLOT(slotUpdateOptIn( TQListViewItem * )) ); + connect( optinlv, TQ_SIGNAL(clicked( TQListViewItem * )), + TQ_SLOT(slotChanged()) ); optoutlv = new TDEListView( this ); optoutlv->addColumn( i18n("Hidden Users") ); optoutlv->setResizeMode( TQListView::LastColumn ); TQWhatsThis::add( optoutlv, i18n("TDM will show all non-checked non-system users. Entries denoted with '@' are user groups. Checking a group is like checking all users in that group.") ); wstack->addWidget( optoutlv ); - connect( optoutlv, TQT_SIGNAL(clicked( TQListViewItem * )), - TQT_SLOT(slotUpdateOptOut( TQListViewItem * )) ); - connect( optoutlv, TQT_SIGNAL(clicked( TQListViewItem * )), - TQT_SLOT(slotChanged()) ); + connect( optoutlv, TQ_SIGNAL(clicked( TQListViewItem * )), + TQ_SLOT(slotUpdateOptOut( TQListViewItem * )) ); + connect( optoutlv, TQ_SIGNAL(clicked( TQListViewItem * )), + TQ_SLOT(slotChanged()) ); 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." " The two selections in the middle define the order of preference if both sources are available.") ); - connect( faceGroup, TQT_SIGNAL(clicked( int )), TQT_SLOT(slotFaceOpts()) ); - connect( faceGroup, TQT_SIGNAL(clicked( int )), TQT_SLOT(slotChanged()) ); + connect( faceGroup, TQ_SIGNAL(clicked( int )), TQ_SLOT(slotFaceOpts()) ); + connect( faceGroup, TQ_SIGNAL(clicked( int )), TQ_SLOT(slotChanged()) ); rbadmonly = new TQRadioButton( i18n("Admin"), faceGroup ); rbprefadm = new TQRadioButton( i18n("Admin, user"), faceGroup ); rbprefusr = new TQRadioButton( i18n("User, admin"), faceGroup ); @@ -170,23 +170,23 @@ TDMUsersWidget::TDMUsersWidget(TQWidget *parent, const char *name) TQWidget *hlpw = new TQWidget( picGroup ); usercombo = new KComboBox( hlpw ); TQWhatsThis::add( usercombo, i18n("The user the image below belongs to.") ); - connect( usercombo, TQT_SIGNAL(activated( int )), - TQT_SLOT(slotUserSelected()) ); + connect( usercombo, TQ_SIGNAL(activated( int )), + TQ_SLOT(slotUserSelected()) ); TQLabel *userlabel = new TQLabel( usercombo, i18n("User:"), hlpw ); userbutton = new TQPushButton( hlpw ); userbutton->setAcceptDrops( true ); userbutton->installEventFilter( this ); // for drag and drop uint sz = style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2 + 48; userbutton->setFixedSize( sz, sz ); - connect( userbutton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotUserButtonClicked()) ); + connect( userbutton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotUserButtonClicked()) ); TQToolTip::add( userbutton, i18n("Click or drop an image here") ); TQWhatsThis::add( userbutton, i18n("Here you can see the image assigned to the user selected in the combo box above. Click on the image button to select from a list" " of images or drag and drop your own image on to the button (e.g. from Konqueror).") ); rstuserbutton = new TQPushButton( i18n("Unset"), hlpw ); TQWhatsThis::add( rstuserbutton, i18n("Click this button to make TDM use the default image for the selected user.") ); - connect( rstuserbutton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotUnsetUserPix()) ); + connect( rstuserbutton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotUnsetUserPix()) ); TQGridLayout *hlpl = new TQGridLayout( hlpw, 3, 2, 0, KDialog::spacingHint() ); hlpl->addWidget( userlabel, 0, 0 ); // hlpl->addSpacing( KDialog::spacingHint() ); @@ -227,7 +227,7 @@ void TDMUsersWidget::makeReadOnly() rbprefusr->setEnabled(false); rbusronly->setEnabled(false); wstack->setEnabled(false); - disconnect( userbutton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUserButtonClicked()) ); + disconnect( userbutton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUserButtonClicked()) ); userbutton->setAcceptDrops(false); rstuserbutton->setEnabled(false); } diff --git a/kcontrol/usbview/kcmusb.cpp b/kcontrol/usbview/kcmusb.cpp index 223a201d1..de61a61b2 100644 --- a/kcontrol/usbview/kcmusb.cpp +++ b/kcontrol/usbview/kcmusb.cpp @@ -63,9 +63,9 @@ USBViewer::USBViewer(TQWidget *parent, const char *name, const TQStringList &) // 1 sec seems to be a good compromise between latency and polling load. refreshTimer->start(1000); - connect(refreshTimer, TQT_SIGNAL(timeout()), TQT_SLOT(refresh())); - connect(_devices, TQT_SIGNAL(selectionChanged(TQListViewItem*)), - this, TQT_SLOT(selectionChanged(TQListViewItem*))); + connect(refreshTimer, TQ_SIGNAL(timeout()), TQ_SLOT(refresh())); + connect(_devices, TQ_SIGNAL(selectionChanged(TQListViewItem*)), + this, TQ_SLOT(selectionChanged(TQListViewItem*))); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmusb"), I18N_NOOP("TDE USB Viewer"), diff --git a/kcontrol/view1394/view1394.cpp b/kcontrol/view1394/view1394.cpp index d6f879fd4..a3815b90f 100644 --- a/kcontrol/view1394/view1394.cpp +++ b/kcontrol/view1394/view1394.cpp @@ -85,8 +85,8 @@ View1394::View1394(TQWidget *parent, const char *name) m_view->m_listview->setColumnAlignment(8, AlignRight); m_view->m_listview->setColumnAlignment(9, AlignRight); box->addWidget(m_view); - connect(m_view->m_busResetPb, TQT_SIGNAL(clicked()), this, TQT_SLOT(generateBusReset())); - connect(&m_rescanTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(rescanBus())); + connect(m_view->m_busResetPb, TQ_SIGNAL(clicked()), this, TQ_SLOT(generateBusReset())); + connect(&m_rescanTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(rescanBus())); m_notifiers.setAutoDelete(true); rescanBus(); } @@ -188,7 +188,7 @@ void View1394::rescanBus() raw1394_set_userdata(handle, this); raw1394_set_bus_reset_handler(handle, my_reset_handler); TQSocketNotifier *notif=new TQSocketNotifier(raw1394_get_fd(handle),TQSocketNotifier::Read); - connect(notif, TQT_SIGNAL(activated(int)), this, TQT_SLOT(callRaw1394EventLoop(int))); + connect(notif, TQ_SIGNAL(activated(int)), this, TQ_SLOT(callRaw1394EventLoop(int))); m_notifiers.append(notif); m_handles.append(handle); diff --git a/kcontrol/xinerama/kcmxinerama.cpp b/kcontrol/xinerama/kcmxinerama.cpp index f5d74a191..2c0fd2bba 100644 --- a/kcontrol/xinerama/kcmxinerama.cpp +++ b/kcontrol/xinerama/kcmxinerama.cpp @@ -59,7 +59,7 @@ KCMXinerama::KCMXinerama(TQWidget *parent, const char *name) config = new TDEConfig("kdeglobals", false, false); ksplashrc = new TDEConfig("ksplashrc", false, false); - connect(&_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(clearIndicator())); + connect(&_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(clearIndicator())); TQGridLayout *grid = new TQGridLayout(this, 1, 1, KDialog::marginHint(), KDialog::spacingHint()); @@ -91,14 +91,14 @@ KCMXinerama::KCMXinerama(TQWidget *parent, const char *name) xw->headTable->setRowLabels(dpyList); - connect(xw->_ksplashDisplay, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(windowIndicator(int))); - connect(xw->_unmanagedDisplay, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(windowIndicator(int))); - connect(xw->_identify, TQT_SIGNAL(clicked()), - this, TQT_SLOT(indicateWindows())); + connect(xw->_ksplashDisplay, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(windowIndicator(int))); + connect(xw->_unmanagedDisplay, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(windowIndicator(int))); + connect(xw->_identify, TQ_SIGNAL(clicked()), + this, TQ_SLOT(indicateWindows())); - connect(xw, TQT_SIGNAL(configChanged()), this, TQT_SLOT(changed())); + connect(xw, TQ_SIGNAL(configChanged()), this, TQ_SLOT(changed())); } else { // no Xinerama TQLabel *ql = new TQLabel(i18n("<qt><p>This module is only for configuring systems with a single desktop spread across multiple monitors. You do not appear to have this configuration.</p></qt>"), this); grid->addWidget(ql, 0, 0); |