diff options
Diffstat (limited to 'bibletime/util/ctoolclass.h')
-rw-r--r-- | bibletime/util/ctoolclass.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/bibletime/util/ctoolclass.h b/bibletime/util/ctoolclass.h index 80d0ae8..809b227 100644 --- a/bibletime/util/ctoolclass.h +++ b/bibletime/util/ctoolclass.h @@ -10,9 +10,9 @@ //Qt includes -#include <qstring.h> -#include <qpixmap.h> -#include <qtextstream.h> +#include <tqstring.h> +#include <tqpixmap.h> +#include <tqtextstream.h> #ifndef CTOOLCLASS_H @@ -20,7 +20,7 @@ class CSwordModuleInfo; -class QLabel; +class TQLabel; /** * Provides some useful functions which would be normally global. @@ -37,44 +37,44 @@ public: * @return The path of the HTML file "filename". This function searches only in $KDEDIR. * @author Sandy Meier of the KDevelop team. */ - static QString locatehtml(const QString &filename); + static TQString locatehtml(const TQString &filename); /** * Converts HTML text to plain text. * This function converts some HTML tags in text (e.g. <BR> to \n) * @return The text withput HTML tags and with converted <BR> to \n * @author Joachim Ansorg */ - static QString htmlToText(const QString&); + static TQString htmlToText(const TQString&); /** * Converts text to HTML converting some text commands into HTML tags (e.g. \n to <BR>) * @return The HTML formatted text we got after changing \n to <BR> * @author Joachim Ansorg */ - static QString textToHTML(const QString&); + static TQString textToHTML(const TQString&); /** * Creates the file filename and put the text of parameter "text" into the file. * @return True if saving was sucessful, otherwise false * @author Joachim Ansorg */ - static bool savePlainFile( const QString& filename, const QString& text, const bool& forceOverwrite = false, const QTextStream::Encoding& fileEncoding = QTextStream::Locale); + static bool savePlainFile( const TQString& filename, const TQString& text, const bool& forceOverwrite = false, const TQTextStream::Encoding& fileEncoding = TQTextStream::Locale); /** * Returns the icon used for the module given as aparameter. */ - static QPixmap getIconForModule( CSwordModuleInfo* ); + static TQPixmap getIconForModule( CSwordModuleInfo* ); /** Returns a label to explain difficult things of dialogs. * This function returns a label with heading "heading" and explanation "text". This label should be used to * explain difficult things of the GUI, e.g. in the optionsdialog. */ - static QLabel* explanationLabel(QWidget* parent, const QString& heading, const QString& text ); + static TQLabel* explanationLabel(TQWidget* parent, const TQString& heading, const TQString& text ); /** * Returns true if the character at position "pos" of text is inside an HTML tag. Returns false if it's not inside an HTML tag. */ - static bool inHTMLTag(int pos, QString & text); + static bool inHTMLTag(int pos, TQString & text); /** Return the module's tooltip text * @param module The module required for the toolip * @return The tooltip text for the passed module */ - static QString moduleToolTip(CSwordModuleInfo* module); + static TQString moduleToolTip(CSwordModuleInfo* module); }; #endif |