|
|
|
@ -95,7 +95,7 @@ class TDE_EXPORT Smb4KWorkgroupItem
|
|
|
|
|
void setPseudoMaster();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns TRUE, if the master is a 'pseudo' master. @see setPseudoMaster()
|
|
|
|
|
* Returns true, if the master is a 'pseudo' master. @see setPseudoMaster()
|
|
|
|
|
* for further information.
|
|
|
|
|
*/
|
|
|
|
|
bool hasPseudoMaster() const { return m_pseudo; }
|
|
|
|
@ -144,12 +144,12 @@ class TDE_EXPORT Smb4KWorkgroupItem
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function checks if the IP address is valid, i.e. the
|
|
|
|
|
* IP address is either IP v4 or IP v6. It returns either TRUE
|
|
|
|
|
* or FALSE.
|
|
|
|
|
* IP address is either IP v4 or IP v6. It returns either true
|
|
|
|
|
* or false.
|
|
|
|
|
*
|
|
|
|
|
* @param ip The IP address that's going to be checked.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE if the IP address is valid and FALSE otherwise.
|
|
|
|
|
* @returns true if the IP address is valid and false otherwise.
|
|
|
|
|
*/
|
|
|
|
|
bool ipIsValid( const TQString &ip );
|
|
|
|
|
};
|
|
|
|
@ -240,14 +240,14 @@ class TDE_EXPORT Smb4KHostItem
|
|
|
|
|
* This functions determines whether this host should be
|
|
|
|
|
* registered as a master browser.
|
|
|
|
|
*
|
|
|
|
|
* @param master Set this to TRUE if the host is a master browser.
|
|
|
|
|
* @param master Set this to true if the host is a master browser.
|
|
|
|
|
*/
|
|
|
|
|
void setMaster( bool master );
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function tells you if the host is a master or not.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE if the host is a master browser.
|
|
|
|
|
* @returns true if the host is a master browser.
|
|
|
|
|
*/
|
|
|
|
|
const bool isMaster() const { return m_master; }
|
|
|
|
|
|
|
|
|
@ -269,14 +269,14 @@ class TDE_EXPORT Smb4KHostItem
|
|
|
|
|
* This function is used to tell the host item, if a
|
|
|
|
|
* check for the IP address has already been performed.
|
|
|
|
|
*
|
|
|
|
|
* @param yes Should be set to TRUE if a check was performed.
|
|
|
|
|
* @param yes Should be set to true if a check was performed.
|
|
|
|
|
*/
|
|
|
|
|
void setIPAddressChecked( bool yes );
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Tells if a check for the IP address has already been performed.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE if a check was performed, and FALSE otherwise.
|
|
|
|
|
* @returns true if a check was performed, and false otherwise.
|
|
|
|
|
*/
|
|
|
|
|
const bool ipAddressChecked() const { return m_ip_checked; }
|
|
|
|
|
|
|
|
|
@ -284,7 +284,7 @@ class TDE_EXPORT Smb4KHostItem
|
|
|
|
|
* This function is used to tell the host item, if a
|
|
|
|
|
* check for the information (OS and Server string ) has already been performed.
|
|
|
|
|
*
|
|
|
|
|
* @param yes Should be set to TRUE if a check was performed.
|
|
|
|
|
* @param yes Should be set to true if a check was performed.
|
|
|
|
|
*/
|
|
|
|
|
void setInfoChecked( bool yes );
|
|
|
|
|
|
|
|
|
@ -292,7 +292,7 @@ class TDE_EXPORT Smb4KHostItem
|
|
|
|
|
* Tells if a check for the information (OS and Server string) has already
|
|
|
|
|
* been performed.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE is the check was performed previously.
|
|
|
|
|
* @returns true is the check was performed previously.
|
|
|
|
|
*/
|
|
|
|
|
const bool infoChecked() const { return m_info_checked; }
|
|
|
|
|
|
|
|
|
@ -347,12 +347,12 @@ class TDE_EXPORT Smb4KHostItem
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function checks if the IP address is valid, i.e. the
|
|
|
|
|
* IP address is either IP v4 or IP v6. It returns either TRUE
|
|
|
|
|
* or FALSE.
|
|
|
|
|
* IP address is either IP v4 or IP v6. It returns either true
|
|
|
|
|
* or false.
|
|
|
|
|
*
|
|
|
|
|
* @param ip The IP address that's going to be checked.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE if the IP address is valid and FALSE otherwise.
|
|
|
|
|
* @returns true if the IP address is valid and false otherwise.
|
|
|
|
|
*/
|
|
|
|
|
bool ipIsValid( const TQString &ip );
|
|
|
|
|
};
|
|
|
|
@ -431,31 +431,31 @@ class TDE_EXPORT Smb4KShareItem
|
|
|
|
|
/**
|
|
|
|
|
* This function tells if the share is a hidden one.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE is the share is a hidden one and FALSE otherwise.
|
|
|
|
|
* @returns true is the share is a hidden one and false otherwise.
|
|
|
|
|
*/
|
|
|
|
|
bool isHidden() const;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function is TRUE if the share is a printer and
|
|
|
|
|
* FALSE otherwise.
|
|
|
|
|
* This function is true if the share is a printer and
|
|
|
|
|
* false otherwise.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE if the share is a printer
|
|
|
|
|
* @returns true if the share is a printer
|
|
|
|
|
*/
|
|
|
|
|
bool isPrinter() const;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function returns TRUE if the share is an IPC$
|
|
|
|
|
* share and FALSE otherwise.
|
|
|
|
|
* This function returns true if the share is an IPC$
|
|
|
|
|
* share and false otherwise.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE if the share is an IPC$ share
|
|
|
|
|
* @returns true if the share is an IPC$ share
|
|
|
|
|
*/
|
|
|
|
|
bool isIPC() const;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This function returns TRUE if the share is an ADMIN$
|
|
|
|
|
* share and FALSE otherwise.
|
|
|
|
|
* This function returns true if the share is an ADMIN$
|
|
|
|
|
* share and false otherwise.
|
|
|
|
|
*
|
|
|
|
|
* @returns TRUE if the share is an ADMIN$ share
|
|
|
|
|
* @returns true if the share is an ADMIN$ share
|
|
|
|
|
*/
|
|
|
|
|
bool isADMIN() const;
|
|
|
|
|
|
|
|
|
|