24 #include "kpreloadobject.h"
26 class CupsInfos :
public KPReloadObject
29 static CupsInfos*
self();
34 const TQString& host()
const;
35 TQString hostaddr()
const;
37 const TQString& login()
const;
38 const TQString& password()
const;
39 const TQString& realLogin()
const;
40 bool savePassword()
const;
42 void setHost(
const TQString& s);
44 void setLogin(
const TQString& s);
45 void setPassword(
const TQString& s);
46 void setSavePassword(
bool on );
48 const char* getPasswordCB();
58 static CupsInfos *unique_;
70 inline const TQString& CupsInfos::host()
const
73 inline int CupsInfos::port()
const
76 inline const TQString& CupsInfos::login()
const
79 inline const TQString& CupsInfos::password()
const
82 inline const TQString& CupsInfos::realLogin()
const
83 {
return reallogin_; }
85 inline bool CupsInfos::savePassword()
const