marble
#include <GeoDataSnippet.h>
Public Member Functions | |
GeoDataSnippet (const QString &text=QString(), int maxLines=0) | |
int | maxLines () const |
bool | operator!= (const GeoDataSnippet &other) const |
bool | operator== (const GeoDataSnippet &other) const |
void | setMaxLines (int lines) |
void | setText (const QString &text) |
QString | text () const |
Detailed Description
Definition at line 20 of file GeoDataSnippet.h.
Constructor & Destructor Documentation
|
explicit |
Create a new snippet with the given text and maximum of lines.
Definition at line 16 of file GeoDataSnippet.cpp.
Member Function Documentation
int Marble::GeoDataSnippet::maxLines | ( | ) | const |
Return the number of lines that should be displayed at maximum.
The value 0 (default) means "all"
Definition at line 33 of file GeoDataSnippet.cpp.
bool Marble::GeoDataSnippet::operator!= | ( | const GeoDataSnippet & | other | ) | const |
Definition at line 28 of file GeoDataSnippet.cpp.
bool Marble::GeoDataSnippet::operator== | ( | const GeoDataSnippet & | other | ) | const |
Check for equality/inequality between two GeoDataSnippets.
Definition at line 23 of file GeoDataSnippet.cpp.
void Marble::GeoDataSnippet::setMaxLines | ( | int | lines | ) |
Set the number of lines displayed at maximum.
Definition at line 38 of file GeoDataSnippet.cpp.
void Marble::GeoDataSnippet::setText | ( | const QString & | text | ) |
Set the text that the snippet will display.
Definition at line 48 of file GeoDataSnippet.cpp.
QString Marble::GeoDataSnippet::text | ( | ) | const |
Returns the text that is associated with this snippet.
Definition at line 43 of file GeoDataSnippet.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.