From 377fa3a2775cdb3194315bb83e21744dc7c97bbf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:58:15 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit d1248617107f659af9d03cf1ef6d783571a0cba8. --- kuser/addUser.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kuser/addUser.cpp') diff --git a/kuser/addUser.cpp b/kuser/addUser.cpp index 24181b9..828e225 100644 --- a/kuser/addUser.cpp +++ b/kuser/addUser.cpp @@ -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(), 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; } -- cgit v1.2.3