diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /filesharing/advanced/kcm_sambaconf/sharedlgimpl.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/sharedlgimpl.cpp')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/sharedlgimpl.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/sharedlgimpl.cpp b/filesharing/advanced/kcm_sambaconf/sharedlgimpl.cpp index 8640f41b..3c0a8cab 100644 --- a/filesharing/advanced/kcm_sambaconf/sharedlgimpl.cpp +++ b/filesharing/advanced/kcm_sambaconf/sharedlgimpl.cpp @@ -2,7 +2,7 @@ sharedlgimpl.cpp - description ------------------- begin : Tue June 6 2002 - copyright : (C) 2002 by Jan Schäfer + copyright : (C) 2002 by Jan Sch�fer email : janschaefer@users.sourceforge.net ***************************************************************************/ @@ -28,7 +28,7 @@ /** - * @author Jan Schäfer + * @author Jan Sch�fer **/ #include <tqcheckbox.h> @@ -80,8 +80,8 @@ -ShareDlgImpl::ShareDlgImpl(TQWidget* parent, SambaShare* share) - : KcmShareDlg(parent,"sharedlgimpl") +ShareDlgImpl::ShareDlgImpl(TQWidget* tqparent, SambaShare* share) + : KcmShareDlg(tqparent,"sharedlgimpl") { if (!share) { kdWarning() << "ShareDlgImpl::Constructor : share parameter is null!" << endl; @@ -169,10 +169,10 @@ void ShareDlgImpl::initDialog() _dictMngr->add("force security mode",forceSecurityModeEdit); _dictMngr->add("force create mode",forceCreateModeEdit); - _dictMngr->add("directory security mask",directorySecurityMaskEdit); - _dictMngr->add("directory mask",directoryMaskEdit); - _dictMngr->add("security mask",securityMaskEdit); - _dictMngr->add("create mask",createMaskEdit); + _dictMngr->add("directory security tqmask",directorySecurityMaskEdit); + _dictMngr->add("directory tqmask",directoryMaskEdit); + _dictMngr->add("security tqmask",securityMaskEdit); + _dictMngr->add("create tqmask",createMaskEdit); _dictMngr->add("inherit permissions",inheritPermissionsChk); _dictMngr->add("inherit acls",inheritAclsChk); _dictMngr->add("nt acl support",ntAclSupportChk); @@ -418,13 +418,13 @@ void ShareDlgImpl::homeChkToggled(bool b) void ShareDlgImpl::accessModifierBtnClicked() { - if (!TQObject::sender()) { + if (!sender()) { kdWarning() << "ShareDlgImpl::accessModifierBtnClicked() : TQObject::sender() is null!" << endl; return; } - TQString name = TQObject::sender()->name(); + TQString name = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); TQLineEdit *edit = 0L; |