refactor
This commit is contained in:
+2
-2
@@ -38,7 +38,7 @@ public:
|
||||
QVector<User*> getVIPs() const;
|
||||
QVector<User*> getSubscribers() const;
|
||||
QVector<User*> getActiveUsers(int minutes = 10) const;
|
||||
|
||||
const User* getRandomUser() const;
|
||||
// Статистика
|
||||
int getUserCount() const;
|
||||
int getMessageCount() const;
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
bool loadFromFile(const QString &filename);
|
||||
|
||||
// Геттеры
|
||||
User* getUserByIndex(int index);
|
||||
User* getUserByIndex(const QString &userID);
|
||||
const QMap<QString, User>& getAllUsers() const;
|
||||
|
||||
signals:
|
||||
|
||||
Reference in New Issue
Block a user