Exemple #1
0
 // KUser* KUser(K_UID arg1); >>>> NOT CONVERTED
 // KUser* KUser(const passwd* arg1); >>>> NOT CONVERTED
 // K_UID uid(); >>>> NOT CONVERTED
 // K_GID gid(); >>>> NOT CONVERTED
 /// <remarks>
 ///  Creates an object that contains information about the current user.
 ///  (as returned by getuid(2) or geteuid(2), taking $LOGNAME/$USER into
 ///  account).
 /// <param> name="mode" if #UseEffectiveUID is passed the effective
 ///              user is returned.
 ///         If #UseRealUserID is passed the real user will be
 ///         returned.
 ///         The real UID will be different than the effective UID in setuid
 ///         programs; in
 ///         such a case use the effective UID for checking permissions, and
 ///         the real UID for displaying information about the user.
 ///    </param></remarks>        <short>    Creates an object that contains information about the current user.</short>
 public KUser(KUser.UIDMode mode)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KUser$", "KUser(KUser::UIDMode)", typeof(void), typeof(KUser.UIDMode), mode);
 }
Exemple #2
0
 /// <remarks>
 ///  Creates an object from another KUser object
 /// <param> name="user" the user to create the new object from
 ///    </param></remarks>        <short>    Creates an object from another KUser object </short>
 public KUser(KUser user)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("KUser#", "KUser(const KUser&)", typeof(void), typeof(KUser), user);
 }
Exemple #3
0
 /// <remarks>
 ///  Returns an extended property.
 ///  Under Windows, <code>RoomNumber</code>, <code>WorkPhone</code> and <code>HomePhone</code> are unsupported.
 /// </remarks>        <return> a QVariant with the value of the property or an invalid QVariant,
 ///          if the property is not set
 ///    </return>
 ///         <short>    Returns an extended property.</short>
 public QVariant Property(KUser.UserProperty which)
 {
     return (QVariant) interceptor.Invoke("property$", "property(KUser::UserProperty) const", typeof(QVariant), typeof(KUser.UserProperty), which);
 }