Attica
5.109.0
attica-9999_git1688826913
src
topic.h
1
/*
2
This file is part of KDE.
3
4
SPDX-FileCopyrightText: 2011 Laszlo Papp <djszapi@archlinux.us>
5
6
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7
*/
8
9
#ifndef ATTICA_TOPIC_H
10
#define ATTICA_TOPIC_H
11
12
#include "attica_export.h"
13
14
#include <QDateTime>
15
#include <QSharedDataPointer>
16
17
namespace
Attica
18
{
19
25
class
ATTICA_EXPORT
Topic
26
{
27
public
:
28
typedef
QList<Topic> List;
29
class
Parser;
30
31
Topic
();
32
Topic
(
const
Topic
&other);
33
Topic
&operator=(
const
Topic
&other);
34
~Topic
();
35
36
void
setId(
const
QString &
id
);
37
QString id()
const
;
38
39
void
setForumId(
const
QString &forumId);
40
QString forumId()
const
;
41
42
void
setUser(
const
QString &user);
43
QString user()
const
;
44
45
void
setDate(
const
QDateTime &date);
46
QDateTime date()
const
;
47
48
void
setSubject(
const
QString &subject);
49
QString subject()
const
;
50
51
void
setContent(
const
QString &content);
52
QString content()
const
;
53
54
void
setComments(
const
int
comments);
55
int
comments()
const
;
56
57
bool
isValid()
const
;
58
59
private
:
60
class
Private;
61
QSharedDataPointer<Private> d;
62
};
63
64
}
65
66
#endif
Attica::Topic
Represents a topic.
Definition
topic.h:26
Attica
The Attica namespace,.
Definition
activity.h:21
Generated by
1.9.7