#include <sessionInformation.h>
Public Types | |
enum | type { CLUSTER = 0, SPIKE = 1, EVENT = 2, POSITION = 3, CLUSTER = 0, SPIKE = 1, EVENT = 2, POSITION = 3 } |
Type of file. | |
enum | type { CLUSTER = 0, SPIKE = 1, EVENT = 2, POSITION = 3, CLUSTER = 0, SPIKE = 1, EVENT = 2, POSITION = 3 } |
Type of file. | |
Public Member Functions | |
SessionFile (KURL url, type fileType, QDateTime modification) | |
void | setUrl (KURL url) |
Sets the url of the file. | |
void | setType (type fileType) |
Sets the type of the file (see SessionFile::type). | |
void | setModification (QDateTime modification) |
Sets date and time when the file was last modified. | |
void | setItemColor (EventDescription itemId, QString color) |
Sets the color for a given item. | |
void | setBackgroundPath (QString path) |
Sets the url of the background image. | |
KURL | getUrl () const |
Gets the url of the file. | |
type | getType () const |
Gets the type of the file (see SessionFile::type). | |
QDateTime | getModification () const |
Gets date and time when the file was last modified. | |
QMap< EventDescription, QColor > | getItemColors () const |
Gets the colors of the items. | |
QString | getBackgroundPath () const |
Gets the url of the background image. | |
SessionFile (KURL url, type fileType, QDateTime modification) | |
void | setUrl (KURL url) |
Sets the url of the file. | |
void | setType (type fileType) |
Sets the type of the file (see SessionFile::type). | |
void | setModification (QDateTime modification) |
Sets date and time when the file was last modified. | |
void | setItemColor (EventDescription itemId, QString color) |
Sets the color for a given item. | |
void | setBackgroundPath (QString path) |
Sets the url of the background image. | |
KURL | getUrl () const |
Gets the url of the file. | |
type | getType () const |
Gets the type of the file (see SessionFile::type). | |
QDateTime | getModification () const |
Gets date and time when the file was last modified. | |
QMap< EventDescription, QColor > | getItemColors () const |
Gets the colors of the items. | |
QString | getBackgroundPath () const |
Gets the url of the background image. |
void SessionFile::setUrl | ( | KURL | url | ) | [inline] |
Sets the url of the file.
url | url of the file. |
void SessionFile::setType | ( | type | fileType | ) | [inline] |
void SessionFile::setModification | ( | QDateTime | modification | ) | [inline] |
Sets date and time when the file was last modified.
modification | modification information. |
void SessionFile::setItemColor | ( | EventDescription | itemId, | |
QString | color | |||
) | [inline] |
Sets the color for a given item.
itemId | item identification. | |
color | color of the item. |
void SessionFile::setBackgroundPath | ( | QString | path | ) | [inline] |
Sets the url of the background image.
path | path of the background image. obsolete: the background image information is now store in an other class. |
KURL SessionFile::getUrl | ( | ) | const [inline] |
Gets the url of the file.
type SessionFile::getType | ( | ) | const [inline] |
QDateTime SessionFile::getModification | ( | ) | const [inline] |
Gets date and time when the file was last modified.
QMap<EventDescription,QColor> SessionFile::getItemColors | ( | ) | const [inline] |
Gets the colors of the items.
QString SessionFile::getBackgroundPath | ( | ) | const [inline] |
Gets the url of the background image.
void SessionFile::setUrl | ( | KURL | url | ) | [inline] |
Sets the url of the file.
url | url of the file. |
void SessionFile::setType | ( | type | fileType | ) | [inline] |
void SessionFile::setModification | ( | QDateTime | modification | ) | [inline] |
Sets date and time when the file was last modified.
modification | modification information. |
void SessionFile::setItemColor | ( | EventDescription | itemId, | |
QString | color | |||
) | [inline] |
Sets the color for a given item.
itemId | item identification. | |
color | color of the item. |
void SessionFile::setBackgroundPath | ( | QString | path | ) | [inline] |
Sets the url of the background image.
path | path of the background image. obsolete: the background image information is now store in an other class. |
KURL SessionFile::getUrl | ( | ) | const [inline] |
Gets the url of the file.
type SessionFile::getType | ( | ) | const [inline] |
QDateTime SessionFile::getModification | ( | ) | const [inline] |
Gets date and time when the file was last modified.
QMap<EventDescription,QColor> SessionFile::getItemColors | ( | ) | const [inline] |
Gets the colors of the items.
QString SessionFile::getBackgroundPath | ( | ) | const [inline] |
Gets the url of the background image.