diff options
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/filemodedlgimpl.cpp | 18 |
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); |