Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
OpenedList Class Reference

#include <openedlist.h>

+ Collaboration diagram for OpenedList:

Public Types

enum  ListStyle {
  Bullet , Tag , Value , Numeric ,
  UpperAlpha , LowerAlpha , UpperRoman , LowerRoman
}
 

Public Member Functions

 OpenedList ()
 
 OpenedList (ListStyle style)
 
 OpenedList (const Location &location, const QString &hint)
 
void next ()
 
bool isStarted () const
 
ListStyle style () const
 
QString styleString () const
 
int number () const
 
QString numberString () const
 
QString prefix () const
 
QString suffix () const
 

Detailed Description

Definition at line 13 of file openedlist.h.

Member Enumeration Documentation

◆ ListStyle

Enumerator
Bullet 
Tag 
Value 
Numeric 
UpperAlpha 
LowerAlpha 
UpperRoman 
LowerRoman 

Definition at line 16 of file openedlist.h.

Constructor & Destructor Documentation

◆ OpenedList() [1/3]

OpenedList::OpenedList ( )
inline

Definition at line 18 of file openedlist.h.

References Bullet.

◆ OpenedList() [2/3]

OpenedList::OpenedList ( ListStyle style)
explicit

Definition at line 14 of file openedlist.cpp.

Referenced by Generator::generateFileList().

+ Here is the caller graph for this function:

◆ OpenedList() [3/3]

OpenedList::OpenedList ( const Location & location,
const QString & hint )

Definition at line 16 of file openedlist.cpp.

References Bullet, LowerAlpha, LowerRoman, Numeric, UpperAlpha, and UpperRoman.

Member Function Documentation

◆ isStarted()

bool OpenedList::isStarted ( ) const
inlinenodiscard

Definition at line 24 of file openedlist.h.

◆ next()

void OpenedList::next ( )
inline

Definition at line 22 of file openedlist.h.

◆ number()

int OpenedList::number ( ) const
inlinenodiscard

Definition at line 27 of file openedlist.h.

◆ numberString()

QString OpenedList::numberString ( ) const
nodiscard

Definition at line 68 of file openedlist.cpp.

◆ prefix()

QString OpenedList::prefix ( ) const
inlinenodiscard

Definition at line 29 of file openedlist.h.

◆ style()

ListStyle OpenedList::style ( ) const
inlinenodiscard

Definition at line 25 of file openedlist.h.

Referenced by styleString().

+ Here is the caller graph for this function:

◆ styleString()

QString OpenedList::styleString ( ) const
nodiscard

Definition at line 45 of file openedlist.cpp.

References Bullet, LowerAlpha, LowerRoman, Numeric, style(), Tag, UpperAlpha, UpperRoman, and Value.

+ Here is the call graph for this function:

◆ suffix()

QString OpenedList::suffix ( ) const
inlinenodiscard

Definition at line 30 of file openedlist.h.


The documentation for this class was generated from the following files: