diff options
Diffstat (limited to 'kalzium/src/detailinfodlg.cpp')
-rw-r--r-- | kalzium/src/detailinfodlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kalzium/src/detailinfodlg.cpp b/kalzium/src/detailinfodlg.cpp index 97dd76e6..ff1e3e10 100644 --- a/kalzium/src/detailinfodlg.cpp +++ b/kalzium/src/detailinfodlg.cpp @@ -23,7 +23,7 @@ #include <kiconloader.h> #include <tdehtml_part.h> #include <tdehtmlview.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tdeactioncollection.h> #include <kcombobox.h> #include <tdeapplication.h> @@ -66,7 +66,7 @@ DetailedInfoDlg::DetailedInfoDlg( Element *el , TQWidget *parent, const char *na createContent(); m_actionCollection = new TDEActionCollection(this); - KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotClose()), m_actionCollection); + KStdAction::quit(this, TQ_SLOT(slotClose()), m_actionCollection); setButtonTip( User2, i18n( "Goes to the previous element" ) ); setButtonTip( User1, i18n( "Goes to the next element" ) ); @@ -96,7 +96,7 @@ TDEHTMLPart* DetailedInfoDlg::addHTMLTab( const TQString& title, const TQString& TQFrame *frame = addPage(title, icontext, BarIcon(iconname)); TQVBoxLayout *layout = new TQVBoxLayout( frame ); layout->setMargin( 0 ); - TDEHTMLPart *w = new TDEHTMLPart( frame, "html-part", TQT_TQOBJECT(frame) ); + TDEHTMLPart *w = new TDEHTMLPart( frame, "html-part", frame ); layout->addWidget( w->view() ); return w; @@ -389,7 +389,7 @@ void DetailedInfoDlg::reloadContent() if ( TQFile::exists( picpath ) ) { TQImage img( picpath, "JPEG" ); - img = img.smoothScale ( 400, 400, TQ_ScaleMin ); + img = img.smoothScale ( 400, 400, TQImage::ScaleMin ); TQPixmap pic; pic.convertFromImage( img ); piclabel->setPixmap( pic ); @@ -456,8 +456,8 @@ void DetailedInfoDlg::slotHelp() break; } - if ( kapp ) - kapp->invokeHelp ( chapter, "kalzium" ); + if ( tdeApp ) + tdeApp->invokeHelp ( chapter, "kalzium" ); } void DetailedInfoDlg::wheelEvent( TQWheelEvent *ev ) |