|
|
* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * *************************************************************************
| AccessData (unsigned int accessIdx,unsigned int userIdx, unsigned int chanIdx, QString chanName, unsigned int level, bool autoOp, QString suspBy, QDateTime suspTS,QString suspReason, QDateTime suspExpire) |
Construct a new AccessData object. All the parameters can usually be obtained from the database.
Parameters:
| accessIdx | The internal access index. |
| userIdx | The internal user index of the user having this access. |
| chanIdx | The internal channel index of the channel concerned by the access. |
| chanName | The channel name of the channel concerned by the access. |
| level | The level of the access. |
| autoOp | true if the access is set to auto op, false otherwise. |
| suspBy | Username of the user who suspended the access, if it is suspended. |
| suspTS | DateTime on which the access was suspended. |
| suspReason | Comment given by the user suspending the access. |
| suspExpire | Expiration time of the suspension on the access. |
| unsigned int getAccessIdx () |
Get the internal access index of this access.
Returns: The internal access index.
| unsigned int getUserIdx () |
Get the internal user index of this access.
Returns: The internal user index.
| unsigned int getChanIdx () |
Get the internal channel index of this access.
Returns: The internal channel index.
| const QString& getChannelName () |
Get the channel name of this access.
Returns: The name of the channel this access applies to.
| unsigned int getLevel () |
Get the level of this access.
Returns: The level of this access.
| bool getAutoOp () |
Determine wether the access has autoOp turned on.
Returns: true if the access is set to autoOp, false otherwise.
| bool isSuspended () |
Determine wether the access is suspended.
Returns: true if the access is suspended, false otherwise.
| const QString& getSuspendBy () |
Get the username of the user who suspended the access.
Returns: The username of the user who suspended the access.
| const QDateTime& getSuspendTS () |
Get the date and time on which the access was suspended.
Returns: The date and time of the access suspension.
| const QString& getSuspendReason () |
Get the reason given to suspend the access.
Returns: The reason the access was suspended.
| const QDateTime& getSuspendExpire () |
Get the expiration date time of the suspension.
Returns: The date and time on which the access' suspension will expire.
| Generated by: nightsky@centauri on Sat Jan 15 23:06:10 2000, using kdoc 2.0a30. |