summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/qextfileinfo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kimagemapeditor/qextfileinfo.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kimagemapeditor/qextfileinfo.h')
-rw-r--r--kimagemapeditor/qextfileinfo.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/kimagemapeditor/qextfileinfo.h b/kimagemapeditor/qextfileinfo.h
index 6f2b867c..7842e338 100644
--- a/kimagemapeditor/qextfileinfo.h
+++ b/kimagemapeditor/qextfileinfo.h
@@ -9,8 +9,8 @@
(at your option) any later version.
*/
-#ifndef _QEXTFILEINFO_H_
-#define _QEXTFILEINFO_H_
+#ifndef _TQEXTFILEINFO_H_
+#define _TQEXTFILEINFO_H_
#include <kio/global.h>
#include <kio/job.h>
@@ -21,20 +21,21 @@
#include <tqptrlist.h>
#include <tqregexp.h>
-class QExtFileInfo:public QObject
+class TQExtFileInfo:public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- QExtFileInfo() {};
- ~QExtFileInfo() {};
+ TQExtFileInfo() {};
+ ~TQExtFileInfo() {};
/** create to ralative short name */
static KURL toRelative(const KURL& urlToConvert,const KURL& baseURL);
/** convert relative filename to absolute */
static KURL toAbsolute(const KURL& urlToConvert,const KURL& baseURL);
/** recurse function for all files in dir */
- static KURL::List allFiles( const KURL& path, const TQString &mask);
- static KURL::List allFilesRelative( const KURL& path, const TQString &mask);
+ static KURL::List allFiles( const KURL& path, const TQString &tqmask);
+ static KURL::List allFilesRelative( const KURL& path, const TQString &tqmask);
/** create dir if don't exists */
static bool createDir(const KURL & path );
static KURL cdUp(const KURL &dir);
@@ -59,7 +60,7 @@ private:
TQPtrList<TQRegExp> lstFilters;
/** No descriptions */
- KURL::List allFilesInternal(const KURL& startURL, const TQString& mask);
+ KURL::List allFilesInternal(const KURL& startURL, const TQString& tqmask);
// friend class I_like_this_class;