Remaining tqqt_cast->qt_cast conversions for kdelibs

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217838 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 9ee4144afe
commit c6ea5f2c66

@ -114,7 +114,7 @@ void AutoBookmarker::slotCompleted()
// get the document info // get the document info
KTextEditor::DocumentInfoInterface *di = KTextEditor::DocumentInfoInterface *di =
static_cast<KTextEditor::DocumentInfoInterface*>(document()-> static_cast<KTextEditor::DocumentInfoInterface*>(document()->
tqqt_cast("KTextEditor::DocumentInfoInterface")); qt_cast("KTextEditor::DocumentInfoInterface"));
TQString mt; TQString mt;
if ( di ) // we can still try match the URL otherwise if ( di ) // we can still try match the URL otherwise
mt = di->mimeType(); mt = di->mimeType();

@ -189,7 +189,7 @@ void DockContainer::insertWidget (KDockWidget *dwdg, TQPixmap pixmap, const TQSt
kdDebug(760)<<"*** KDockWidgetHeader has been found"<<endl; kdDebug(760)<<"*** KDockWidgetHeader has been found"<<endl;
KDockWidgetHeader *hdr=static_cast<KDockWidgetHeader*>(w->getHeader()-> KDockWidgetHeader *hdr=static_cast<KDockWidgetHeader*>(w->getHeader()->
tqqt_cast("KDockWidgetHeader")); qt_cast("KDockWidgetHeader"));
KDockButton_Private *btn = new KDockButton_Private( hdr, "OverlapButton" ); KDockButton_Private *btn = new KDockButton_Private( hdr, "OverlapButton" );
@ -257,7 +257,7 @@ bool DockContainer::eventFilter( TQObject *obj, TQEvent *event )
break; break;
} }
KDockWidgetHeader *hdr=static_cast<KDockWidgetHeader*>(w->getHeader()-> KDockWidgetHeader *hdr=static_cast<KDockWidgetHeader*>(w->getHeader()->
tqqt_cast("KDockWidgetHeader")); qt_cast("KDockWidgetHeader"));
if (!hdr) { if (!hdr) {
kdDebug()<<"Wrong header type in DockContainer::eventFilter"<<endl; kdDebug()<<"Wrong header type in DockContainer::eventFilter"<<endl;
break; break;

Loading…
Cancel
Save