From 773c73d27492ada253b9e81752bd735ee3dc3ac1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:38:18 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/dirdialog.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/dirdialog.cpp') diff --git a/src/dirdialog.cpp b/src/dirdialog.cpp index cf5d0dd..7cbbcef 100644 --- a/src/dirdialog.cpp +++ b/src/dirdialog.cpp @@ -43,8 +43,8 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n pDirectory = new KPushButton( iconLoader->loadIcon("folder_open",TDEIcon::Small), "", this, "pDirectory" ); directoryBox->addWidget( pDirectory ); - connect( pDirectory, TQT_SIGNAL(clicked()), - this, TQT_SLOT(selectDirectoryClicked()) + connect( pDirectory, TQ_SIGNAL(clicked()), + this, TQ_SLOT(selectDirectoryClicked()) ); TQHBoxLayout* fileTypesBox = new TQHBoxLayout(); @@ -62,22 +62,22 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n pSelectAll = new KPushButton( iconLoader->loadIcon("font-x-generic",TDEIcon::Small), i18n("Select all"), this, "pSelectAll" ); fileTypesButtonsBox->addWidget( pSelectAll ); - connect( pSelectAll, TQT_SIGNAL(clicked()), - this, TQT_SLOT(selectAllClicked()) + connect( pSelectAll, TQ_SIGNAL(clicked()), + this, TQ_SLOT(selectAllClicked()) ); pSelectNone = new KPushButton( iconLoader->loadIcon("application-x-zerosize",TDEIcon::Small), i18n("Select none"), this, "pSelectNone" ); fileTypesButtonsBox->addWidget( pSelectNone ); - connect( pSelectNone, TQT_SIGNAL(clicked()), - this, TQT_SLOT(selectNoneClicked()) + connect( pSelectNone, TQ_SIGNAL(clicked()), + this, TQ_SLOT(selectNoneClicked()) ); cRecursive = new TQCheckBox( i18n("Recursive"), this, "cRecursive" ); cRecursive->setChecked( true ); recursive = true; fileTypesButtonsBox->addWidget( cRecursive ); - connect( cRecursive, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(recursiveToggled(bool)) + connect( cRecursive, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(recursiveToggled(bool)) ); fileTypesButtonsBox->addStretch(); @@ -87,8 +87,8 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n pOk = new KPushButton( iconLoader->loadIcon("folder_open",TDEIcon::Small), i18n("Open"), this, "pOk" ); buttonBox->addWidget( pOk ); - connect( pOk, TQT_SIGNAL(clicked()), - this, TQT_SLOT(okClicked()) + connect( pOk, TQ_SIGNAL(clicked()), + this, TQ_SLOT(okClicked()) ); buttonBox->addStretch(); @@ -96,8 +96,8 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n pCancel = new KPushButton( iconLoader->loadIcon("cancel",TDEIcon::Small),i18n("Cancel"), this, "pCancel" ); pOk->setFocus(); buttonBox->addWidget( pCancel ); - connect( pCancel, TQT_SIGNAL(clicked()), - this, TQT_SLOT(reject()) + connect( pCancel, TQ_SIGNAL(clicked()), + this, TQ_SLOT(reject()) ); // delete the icon loader object -- cgit v1.2.1