parley
text.cpp
Go to the documentation of this file.00001 /*************************************************************************** 00002 00003 Copyright 2008 Avgoustinos Kadis <avgoustinos.kadis@kdemail.net> 00004 00005 ***************************************************************************/ 00006 00007 /*************************************************************************** 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 00013 * * 00014 ***************************************************************************/ 00015 #include "text.h" 00016 00017 namespace Scripting 00018 { 00019 00020 Text::Text ( const QString& text ) 00021 : QObject() 00022 { 00023 m_text = new KEduVocText ( text ); 00024 } 00025 00026 Text::Text ( KEduVocText * text ) 00027 : m_text ( text ) 00028 { 00029 } 00030 00031 Text::Text (const KEduVocText & text ) 00032 { 00033 m_text = new KEduVocText ( text ); 00034 } 00035 00036 00037 Text::~Text() 00038 { 00039 } 00040 00041 00042 } 00043
KDE 4.4 API Reference