summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/infopage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/infopage.cpp')
-rw-r--r--kregexpeditor/infopage.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kregexpeditor/infopage.cpp b/kregexpeditor/infopage.cpp
index 8f373c5..e467c4b 100644
--- a/kregexpeditor/infopage.cpp
+++ b/kregexpeditor/infopage.cpp
@@ -24,11 +24,11 @@
#include "infopage.h"
-InfoPage::InfoPage( QWidget* parent, const char* name )
+InfoPage::InfoPage( TQWidget* parent, const char* name )
:KTextBrowser( parent, name )
{
- QString txt =
- QString::fromLatin1( "<qt>" ) +
+ TQString txt =
+ TQString::fromLatin1( "<qt>" ) +
i18n( "Translators, feel free to add yourself in the text below, asking for a postcard ;-), "
"also feel free to add a section saying <h2>Translators</h2>. "
"Kind regards, and thanks for your work - Jesper.",
@@ -58,20 +58,20 @@ InfoPage::InfoPage( QWidget* parent, const char* name )
"<h2>Author</h2>"
"<a href=\"http://www.blackie.dk/\">Jesper K. Pedersen</a> &lt;<a href=\"mailto:blackie@kde.org\">blackie@kde.org</a>&gt;")
- + QString::fromLatin1( "</qt>" );
+ + TQString::fromLatin1( "</qt>" );
setText( txt );
}
-void InfoPage::setSource ( const QString& name )
+void InfoPage::setSource ( const TQString& name )
{
#ifdef QT_ONLY
- mimeSourceFactory()->setFilePath( QStringList() << QString::fromLatin1("manual/"));
- QString nm = name;
+ mimeSourceFactory()->setFilePath( TQStringList() << TQString::fromLatin1("manual/"));
+ TQString nm = name;
if ( nm.endsWith("/") )
nm = nm.left( nm.length()-1);
if ( nm.startsWith("mailto:") ) {
- QMessageBox::information( this, tr("Support mail"), tr("Please send the mail to blackie@kde.org") );
+ TQMessageBox::information( this, tr("Support mail"), tr("Please send the mail to blackie@kde.org") );
return;
}
if ( nm.startsWith( "http:" ) )
@@ -81,14 +81,14 @@ void InfoPage::setSource ( const QString& name )
if ( nm == "doc://" )
nm = "doc://index";
- if ( nm.startsWith( QString::fromLocal8Bit("doc://") ) ) {
+ if ( nm.startsWith( TQString::fromLocal8Bit("doc://") ) ) {
nm = nm.mid(6) + ".html";
}
- QTextBrowser::setSource( nm );
+ TQTextBrowser::setSource( nm );
#else
- if ( name.startsWith( QString::fromLocal8Bit("doc://") ) ) {
- kapp->invokeHelp( name.mid(6, name.length()-7), QString::fromLocal8Bit("KRegExpEditor") );
+ if ( name.startsWith( TQString::fromLocal8Bit("doc://") ) ) {
+ kapp->invokeHelp( name.mid(6, name.length()-7), TQString::fromLocal8Bit("KRegExpEditor") );
}
else {
KTextBrowser::setSource( name ); // handle mailto and other links