summaryrefslogtreecommitdiffstats
path: root/filesharing/simple/fileshare.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:34:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /filesharing/simple/fileshare.cpp
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'filesharing/simple/fileshare.cpp')
-rw-r--r--filesharing/simple/fileshare.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/filesharing/simple/fileshare.cpp b/filesharing/simple/fileshare.cpp
index 2ce40e3a..d1e23711 100644
--- a/filesharing/simple/fileshare.cpp
+++ b/filesharing/simple/fileshare.cpp
@@ -76,9 +76,9 @@ KFileShareConfig::KFileShareConfig(TQWidget *parent, const char *name, const TQS
sharing=new TQRadioButton( i18n("&Allow users to share files from their HOME folder"), box);
*/
m_ccgui = new ControlCenterGUI(this);
- connect( m_ccgui, TQT_SIGNAL( changed()), this, TQT_SLOT(configChanged()));
- connect( m_ccgui->allowedUsersBtn, TQT_SIGNAL( clicked()),
- this, TQT_SLOT(allowedUsersBtnClicked()));
+ connect( m_ccgui, TQ_SIGNAL( changed()), this, TQ_SLOT(configChanged()));
+ connect( m_ccgui->allowedUsersBtn, TQ_SIGNAL( clicked()),
+ this, TQ_SLOT(allowedUsersBtnClicked()));
TQString path = TQString::fromLocal8Bit( getenv( "PATH" ) );
path += TQString::fromLatin1(":/usr/sbin");
@@ -108,10 +108,10 @@ KFileShareConfig::KFileShareConfig(TQWidget *parent, const char *name, const TQS
m_ccgui->infoLbl->hide();
layout->addWidget(m_ccgui);
updateShareListView();
- connect( KNFSShare::instance(), TQT_SIGNAL( changed()),
- this, TQT_SLOT(updateShareListView()));
- connect( KSambaShare::instance(), TQT_SIGNAL( changed()),
- this, TQT_SLOT(updateShareListView()));
+ connect( KNFSShare::instance(), TQ_SIGNAL( changed()),
+ this, TQ_SLOT(updateShareListView()));
+ connect( KSambaShare::instance(), TQ_SIGNAL( changed()),
+ this, TQ_SLOT(updateShareListView()));
}
@@ -120,12 +120,12 @@ KFileShareConfig::KFileShareConfig(TQWidget *parent, const char *name, const TQS
((KFileShare::shareMode() == KFileShare::Advanced) &&
(KFileShare::authorization() == KFileShare::Authorized)))
{
- connect( m_ccgui->addShareBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(addShareBtnClicked()));
- connect( m_ccgui->changeShareBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(changeShareBtnClicked()));
- connect( m_ccgui->removeShareBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(removeShareBtnClicked()));
+ connect( m_ccgui->addShareBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(addShareBtnClicked()));
+ connect( m_ccgui->changeShareBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(changeShareBtnClicked()));
+ connect( m_ccgui->removeShareBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(removeShareBtnClicked()));
m_ccgui->listView->setSelectionMode(TQListView::Extended);
m_ccgui->shareBtnPnl->setEnabled(true);
}