Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/18/head
Michele Calgaro 11 months ago
parent babc63b811
commit 61f899bc4e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -643,128 +643,128 @@ QtCurveConfig::QtCurveConfig(TQWidget *parent)
colorSelTab->setRange(MIN_COLOR_SEL_TAB_FACTOR, MAX_COLOR_SEL_TAB_FACTOR, 5, false);
colorSelTab->setValue(DEF_COLOR_SEL_TAB_FACTOR);
connect(lighterPopupMenuBgnd, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
connect(tabBgnd, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
connect(menuDelay, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
connect(sliderWidth, SIGNAL(valueChanged(int)), SLOT(sliderWidthChanged()));
connect(menuStripe, SIGNAL(activated(int)), SLOT(menuStripeChanged()));
connect(customMenuStripeColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(menuStripeAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(menuBgndAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(menuBgndGrad, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(round, SIGNAL(activated(int)), SLOT(roundChanged()));
connect(toolbarBorders, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(sliderThumbs, SIGNAL(activated(int)), SLOT(sliderThumbChanged()));
connect(handles, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(appearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(customMenuTextColor, SIGNAL(toggled(bool)), SLOT(customMenuTextColorChanged()));
connect(stripedProgress, SIGNAL(activated(int)), SLOT(stripedProgressChanged()));
connect(animatedProgress, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(embolden, SIGNAL(toggled(bool)), SLOT(emboldenToggled()));
connect(defBtnIndicator, SIGNAL(activated(int)), SLOT(defBtnIndicatorChanged()));
connect(highlightTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(menubarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(toolbarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(lvAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(sliderAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(tabAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(activeTabAppearance, SIGNAL(activated(int)), SLOT(activeTabAppearanceChanged()));
connect(toolbarSeparators, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(splitters, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(lighterPopupMenuBgnd, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
connect(tabBgnd, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
connect(menuDelay, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
connect(sliderWidth, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(sliderWidthChanged()));
connect(menuStripe, TQ_SIGNAL(activated(int)), TQ_SLOT(menuStripeChanged()));
connect(customMenuStripeColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(menuStripeAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(menuBgndAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(menuBgndGrad, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(round, TQ_SIGNAL(activated(int)), TQ_SLOT(roundChanged()));
connect(toolbarBorders, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(sliderThumbs, TQ_SIGNAL(activated(int)), TQ_SLOT(sliderThumbChanged()));
connect(handles, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(appearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(customMenuTextColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(customMenuTextColorChanged()));
connect(stripedProgress, TQ_SIGNAL(activated(int)), TQ_SLOT(stripedProgressChanged()));
connect(animatedProgress, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(embolden, TQ_SIGNAL(toggled(bool)), TQ_SLOT(emboldenToggled()));
connect(defBtnIndicator, TQ_SIGNAL(activated(int)), TQ_SLOT(defBtnIndicatorChanged()));
connect(highlightTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(menubarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(toolbarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(lvAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(sliderAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(tabAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(activeTabAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(activeTabAppearanceChanged()));
connect(toolbarSeparators, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(splitters, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
#ifdef TQTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
connect(fixParentlessDialogs, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(fixParentlessDialogs, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
#endif
connect(fillSlider, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(sliderStyle, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(roundMbTopOnly, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(fillProgress, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(darkerBorders, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(comboSplitter, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(comboBtn, SIGNAL(activated(int)), SLOT(comboBtnChanged()));
connect(sortedLv, SIGNAL(activated(int)), SLOT(sortedLvChanged()));
connect(customComboBtnColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(customSortedLvColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(unifySpinBtns, SIGNAL(toggled(bool)), SLOT(unifySpinBtnsToggled()));
connect(unifySpin, SIGNAL(toggled(bool)), SLOT(unifySpinToggled()));
connect(unifyCombo, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(vArrows, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(xCheck, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(crHighlight, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
connect(crButton, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(colorSelTab, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
connect(roundAllTabs, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(borderTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(borderInactiveTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(invertBotTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(doubleGtkComboArrow, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(tabMouseOver, SIGNAL(activated(int)), SLOT(tabMoChanged()));
connect(stdSidebarButtons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(borderMenuitems, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(popupBorder, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(progressAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(progressGrooveAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(grooveAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(sunkenAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(progressGrooveColor, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(menuitemAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(titlebarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(inactiveTitlebarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(titlebarButtonAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(colorTitlebarOnly, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(selectionAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(shadeCheckRadio, SIGNAL(activated(int)), SLOT(shadeCheckRadioChanged()));
connect(customCheckRadioColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(focus, SIGNAL(activated(int)), SLOT(focusChanged()));
connect(lvLines, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(lvButton, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(drawStatusBarFrames, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(buttonEffect, SIGNAL(activated(int)), SLOT(buttonEffectChanged()));
connect(coloredMouseOver, SIGNAL(activated(int)), SLOT(coloredMouseOverChanged()));
connect(menubarMouseOver, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(shadeMenubarOnlyWhenActive, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(thinnerMenuItems, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(thinnerBtns, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(customSlidersColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(customMenubarsColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(customMenuSelTextColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(customMenuNormTextColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
connect(shadeSliders, SIGNAL(activated(int)), SLOT(shadeSlidersChanged()));
connect(shadeMenubars, SIGNAL(activated(int)), SLOT(shadeMenubarsChanged()));
connect(highlightFactor, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
connect(scrollbarType, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(shading, SIGNAL(activated(int)), SLOT(shadingChanged()));
connect(gtkScrollViews, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(squareScrollViews, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(highlightScrollViews, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(etchEntry, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(flatSbarButtons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(thinSbarGroove, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(colorSliderMouseOver, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(titlebarBorder, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(sbarBgndAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(sliderFill, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(dwtAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(crColor, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(smallRadio, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(splitterHighlight, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
connect(gtkComboMenus, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(gtkButtonOrder, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(mapKdeIcons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(passwordChar, SIGNAL(clicked()), SLOT(passwordCharClicked()));
connect(fillSlider, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(sliderStyle, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(roundMbTopOnly, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(fillProgress, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(darkerBorders, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(comboSplitter, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(comboBtn, TQ_SIGNAL(activated(int)), TQ_SLOT(comboBtnChanged()));
connect(sortedLv, TQ_SIGNAL(activated(int)), TQ_SLOT(sortedLvChanged()));
connect(customComboBtnColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(customSortedLvColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(unifySpinBtns, TQ_SIGNAL(toggled(bool)), TQ_SLOT(unifySpinBtnsToggled()));
connect(unifySpin, TQ_SIGNAL(toggled(bool)), TQ_SLOT(unifySpinToggled()));
connect(unifyCombo, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(vArrows, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(xCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(crHighlight, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
connect(crButton, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(colorSelTab, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
connect(roundAllTabs, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(borderTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(borderInactiveTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(invertBotTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(doubleGtkComboArrow, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(tabMouseOver, TQ_SIGNAL(activated(int)), TQ_SLOT(tabMoChanged()));
connect(stdSidebarButtons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(borderMenuitems, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(popupBorder, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(progressAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(progressGrooveAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(grooveAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(sunkenAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(progressGrooveColor, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(menuitemAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(titlebarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(inactiveTitlebarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(titlebarButtonAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(colorTitlebarOnly, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(selectionAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(shadeCheckRadio, TQ_SIGNAL(activated(int)), TQ_SLOT(shadeCheckRadioChanged()));
connect(customCheckRadioColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(focus, TQ_SIGNAL(activated(int)), TQ_SLOT(focusChanged()));
connect(lvLines, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(lvButton, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(drawStatusBarFrames, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(buttonEffect, TQ_SIGNAL(activated(int)), TQ_SLOT(buttonEffectChanged()));
connect(coloredMouseOver, TQ_SIGNAL(activated(int)), TQ_SLOT(coloredMouseOverChanged()));
connect(menubarMouseOver, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(shadeMenubarOnlyWhenActive, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(thinnerMenuItems, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(thinnerBtns, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(customSlidersColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(customMenubarsColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(customMenuSelTextColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(customMenuNormTextColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
connect(shadeSliders, TQ_SIGNAL(activated(int)), TQ_SLOT(shadeSlidersChanged()));
connect(shadeMenubars, TQ_SIGNAL(activated(int)), TQ_SLOT(shadeMenubarsChanged()));
connect(highlightFactor, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
connect(scrollbarType, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(shading, TQ_SIGNAL(activated(int)), TQ_SLOT(shadingChanged()));
connect(gtkScrollViews, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(squareScrollViews, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(highlightScrollViews, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(etchEntry, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(flatSbarButtons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(thinSbarGroove, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(colorSliderMouseOver, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(titlebarBorder, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(sbarBgndAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(sliderFill, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(dwtAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
connect(crColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(smallRadio, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(splitterHighlight, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
connect(gtkComboMenus, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(gtkButtonOrder, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(mapKdeIcons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(passwordChar, TQ_SIGNAL(clicked()), TQ_SLOT(passwordCharClicked()));
#if 0
connect(framelessGroupBoxes, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(framelessGroupBoxes, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
#endif
connect(colorMenubarMouseOver, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(useHighlightForMenu, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(colorMenubarMouseOver, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(useHighlightForMenu, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
#if 0
connect(groupBoxLine, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(groupBoxLine, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
#endif
connect(fadeLines, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(menuIcons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(stdBtnSizes, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(forceAlternateLvCols, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(squareLvSelection, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(titlebarAlignment, SIGNAL(activated(int)), SLOT(updateChanged()));
connect(fadeLines, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(menuIcons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(stdBtnSizes, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(forceAlternateLvCols, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(squareLvSelection, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
connect(titlebarAlignment, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
defaultSettings(&defaultStyle);
if(!readConfig(NULL, &currentStyle, &defaultStyle))
@ -780,11 +780,11 @@ QtCurveConfig::QtCurveConfig(TQWidget *parent)
menu->insertItem(i18n("Predefined Style"), subMenu);
menu->insertSeparator();
menu->insertItem(i18n("Import..."), this, SLOT(importStyle()));
menu->insertItem(i18n("Export..."), this, SLOT(exportStyle()));
menu->insertItem(i18n("Import..."), this, TQ_SLOT(importStyle()));
menu->insertItem(i18n("Export..."), this, TQ_SLOT(exportStyle()));
#ifdef TQTC_STYLE_SUPPORT
menu->insertSeparator();
menu->insertItem(i18n("Export Theme..."), this, SLOT(exportTheme()));
menu->insertItem(i18n("Export Theme..."), this, TQ_SLOT(exportTheme()));
#endif
loadStyles(subMenu);
@ -810,7 +810,7 @@ void QtCurveConfig::loadStyles(TQPopupMenu *menu)
for(; it!=end; ++it)
if(readConfig(*it, &opts, &defaultStyle))
styles[menu->insertItem(TQFileInfo(*it).fileName().remove(EXTENSION).replace('_', ' '),
this, SLOT(setStyle(int)))]=*it;
this, TQ_SLOT(setStyle(int)))]=*it;
}
void QtCurveConfig::save()
@ -1041,7 +1041,7 @@ void QtCurveConfig::setupStack()
stackList->setSelected(lastCategory, true);
stackList->setCurrentItem(lastCategory);
stackList->setResizeMode(TQListView::LastColumn);
connect(stackList, SIGNAL(selectionChanged()), SLOT(changeStack()));
connect(stackList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(changeStack()));
}
void QtCurveConfig::changeStack()
@ -1274,13 +1274,13 @@ void QtCurveConfig::setupGradientsTab()
removeButton->setEnabled(false);
updateButton->setEnabled(false);
gradStops->setResizeMode(TQListView::AllColumns);
connect(gradCombo, SIGNAL(activated(int)), SLOT(gradChanged(int)));
connect(previewColor, SIGNAL(changed(const TQColor &)), gradPreview, SLOT(setColor(const TQColor &)));
connect(gradStops, SIGNAL(itemRenamed(TQListViewItem *, int)), SLOT(itemChanged(TQListViewItem *, int)));
connect(addButton, SIGNAL(clicked()), SLOT(addGradStop()));
connect(removeButton, SIGNAL(clicked()), SLOT(removeGradStop()));
connect(updateButton, SIGNAL(clicked()), SLOT(updateGradStop()));
connect(gradStops, SIGNAL(selectionChanged()), SLOT(stopSelected()));
connect(gradCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(gradChanged(int)));
connect(previewColor, TQ_SIGNAL(changed(const TQColor &)), gradPreview, TQ_SLOT(setColor(const TQColor &)));
connect(gradStops, TQ_SIGNAL(itemRenamed(TQListViewItem *, int)), TQ_SLOT(itemChanged(TQListViewItem *, int)));
connect(addButton, TQ_SIGNAL(clicked()), TQ_SLOT(addGradStop()));
connect(removeButton, TQ_SIGNAL(clicked()), TQ_SLOT(removeGradStop()));
connect(updateButton, TQ_SIGNAL(clicked()), TQ_SLOT(updateGradStop()));
connect(gradStops, TQ_SIGNAL(selectionChanged()), TQ_SLOT(stopSelected()));
}
void QtCurveConfig::setupShadesTab()
@ -1293,13 +1293,13 @@ void QtCurveConfig::setupShadesTab()
setupShade(shade3, shade++);
setupShade(shade4, shade++);
setupShade(shade5, shade++);
connect(customShading, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(customShading, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
}
void QtCurveConfig::setupShade(KDoubleNumInput *w, int shade)
{
w->setRange(0.0, 2.0, 0.05, false);
connect(w, SIGNAL(valueChanged(double)), SLOT(updateChanged()));
connect(w, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(updateChanged()));
shadeVals[shade]=w;
}

@ -1148,7 +1148,7 @@ QtCurveStyle::QtCurveStyle()
if (opts.animatedProgress)
{
itsAnimationTimer = new TQTimer(this);
connect(itsAnimationTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateProgressPos()));
connect(itsAnimationTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateProgressPos()));
}
setSbType();
@ -1556,11 +1556,11 @@ void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElemen
if(::isKhtmlFormWidget(widget))
{
itsKhtmlWidgets[widget]=true;
connect(widget, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(tdehtmlWidgetDestroyed(TQObject *)));
connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(tdehtmlWidgetDestroyed(TQObject *)));
}
if(enableFilter && isSpecialHover(widget))
connect(widget, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(hoverWidgetDestroyed(TQObject *)));
connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(hoverWidgetDestroyed(TQObject *)));
if(isWindowDragWidget(widget))
installObjectEventHandler(ceData, elementFlags, ptr, this);
@ -1754,8 +1754,8 @@ void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElemen
}
// This bit stolen form polyester...
connect(widget, TQT_SIGNAL(sliderMoved(int)), this, TQT_SLOT(sliderThumbMoved(int)));
connect(widget, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(sliderThumbMoved(int)));
connect(widget, TQ_SIGNAL(sliderMoved(int)), this, TQ_SLOT(sliderThumbMoved(int)));
connect(widget, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(sliderThumbMoved(int)));
}
else if (::tqt_cast<TQLineEdit*>(widget) || ::tqt_cast<TQTextEdit*>(widget))
{
@ -1813,7 +1813,7 @@ void QtCurveStyle::polish(const TQStyleControlElementData &ceData, ControlElemen
{
installObjectEventHandler(ceData, elementFlags, ptr, this);
itsProgAnimWidgets[widget] = 0;
connect(widget, TQT_SIGNAL(destroyed(TQObject *)), this, TQT_SLOT(progressBarDestroyed(TQObject *)));
connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(progressBarDestroyed(TQObject *)));
if (!itsAnimationTimer->isActive())
itsAnimationTimer->start(PROGRESS_ANIMATION, false);
}

@ -77,7 +77,7 @@ void ShortcutHandler::updateWidget(TQWidget *w)
{
if(!itsUpdated.contains(w))
{
connect(w, SIGNAL(destroyed(TQObject *)), this, SLOT(widgetDestroyed(TQObject *)));
connect(w, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(widgetDestroyed(TQObject *)));
itsUpdated.append(w);
w->repaint(TRUE);
}
@ -151,7 +151,7 @@ bool ShortcutHandler::eventFilter(TQObject *o, TQEvent *e)
itsOpenMenus.append(widget);
if(itsAltDown && prev)
prev->repaint(TRUE);
connect(widget, SIGNAL(destroyed(TQObject *)), this, SLOT(widgetDestroyed(TQObject *)));
connect(widget, TQ_SIGNAL(destroyed(TQObject *)), this, TQ_SLOT(widgetDestroyed(TQObject *)));
}
break;
case TQEvent::Hide:

Loading…
Cancel
Save