예제 #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_ ());
}