diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 01:42:14 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 01:42:14 +0000 |
commit | 8155225c9be993acc0512956416d195edfef4eb9 (patch) | |
tree | de4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kfind/kfinddlg.cpp | |
parent | 364641b8e0279758d236af39abd138d379328a19 (diff) | |
download | tdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip |
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
Diffstat (limited to 'kfind/kfinddlg.cpp')
-rw-r--r-- | kfind/kfinddlg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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()<<TQString("Will remove one item: %1").arg(file)<<endl; + kdDebug()<<TQString(TQString("Will remove one item: %1").arg(file))<<endl; TQListViewItem *iter; TQString iterwithpath; @@ -260,7 +260,7 @@ void KfindDlg::slotNewItems( const TQString& file ) TQListViewItem *checkiter; TQString checkiterwithpath; - if(file.find(query->url().path(+1))==0) + if(file.tqfind(query->url().path(+1))==0) { kdDebug()<<TQString("Can be added, path OK")<<endl; checkiter=win->firstChild(); |