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

Nepomuk-Core

  • KTp
  • TextParser
Public Member Functions | Static Public Member Functions | List of all members
KTp::TextParser Class Reference

#include <text-parser.h>

Inheritance diagram for KTp::TextParser:
Inheritance graph
[legend]

Public Member Functions

virtual ~TextParser ()
TextUrlData extractUrlData (const QString &string, bool doUrlFixup=true)

Static Public Member Functions

static TextParser * instance ()

Detailed Description

TextParser.

Definition at line 50 of file text-parser.h.

Constructor & Destructor Documentation

KTp::TextParser::~TextParser ( )
virtual

Destructor.

Parameters
void

Definition at line 90 of file text-parser.cpp.

Member Function Documentation

TextUrlData KTp::TextParser::extractUrlData ( const QString &  string,
bool  doUrlFixup = true 
)

Method extract url from text.

Parameters
QStringstring A whole text
booldoUrlFixup fix the url default true
Returns
TextUrlData
Author
Konversation developers

Definition at line 51 of file text-parser.cpp.

TextParser * KTp::TextParser::instance ( )
static

Singleton pattern.

Parameters
void
Returns
TextParser

Definition at line 42 of file text-parser.cpp.


The documentation for this class was generated from the following files:
  • text-parser.h
  • text-parser.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
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