• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • GeoDataSnippet
Public Member Functions | List of all members
Marble::GeoDataSnippet Class Reference

#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

Marble::GeoDataSnippet::GeoDataSnippet ( const QString &  text = QString(),
int  maxLines = 0 
)
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:
  • GeoDataSnippet.h
  • GeoDataSnippet.cpp
This file is part of the KDE documentation.
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.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal