diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
commit | a2277b6bc715464e83882b90c2a058139b8a6b54 (patch) | |
tree | ab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /ark/arkwidget.h | |
parent | d3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff) | |
download | tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip |
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ark/arkwidget.h')
-rw-r--r-- | ark/arkwidget.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ark/arkwidget.h b/ark/arkwidget.h index 529d50e..1ea203f 100644 --- a/ark/arkwidget.h +++ b/ark/arkwidget.h @@ -56,11 +56,12 @@ class FileListView; class SearchBar; -class ArkWidget : public QVBox +class ArkWidget : public TQVBox { Q_OBJECT + TQ_OBJECT public: - ArkWidget( TQWidget *parent=0, const char *name=0 ); + ArkWidget( TQWidget *tqparent=0, const char *name=0 ); virtual ~ArkWidget(); bool isArchiveOpen() const { return m_bIsArchiveOpen; } @@ -75,7 +76,7 @@ public: const KURL& realURL() const { return m_realURL; } void setRealURL( const KURL& url ) { m_realURL = url; } - TQString tmpDir() const { return m_tmpDir ? m_tmpDir->name() : TQString::null; } + TQString tmpDir() const { return m_tmpDir ? m_tmpDir->name() : TQString(); } FileListView * fileList() const { return m_fileListView; } SearchBar * searchBar() const { return m_searchBar; } @@ -181,9 +182,9 @@ private: // methods void createRealArchive( const TQString &strFilename, const TQStringList & filesToAdd = TQStringList() ); KURL getCreateFilename( const TQString & _caption, - const TQString & _defaultMimeType = TQString::null, + const TQString & _defaultMimeType = TQString(), bool allowCompressed = true, - const TQString & _suggestedName = TQString::null ); + const TQString & _suggestedName = TQString() ); bool reportExtractFailures(const TQString & _dest, TQStringList *_list); TQStringList existingFiles( const TQString & _dest, TQStringList & _list ); |