Attica::Topic

Search for usage in LXR

Attica::Topic Class Reference

#include <Attica/Topic>

Public Types

typedef QList< TopicList
 

Public Member Functions

 Topic (const Topic &other)
 
int comments () const
 
QString content () const
 
QDateTime date () const
 
QString forumId () const
 
QString id () const
 
bool isValid () const
 
Topicoperator= (const Topic &other)
 
void setComments (const int comments)
 
void setContent (const QString &content)
 
void setDate (const QDateTime &date)
 
void setForumId (const QString &forumId)
 
void setId (const QString &id)
 
void setSubject (const QString &subject)
 
void setUser (const QString &user)
 
QString subject () const
 
QString user () const
 

Detailed Description

Represents a topic.

Definition at line 25 of file topic.h.

Member Typedef Documentation

◆ List

Definition at line 28 of file topic.h.

Constructor & Destructor Documentation

◆ Topic() [1/2]

Topic::Topic ( )

Definition at line 30 of file topic.cpp.

◆ Topic() [2/2]

Topic::Topic ( const Topic & other)

Definition at line 35 of file topic.cpp.

◆ ~Topic()

Topic::~Topic ( )

Definition at line 46 of file topic.cpp.

Member Function Documentation

◆ comments()

int Topic::comments ( ) const

Definition at line 115 of file topic.cpp.

◆ content()

QString Topic::content ( ) const

Definition at line 105 of file topic.cpp.

◆ date()

QDateTime Topic::date ( ) const

Definition at line 85 of file topic.cpp.

◆ forumId()

QString Topic::forumId ( ) const

Definition at line 65 of file topic.cpp.

◆ id()

QString Topic::id ( ) const

Definition at line 55 of file topic.cpp.

◆ isValid()

bool Topic::isValid ( ) const

Definition at line 120 of file topic.cpp.

◆ operator=()

Topic & Topic::operator= ( const Topic & other)

Definition at line 40 of file topic.cpp.

◆ setComments()

void Topic::setComments ( const int comments)

Definition at line 110 of file topic.cpp.

◆ setContent()

void Topic::setContent ( const QString & content)

Definition at line 100 of file topic.cpp.

◆ setDate()

void Topic::setDate ( const QDateTime & date)

Definition at line 80 of file topic.cpp.

◆ setForumId()

void Topic::setForumId ( const QString & forumId)

Definition at line 60 of file topic.cpp.

◆ setId()

void Topic::setId ( const QString & id)

Definition at line 50 of file topic.cpp.

◆ setSubject()

void Topic::setSubject ( const QString & subject)

Definition at line 90 of file topic.cpp.

◆ setUser()

void Topic::setUser ( const QString & user)

Definition at line 70 of file topic.cpp.

◆ subject()

QString Topic::subject ( ) const

Definition at line 95 of file topic.cpp.

◆ user()

QString Topic::user ( ) const

Definition at line 75 of file topic.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jun 21 2024 12:04:24 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.