diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/webarchiver/archivedialog.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/webarchiver/archivedialog.h')
-rw-r--r-- | konq-plugins/webarchiver/archivedialog.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/konq-plugins/webarchiver/archivedialog.h b/konq-plugins/webarchiver/archivedialog.h index 1dc5ff8..fd007b6 100644 --- a/konq-plugins/webarchiver/archivedialog.h +++ b/konq-plugins/webarchiver/archivedialog.h @@ -27,9 +27,9 @@ #include <ktempfile.h> #include <kio/job.h> -#include <qstring.h> -#include <qmap.h> -#include <qvaluelist.h> +#include <tqstring.h> +#include <tqmap.h> +#include <tqvaluelist.h> class QWidget; class KHTMLPart; @@ -43,7 +43,7 @@ class ArchiveDialog : public KDialogBase { Q_OBJECT public: - ArchiveDialog(QWidget *parent, const QString &targetFilename, KHTMLPart *part); + ArchiveDialog(TQWidget *parent, const TQString &targetFilename, KHTMLPart *part); ~ArchiveDialog(); void archive(); @@ -52,27 +52,27 @@ public slots: void finishedDownloadingURL( KIO::Job *job ); void setSavingState(); protected: - void saveFile( const QString& fileName); - void saveToArchive(QTextStream* _textStream); + void saveFile( const TQString& fileName); + void saveToArchive(TQTextStream* _textStream); void saveArchiveRecursive(const DOM::Node &node, const KURL& baseURL, - QTextStream* _textStream, int ident); - QString handleLink(const KURL& _url, const QString & _link); - KURL getAbsoluteURL(const KURL& _url, const QString& _link); - QString getUniqueFileName(const QString& fileName); - QString stringToHTML(const QString& string); - QString analyzeInternalCSS(const KURL& _url, const QString& string); + TQTextStream* _textStream, int ident); + TQString handleLink(const KURL& _url, const TQString & _link); + KURL getAbsoluteURL(const KURL& _url, const TQString& _link); + TQString getUniqueFileName(const TQString& fileName); + TQString stringToHTML(const TQString& string); + TQString analyzeInternalCSS(const KURL& _url, const TQString& string); void downloadNext(); ArchiveViewBase *m_widget; - QMap<QString, QString> m_downloadedURLDict; - QMap<QString, QString> m_linkDict; + TQMap<TQString, TQString> m_downloadedURLDict; + TQMap<TQString, TQString> m_linkDict; KTar* m_tarBall; bool m_bPreserveWS; - QListViewItem *m_currentLVI; + TQListViewItem *m_currentLVI; unsigned int m_iterator; enum State { Retrieving=0, Downloading, Saving }; State m_state; - QValueList <KURL>m_urlsToDownload; + TQValueList <KURL>m_urlsToDownload; KTempFile *m_tmpFile; KURL m_url; DOM::Document m_document; |