Пример #1
0
QString KDEPrintd::openPassDlg(const QString &user)
{
    QString user_(user), pass_, result;
    if(KIO::PasswordDialog::getNameAndPassword(user_, pass_, NULL) == KDialog::Accepted)
        result.append(user_).append(":").append(pass_);
    return result;
}
Пример #2
0
::CORBA::ValueBase *
MessageImpl::_copy_value (void)
{
  ::CORBA::ValueBase *ret_val= 0;
  ACE_NEW_THROW_EX (
    ret_val,
    MessageImpl (
      user_ (),
      subject_ (),
      text_ ()
    ),
    ::CORBA::NO_MEMORY ()
  );
  return ret_val;
}
Пример #3
0
MessageImpl::MessageImpl (const char *user, const char *subject, const char *text)
{
  user_ (user);
  subject_ (subject);
  text_ (text);
}
Пример #4
0
void
MessageImpl::user (const char *s)
{
  user_ (s);
}
Пример #5
0
char *
MessageImpl::user ()
{
  return CORBA::string_dup (user_ ());
}