class AccessData

* 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. More...

Definition#include <UserData.h>
InheritsQObject
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

* 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:
accessIdxThe internal access index.
userIdxThe internal user index of the user having this access.
chanIdxThe internal channel index of the channel concerned by the access.
chanNameThe channel name of the channel concerned by the access.
levelThe level of the access.
autoOptrue if the access is set to auto op, false otherwise.
suspByUsername of the user who suspended the access, if it is suspended.
suspTSDateTime on which the access was suspended.
suspReasonComment given by the user suspending the access.
suspExpireExpiration time of the suspension on the access.

unsigned int getAccessIdx ()
[const]

Get the internal access index of this access.

Returns: The internal access index.

unsigned int getUserIdx ()
[const]

Get the internal user index of this access.

Returns: The internal user index.

unsigned int getChanIdx ()
[const]

Get the internal channel index of this access.

Returns: The internal channel index.

const QString& getChannelName ()
[const]

Get the channel name of this access.

Returns: The name of the channel this access applies to.

unsigned int getLevel ()
[const]

Get the level of this access.

Returns: The level of this access.

bool getAutoOp ()
[const]

Determine wether the access has autoOp turned on.

Returns: true if the access is set to autoOp, false otherwise.

bool isSuspended ()
[const]

Determine wether the access is suspended.

Returns: true if the access is suspended, false otherwise.

const QString& getSuspendBy ()
[const]

Get the username of the user who suspended the access.

Returns: The username of the user who suspended the access.

const QDateTime& getSuspendTS ()
[const]

Get the date and time on which the access was suspended.

Returns: The date and time of the access suspension.

const QString& getSuspendReason ()
[const]

Get the reason given to suspend the access.

Returns: The reason the access was suspended.

const QDateTime& getSuspendExpire ()
[const]

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.