summaryrefslogtreecommitdiffstats
path: root/kuser/addUser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/addUser.cpp')
-rw-r--r--kuser/addUser.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kuser/addUser.cpp b/kuser/addUser.cpp
index 347c46f..ffb7b21 100644
--- a/kuser/addUser.cpp
+++ b/kuser/addUser.cpp
@@ -38,8 +38,8 @@
#include <kmessagebox.h>
addUser::addUser( KU::KUser *AUser, bool useprivategroup,
- TQWidget *parent, const char *name ) :
- propdlg( AUser, useprivategroup, parent, name )
+ TQWidget *tqparent, const char *name ) :
+ propdlg( AUser, useprivategroup, tqparent, name )
{
TQGroupBox *group = new TQGroupBox(frontpage);
group->setTitle(i18n("New Account Options"));
@@ -50,7 +50,7 @@ addUser::addUser( KU::KUser *AUser, bool useprivategroup,
createhome->setChecked(true);
copyskel = new TQCheckBox(i18n("Copy skeleton"), group);
connect(createhome, TQT_SIGNAL(toggled(bool)), copyskel, TQT_SLOT(setEnabled(bool)));
- frontlayout->addMultiCellWidget(group, frontrow, frontrow, 0, 2);
+ fronttqlayout->addMultiCellWidget(group, frontrow, frontrow, 0, 2);
if ( useprivategroup ) pbprigr->setEnabled( false );
}
@@ -65,14 +65,14 @@ void addUser::slotOk()
if ( ( user->getCaps() & KU::KUser::Cap_POSIX ) &&
kug->getUsers().lookup( user->getUID() ) ) {
- KMessageBox::sorry( 0, i18n("User with UID %1 already exists.").arg( user->getUID() ) );
+ KMessageBox::sorry( 0, i18n("User with UID %1 already exists.").tqarg( user->getUID() ) );
return;
}
if ( ( kug->getUsers().getCaps() & KU::KUsers::Cap_Samba ) &&
( user->getCaps() & KU::KUser::Cap_Samba ) ) {
if ( kug->getUsers().lookup_sam( user->getSID().getRID() ) ) {
- KMessageBox::sorry( 0, i18n("User with RID %1 already exists.").arg( user->getSID().getRID() ) );
+ KMessageBox::sorry( 0, i18n("User with RID %1 already exists.").tqarg( user->getSID().getRID() ) );
return;
}
}
@@ -115,15 +115,15 @@ bool addUser::checkHome()
if ( KMessageBox::
warningContinueCancel ( 0,
i18n("Folder %1 already exists!\n%2 may become owner and permissions may change.\nDo you really want to use %3?").
- arg(h_dir).arg(user->getName()).arg(h_dir), TQString::null, KStdGuiItem::cont() ) == KMessageBox::Cancel )
+ tqarg(h_dir).tqarg(user->getName()).tqarg(h_dir), TQString(), KStdGuiItem::cont() ) == KMessageBox::Cancel )
return false;
else
return true;
} else
- KMessageBox::error( 0, i18n("%1 is not a folder.").arg(h_dir) );
+ KMessageBox::error( 0, i18n("%1 is not a folder.").tqarg(h_dir) );
} else
- KMessageBox::error( 0, i18n("stat() failed on %1.").arg(h_dir) );
+ KMessageBox::error( 0, i18n("stat() failed on %1.").tqarg(h_dir) );
return false;
}
@@ -145,13 +145,13 @@ bool addUser::checkMailBox()
if (r == 0)
if (S_ISREG(s.st_mode))
KMessageBox::error( 0, i18n("Mailbox %1 already exists (uid=%2).")
- .arg(mailboxpath)
- .arg(s.st_uid) );
+ .tqarg(mailboxpath)
+ .tqarg(s.st_uid) );
else
KMessageBox::error( 0, i18n("%1 exists but is not a regular file.")
- .arg(mailboxpath) );
+ .tqarg(mailboxpath) );
else
- KMessageBox::error( 0, i18n("stat() failed on %1.").arg(mailboxpath) );
+ KMessageBox::error( 0, i18n("stat() failed on %1.").tqarg(mailboxpath) );
return false;
}