summaryrefslogtreecommitdiffstats
path: root/filesharing/simple
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
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')
-rw-r--r--filesharing/simple/fileshare.cpp26
-rw-r--r--filesharing/simple/groupconfigdlg.cpp12
2 files changed, 19 insertions, 19 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);
}
diff --git a/filesharing/simple/groupconfigdlg.cpp b/filesharing/simple/groupconfigdlg.cpp
index 67d66274..56530e7c 100644
--- a/filesharing/simple/groupconfigdlg.cpp
+++ b/filesharing/simple/groupconfigdlg.cpp
@@ -81,12 +81,12 @@ void GroupConfigDlg::initGUI() {
m_gui->groupUsersRadio->setChecked(m_restricted);
m_gui->writeAccessChk->setChecked(!m_rootPassNeeded);
- connect( m_gui->addBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotAddUser()));
- connect( m_gui->removeBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotRemoveUser()));
- connect( m_gui->otherGroupBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotChangeGroup()));
+ connect( m_gui->addBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotAddUser()));
+ connect( m_gui->removeBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotRemoveUser()));
+ connect( m_gui->otherGroupBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotChangeGroup()));
if (m_simpleSharing) {
// if simple sharing users never need the root password