diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
| commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
| tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /konqueror/about/konq_aboutpage.cc | |
| parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
| download | tdebase-fd3a982e.tar.gz tdebase-fd3a982e.zip  | |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/about/konq_aboutpage.cc')
| -rw-r--r-- | konqueror/about/konq_aboutpage.cc | 28 | 
1 files changed, 14 insertions, 14 deletions
diff --git a/konqueror/about/konq_aboutpage.cc b/konqueror/about/konq_aboutpage.cc index e7b0553b1..c9c83fd4f 100644 --- a/konqueror/about/konq_aboutpage.cc +++ b/konqueror/about/konq_aboutpage.cc @@ -50,15 +50,15 @@ KonqAboutPageFactory::~KonqAboutPageFactory()      s_plugins_html = 0;  } -KParts::Part *KonqAboutPageFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, +KParts::Part *KonqAboutPageFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,                                                        TQObject *parent, const char *name,                                                        const char *, const TQStringList & )  { -    //KonqFrame *frame = dynamic_cast<KonqFrame *>( tqparentWidget ); +    //KonqFrame *frame = dynamic_cast<KonqFrame *>( parentWidget );      //if ( !frame ) return 0;      return new KonqAboutPage( //frame->childView()->mainWindow(), -                              tqparentWidget, widgetName, parent, name ); +                              parentWidget, widgetName, parent, name );  }  TQString KonqAboutPageFactory::loadFile( const TQString& file ) @@ -77,12 +77,12 @@ TQString KonqAboutPageFactory::loadFile( const TQString& file )      res = t.read();      // otherwise all embedded objects are referenced as about:/... -    TQString basehref = TQString::tqfromLatin1("<BASE HREF=\"file:") + +    TQString basehref = TQString::fromLatin1("<BASE HREF=\"file:") +  		       file.left( file.findRev( '/' )) + -		       TQString::tqfromLatin1("/\">\n"); +		       TQString::fromLatin1("/\">\n");      TQRegExp reg("<head>");      reg.setCaseSensitive(FALSE); -    res.tqreplace(reg, "<head>\n\t" + basehref); +    res.replace(reg, "<head>\n\t" + basehref);      return res;  } @@ -295,7 +295,7 @@ TQString KonqAboutPageFactory::specs()            .arg( i18n("Secure Sockets Layer") )            .arg( i18n("(TLS/SSL v2/3) for secure communications up to 168bit") )            .arg( i18n("OpenSSL") ) -          .arg( i18n("Bidirectional 16bit tqunicode support") ) +          .arg( i18n("Bidirectional 16bit unicode support") )            .arg( i18n("built-in") )            .arg( i18n("AutoCompletion for forms") )            .arg( i18n("built-in") ) @@ -427,9 +427,9 @@ TQString KonqAboutPageFactory::plugins()  KonqAboutPage::KonqAboutPage( //KonqMainWindow * -                              TQWidget *tqparentWidget, const char *widgetName, +                              TQWidget *parentWidget, const char *widgetName,                                TQObject *parent, const char *name ) -    : KHTMLPart( tqparentWidget, widgetName, parent, name, BrowserViewGUI ) +    : KHTMLPart( parentWidget, widgetName, parent, name, BrowserViewGUI )  {      //m_mainWindow = mainWindow;      TQTextCodec* codec = KGlobal::locale()->codecForEncoding(); @@ -507,32 +507,32 @@ void KonqAboutPage::urlSelected( const TQString &url, int button, int state, con          return;      } -    if ( url == TQString::tqfromLatin1("launch.html") ) +    if ( url == TQString::fromLatin1("launch.html") )      {          emit browserExtension()->openURLNotify();  	serve( KonqAboutPageFactory::launch(), "konqueror" );          return;      } -    else if ( url == TQString::tqfromLatin1("intro.html") ) +    else if ( url == TQString::fromLatin1("intro.html") )      {          emit browserExtension()->openURLNotify();          serve( KonqAboutPageFactory::intro(), "konqueror" );          return;      } -    else if ( url == TQString::tqfromLatin1("specs.html") ) +    else if ( url == TQString::fromLatin1("specs.html") )      {          emit browserExtension()->openURLNotify();  	serve( KonqAboutPageFactory::specs(), "konqueror" );          return;      } -    else if ( url == TQString::tqfromLatin1("tips.html") ) +    else if ( url == TQString::fromLatin1("tips.html") )      {          emit browserExtension()->openURLNotify();          serve( KonqAboutPageFactory::tips(), "konqueror" );          return;      } -    else if ( url == TQString::tqfromLatin1("config:/disable_overview") ) +    else if ( url == TQString::fromLatin1("config:/disable_overview") )      {  	if ( KMessageBox::questionYesNo( widget(),  					 i18n("Do you want to disable showing "  | 
