summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp b/filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp
index faa94479..53b7c812 100644
--- a/filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp
+++ b/filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp
@@ -30,12 +30,12 @@
#include <stdio.h>
-#include <qlineedit.h>
-#include <qcheckbox.h>
+#include <tqlineedit.h>
+#include <tqcheckbox.h>
#include "filemodedlgimpl.h"
-FileModeDlgImpl::FileModeDlgImpl(QWidget* parent, QLineEdit* edit)
+FileModeDlgImpl::FileModeDlgImpl(TQWidget* parent, TQLineEdit* edit)
: FileModeDlg(parent)
{
assert(edit);
@@ -76,27 +76,27 @@ void FileModeDlgImpl::init()
void FileModeDlgImpl::accept()
{
- QString s = "";
+ TQString s = "";
- s += QString::number(
+ s += TQString::number(
(stickyBitChk->isChecked() ? 1 : 0) +
(setGIDChk->isChecked() ? 2 : 0) +
(setUIDChk->isChecked() ? 4 : 0)
);
- s += QString::number(
+ s += TQString::number(
(ownerExecChk->isChecked() ? 1 : 0) +
(ownerWriteChk->isChecked() ? 2 : 0) +
(ownerReadChk->isChecked() ? 4 : 0)
);
- s += QString::number(
+ s += TQString::number(
(groupExecChk->isChecked() ? 1 : 0) +
(groupWriteChk->isChecked() ? 2 : 0) +
(groupReadChk->isChecked() ? 4 : 0)
);
- s += QString::number(
+ s += TQString::number(
(othersExecChk->isChecked() ? 1 : 0) +
(othersWriteChk->isChecked() ? 2 : 0) +
(othersReadChk->isChecked() ? 4 : 0)
@@ -104,7 +104,7 @@ void FileModeDlgImpl::accept()
// it's an octal number so start with a 0
// but remove all the other trailing 0's
- s = QString::number( s.toInt());
+ s = TQString::number( s.toInt());
s = "0"+s;
_edit->setText(s);