blob: 7bb3cc0e5202553c9291119229d8fbbfa5c5455b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* global.cpp
*
* Created on: 29.01.2013
* Author: sr
*/
#include "global.h"
QString Global::_sessionName = QString();
QByteArray Global::_sessionNameArray = QByteArray();
void Global::setSessionName(const QString& name)
{
Global::_sessionName = name;
Global::_sessionNameArray = name.toUtf8();
}
void Global::setSessionName()
{
const QString name = "";// QString::number(qrand() % 9000 + 1000); // TODO(manuel): DEBUG: undoo
Global::_sessionName = name;
Global::_sessionNameArray = name.toUtf8();
}
|