summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/sambafile.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:58:08 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 15:53:30 +0200
commite7bee19a9f42cffe3a0792348a60e5bee1d3da71 (patch)
tree92dabc7114bd352b2e4ebb5f64cd3d6429e162f7 /filesharing/advanced/kcm_sambaconf/sambafile.cpp
parent4b54ad17739d1075235f2960ecde230a58b5621c (diff)
downloadtdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.tar.gz
tdenetwork-e7bee19a9f42cffe3a0792348a60e5bee1d3da71.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98)
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/sambafile.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/sambafile.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/sambafile.cpp b/filesharing/advanced/kcm_sambaconf/sambafile.cpp
index 2ee7f03e..ca0d86b8 100644
--- a/filesharing/advanced/kcm_sambaconf/sambafile.cpp
+++ b/filesharing/advanced/kcm_sambaconf/sambafile.cpp
@@ -174,14 +174,14 @@ bool SambaFile::slotApply()
kdDebug(5009) << "SambaFile::slotApply: is local file!" << endl;
TQString suCommand=TQString("cp %1 %2; rm %3")
- .tqarg(_tempFile->name())
- .tqarg(path)
- .tqarg(_tempFile->name());
+ .arg(_tempFile->name())
+ .arg(path)
+ .arg(_tempFile->name());
proc << "kdesu" << "-d" << suCommand;
if (! proc.start(KProcess::Block)) {
kdDebug(5009) << "SambaFile::slotApply: saving to " << path << " failed!" << endl;
- //KMessageBox::sorry(0,i18n("Saving the results to %1 failed.").tqarg(path));
+ //KMessageBox::sorry(0,i18n("Saving the results to %1 failed.").arg(path));
delete _tempFile;
_tempFile = 0;
return false;
@@ -506,7 +506,7 @@ bool SambaFile::openFile() {
TQFile f(localPath);
if (!f.open(IO_ReadOnly)) {
- //throw SambaFileLoadException(TQString("<qt>Could not open file <em>%1</em> for reading.</qt>").tqarg(path));
+ //throw SambaFileLoadException(TQString("<qt>Could not open file <em>%1</em> for reading.</qt>").arg(path));
return false;
}