From bf85f02dd35b67007f6732d3c7dc76d7ac7f2a3d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Apr 2011 07:41:52 +0000 Subject: Update remaining kdelibs inherits() functions to use new object name defines instead of hard coded string literals git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1226843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/management/kiconselectaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdeprint') diff --git a/kdeprint/management/kiconselectaction.cpp b/kdeprint/management/kiconselectaction.cpp index eb7d1a82a..c042213f7 100644 --- a/kdeprint/management/kiconselectaction.cpp +++ b/kdeprint/management/kiconselectaction.cpp @@ -76,7 +76,7 @@ void KIconSelectAction::setItems(const TQStringList& lst, const TQStringList& ic int KIconSelectAction::plug(TQWidget* widget, int index) { int value(-1); - if (widget->inherits("QPopupMenu")) + if (widget->inherits(TQPOPUPMENU_OBJECT_NAME_STRING)) { createPopupMenu(); value = KSelectAction::plug(widget, index); -- cgit v1.2.1