From 8155225c9be993acc0512956416d195edfef4eb9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 19 Jan 2011 01:42:14 +0000 Subject: Enable compilation with TQt for Qt4 3.4.0 TP2 This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfind/kfinddlg.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kfind/kfinddlg.cpp') diff --git a/kfind/kfinddlg.cpp b/kfind/kfinddlg.cpp index aeb6d2708..557d4b04e 100644 --- a/kfind/kfinddlg.cpp +++ b/kfind/kfinddlg.cpp @@ -31,7 +31,7 @@ KfindDlg::KfindDlg(const KURL & url, TQWidget *parent, const char *name) KStdGuiItem::saveAs()) { TQWidget::setCaption( i18n("Find Files/Folders" ) ); - setButtonBoxOrientation(Vertical); + setButtonBoxOrientation(Qt::Vertical); enableButton(Apply, true); // Enable "Find" enableButton(User1, false); // Disable "Stop" @@ -72,7 +72,7 @@ KfindDlg::KfindDlg(const KURL & url, TQWidget *parent, const char *name) connect(win ,TQT_SIGNAL(resultSelected(bool)), this,TQT_SIGNAL(resultSelected(bool))); - query = new KQuery(frame); + query = new KQuery(TQT_TQOBJECT(frame)); connect(query, TQT_SIGNAL(addFile(const KFileItem*,const TQString&)), TQT_SLOT(addFile(const KFileItem*,const TQString&))); connect(query, TQT_SIGNAL(result(int)), TQT_SLOT(slotResult(int))); @@ -236,7 +236,7 @@ void KfindDlg::about () void KfindDlg::slotDeleteItem(const TQString& file) { - kdDebug()<url().path(+1))==0) + if(file.tqfind(query->url().path(+1))==0) { kdDebug()<firstChild(); -- cgit v1.2.3