Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/17/head
Michele Calgaro 10 months ago
parent 9cb509bb69
commit 11a88ad305
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -198,20 +198,20 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&)
load(); load();
// Connect some signals // Connect some signals
connect(widget->warning2, TQT_SIGNAL(leftClickedURL(const TQString&)), TDEApplication::kApplication(), TQT_SLOT(invokeBrowser(const TQString&))); connect(widget->warning2, TQ_SIGNAL(leftClickedURL(const TQString&)), TDEApplication::kApplication(), TQ_SLOT(invokeBrowser(const TQString&)));
connect(widget->styleGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(itemChanged())); connect(widget->styleGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(itemChanged()));
connect(widget->warning5, TQT_SIGNAL(leftClickedURL(const TQString&)), TDEApplication::kApplication(), TQT_SLOT(invokeBrowser(const TQString&))); connect(widget->warning5, TQ_SIGNAL(leftClickedURL(const TQString&)), TDEApplication::kApplication(), TQ_SLOT(invokeBrowser(const TQString&)));
connect(widget->styleGroup3, TQT_SIGNAL(clicked(int)), TQT_SLOT(itemChanged())); connect(widget->styleGroup3, TQ_SIGNAL(clicked(int)), TQ_SLOT(itemChanged()));
connect(widget->fontGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(itemChanged())); connect(widget->fontGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(itemChanged()));
connect(widget->styleBox, TQT_SIGNAL(activated(int)), TQT_SLOT(itemChanged())); connect(widget->styleBox, TQ_SIGNAL(activated(int)), TQ_SLOT(itemChanged()));
connect(widget->styleBox, TQT_SIGNAL(activated(int)), TQT_SLOT(styleChanged())); connect(widget->styleBox, TQ_SIGNAL(activated(int)), TQ_SLOT(styleChanged()));
connect(widget->styleBox3, TQT_SIGNAL(activated(int)), TQT_SLOT(itemChanged())); connect(widget->styleBox3, TQ_SIGNAL(activated(int)), TQ_SLOT(itemChanged()));
connect(widget->styleBox3, TQT_SIGNAL(activated(int)), TQT_SLOT(styleChanged())); connect(widget->styleBox3, TQ_SIGNAL(activated(int)), TQ_SLOT(styleChanged()));
connect(widget->emacsBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(itemChanged())); connect(widget->emacsBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(itemChanged()));
connect(widget->fontChange, TQT_SIGNAL(clicked()), TQT_SLOT(fontChangeClicked())); connect(widget->fontChange, TQ_SIGNAL(clicked()), TQ_SLOT(fontChangeClicked()));
connect(widget->emacsDetails, TQT_SIGNAL(clicked()), TQT_SLOT(emacsDetailsClicked())); connect(widget->emacsDetails, TQ_SIGNAL(clicked()), TQ_SLOT(emacsDetailsClicked()));
connect(widget->warning3, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsClicked())); connect(widget->warning3, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsClicked()));
connect(widget->warning6, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsClicked())); connect(widget->warning6, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsClicked()));
} }
void KcmGtk::getInstalledThemes() void KcmGtk::getInstalledThemes()
@ -576,11 +576,11 @@ void KcmGtk::searchPathsClicked()
if (searchPathsDialog == NULL) if (searchPathsDialog == NULL)
{ {
searchPathsDialog = new SearchPaths(this); searchPathsDialog = new SearchPaths(this);
connect(searchPathsDialog->okButton, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsOk())); connect(searchPathsDialog->okButton, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsOk()));
connect(searchPathsDialog->pathBox, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(searchPathsTextChanged(const TQString&))); connect(searchPathsDialog->pathBox, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(searchPathsTextChanged(const TQString&)));
connect(searchPathsDialog->pathList, TQT_SIGNAL(currentChanged(TQListBoxItem*)), TQT_SLOT(searchPathsCurrentChanged(TQListBoxItem*))); connect(searchPathsDialog->pathList, TQ_SIGNAL(currentChanged(TQListBoxItem*)), TQ_SLOT(searchPathsCurrentChanged(TQListBoxItem*)));
connect(searchPathsDialog->addButton, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsAddClicked())); connect(searchPathsDialog->addButton, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsAddClicked()));
connect(searchPathsDialog->removeButton, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsRemoveClicked())); connect(searchPathsDialog->removeButton, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsRemoveClicked()));
} }
searchPathsDialog->pathList->clear(); searchPathsDialog->pathList->clear();

Loading…
Cancel
Save