summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krusader/BookMan/krbookmarkhandler.cpp2
-rw-r--r--krusader/GUI/krremoteencodingmenu.cpp2
-rw-r--r--krusader/krusader.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/krusader/BookMan/krbookmarkhandler.cpp b/krusader/BookMan/krbookmarkhandler.cpp
index fb52e3a..51044f4 100644
--- a/krusader/BookMan/krbookmarkhandler.cpp
+++ b/krusader/BookMan/krbookmarkhandler.cpp
@@ -434,7 +434,7 @@ bool KrBookmarkHandler::eventFilter( TQObject *obj, TQEvent *ev ) {
switch (TQT_TQMOUSEEVENT(ev)->button()) {
case Qt::RightButton:
_middleClick = false;
- if( obj->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ) ) {
+ if( obj->inherits( "TQPopupMenu" ) ) {
int id = static_cast<TQPopupMenu*>(TQT_TQWIDGET(obj))->idAt( TQT_TQMOUSEEVENT(ev)->pos() );
if( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(_mainBookmarkPopup) && _specialBookmarkIDs.contains( id ) ) {
diff --git a/krusader/GUI/krremoteencodingmenu.cpp b/krusader/GUI/krremoteencodingmenu.cpp
index b275880..f1de23d 100644
--- a/krusader/GUI/krremoteencodingmenu.cpp
+++ b/krusader/GUI/krremoteencodingmenu.cpp
@@ -101,7 +101,7 @@ void KrRemoteEncodingMenu::loadSettings()
int KrRemoteEncodingMenu::plug( TQWidget *widget, int index )
{
- if( widget->inherits( TQPOPUPMENU_OBJECT_NAME_STRING ) )
+ if( widget->inherits( "TQPopupMenu" ) )
{
connect( widget, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(slotCheckEnabled()));
slotCheckEnabled();
diff --git a/krusader/krusader.cpp b/krusader/krusader.cpp
index 0844088..a415c75 100644
--- a/krusader/krusader.cpp
+++ b/krusader/krusader.cpp
@@ -1002,7 +1002,7 @@ bool Krusader::queryClose() {
if( hid )
w->show();
- if( w->inherits( TQDIALOG_OBJECT_NAME_STRING ) )
+ if( w->inherits( "TQDialog" ) )
fprintf( stderr, "Failed to close: %s\n", w->className() );
return false;