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

okteta

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ParsedNumber< T > Struct Template Reference

#include <parserutils.h>

Inheritance diagram for ParsedNumber< T >:
Inheritance graph
[legend]

Public Member Functions

 ParsedNumber ()
 
 ParsedNumber (T val, const QString &str, bool ok)
 
bool isEmpty ()
 
bool isError ()
 

Static Public Member Functions

static ParsedNumber< T > badInput (const QString &str)
 

Public Attributes

bool isValid
 
QString string
 
T value
 

Detailed Description

template<typename T>
struct ParsedNumber< T >

Holds a number that was converted either from a QScriptValue or a QString.

Definition at line 84 of file parserutils.h.

Constructor & Destructor Documentation

template<typename T>
ParsedNumber< T >::ParsedNumber ( )
inline

Definition at line 85 of file parserutils.h.

template<typename T>
ParsedNumber< T >::ParsedNumber ( T  val,
const QString &  str,
bool  ok 
)
inline

Definition at line 86 of file parserutils.h.

Member Function Documentation

template<typename T>
static ParsedNumber<T> ParsedNumber< T >::badInput ( const QString &  str)
inlinestatic

Definition at line 90 of file parserutils.h.

template<typename T>
bool ParsedNumber< T >::isEmpty ( )
inline

Definition at line 92 of file parserutils.h.

template<typename T>
bool ParsedNumber< T >::isError ( )
inline

Definition at line 91 of file parserutils.h.

Member Data Documentation

template<typename T>
bool ParsedNumber< T >::isValid

Definition at line 89 of file parserutils.h.

template<typename T>
QString ParsedNumber< T >::string

Definition at line 87 of file parserutils.h.

template<typename T>
T ParsedNumber< T >::value

Definition at line 88 of file parserutils.h.


The documentation for this struct was generated from the following file:
  • parserutils.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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