summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/sambafile.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /filesharing/advanced/kcm_sambaconf/sambafile.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/sambafile.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/sambafile.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/sambafile.cpp b/filesharing/advanced/kcm_sambaconf/sambafile.cpp
index a9eb26a5..f667857c 100644
--- a/filesharing/advanced/kcm_sambaconf/sambafile.cpp
+++ b/filesharing/advanced/kcm_sambaconf/sambafile.cpp
@@ -200,8 +200,8 @@ bool SambaFile::slotApply()
srcURL.setPath( _tempFile->name() );
TDEIO::FileCopyJob * job = TDEIO::file_copy( srcURL, url, -1, true );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- this, TQT_SLOT( slotSaveJobFinished ( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ this, TQ_SLOT( slotSaveJobFinished ( TDEIO::Job * ) ) );
return (job->error()==0);
}
@@ -347,8 +347,8 @@ int SambaFile::getSambaVersion() {
_parmOutput = TQString("");
_sambaVersion = 2;
- connect( &testParam, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
- this, TQT_SLOT(testParmStdOutReceived(TDEProcess*,char*,int)));
+ connect( &testParam, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ this, TQ_SLOT(testParmStdOutReceived(TDEProcess*,char*,int)));
if (testParam.start(TDEProcess::Block, TDEProcess::Stdout)) {
if (_parmOutput.find(" 3.") > -1) {
@@ -383,8 +383,8 @@ SambaShare* SambaFile::getTestParmValues(bool reload)
testParam << "/dev/null";
_parmOutput = TQString("");
- connect( &testParam, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
- this, TQT_SLOT(testParmStdOutReceived(TDEProcess*,char*,int)));
+ connect( &testParam, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
+ this, TQ_SLOT(testParmStdOutReceived(TDEProcess*,char*,int)));
if (testParam.start(TDEProcess::Block,TDEProcess::Stdout))
{
@@ -493,7 +493,7 @@ bool SambaFile::load()
destURL.setPath( localPath );
TDEIO::FileCopyJob * job = TDEIO::file_copy( url, destURL, 0600, true, false, true );
// emit started( d->m_job );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobFinished ( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotJobFinished ( TDEIO::Job * ) ) );
return true;
} else {
localPath = path;