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

superkaramba

  • sources
  • kde-4.12
  • kdeutils
  • superkaramba
  • src
lineparser.h
Go to the documentation of this file.
1 #ifndef LINEPARSER_H
2 #define LINEPARSER_H
3 
4 #include <QColor>
5 
6 class LineParser
7 {
8 public:
9  LineParser(const QString& line = QString());
10  ~LineParser();
11 
12  void set(const QString& line);
13 
14  int getInt(const QString &w, int def = 0) const;
15  QColor getColor(const QString &w, const QColor &def = QColor()) const;
16  QString getString(const QString &w, const QString &def = QString()) const;
17  bool getBoolean(const QString &w, bool def = false) const;
18 
19  const QString& meter() const
20  {
21  return m_meter;
22  }
23 
24 private:
25  QString m_line;
26  QString m_meter;
27 };
28 
29 #endif
LineParser::LineParser
LineParser(const QString &line=QString())
Definition: lineparser.cpp:27
LineParser::meter
const QString & meter() const
Definition: lineparser.h:19
LineParser::set
void set(const QString &line)
Definition: lineparser.cpp:35
LineParser::getColor
QColor getColor(const QString &w, const QColor &def=QColor()) const
Definition: lineparser.cpp:53
LineParser::getString
QString getString(const QString &w, const QString &def=QString()) const
Definition: lineparser.cpp:68
LineParser::~LineParser
~LineParser()
Definition: lineparser.cpp:32
LineParser::getBoolean
bool getBoolean(const QString &w, bool def=false) const
Definition: lineparser.cpp:90
LineParser
Definition: lineparser.h:6
LineParser::getInt
int getInt(const QString &w, int def=0) const
Definition: lineparser.cpp:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

superkaramba

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

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