diff options
Diffstat (limited to 'kppp/logview/export.h')
-rw-r--r-- | kppp/logview/export.h | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/kppp/logview/export.h b/kppp/logview/export.h index f192e7d5..3c601e96 100644 --- a/kppp/logview/export.h +++ b/kppp/logview/export.h @@ -23,13 +23,13 @@ #ifndef KPPPEXPORT_H #define KPPPEXPORT_H -#include <qwidget.h> -#include <qfile.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qlistbox.h> -#include <qlineedit.h> -#include <qtooltip.h> +#include <tqwidget.h> +#include <tqfile.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqlistbox.h> +#include <tqlineedit.h> +#include <tqtooltip.h> #include <kwizard.h> #include <klocale.h> @@ -41,11 +41,11 @@ class Export; class ExportWizard : public KWizard { Q_OBJECT public: - ExportWizard(QWidget *parent, const QString &_date); + ExportWizard(TQWidget *parent, const TQString &_date); Export *createExportFilter(); int filterID; - QString filename; + TQString filename; public slots: void typeHighlighted(int); @@ -55,15 +55,15 @@ public slots: void reject(); private: - QWidget *formatPage; - QListBox *typeList; - QLabel *typeInfo; + TQWidget *formatPage; + TQListBox *typeList; + TQLabel *typeInfo; - QWidget *filenamePage; - QLineEdit *fnLine; - QPushButton *fnGet; + TQWidget *filenamePage; + TQLineEdit *fnLine; + TQPushButton *fnGet; - QString date; + TQString date; }; @@ -71,68 +71,68 @@ private: class Export { public: Export(); - Export(const QString &filename); + Export(const TQString &filename); virtual ~Export(); bool openFile(); bool closeFile(); - virtual void addHeadline(const QString &a, const QString &b, - const QString &c, const QString &d, - const QString &e, const QString &f, - const QString &g, const QString &h) = 0; - virtual void addDataline(const QString &a, const QString &b, - const QString &c, const QString &d, - const QString &e, const QString &f, - const QString &g, const QString &h) = 0; + virtual void addHeadline(const TQString &a, const TQString &b, + const TQString &c, const TQString &d, + const TQString &e, const TQString &f, + const TQString &g, const TQString &h) = 0; + virtual void addDataline(const TQString &a, const TQString &b, + const TQString &c, const TQString &d, + const TQString &e, const TQString &f, + const TQString &g, const TQString &h) = 0; virtual void addEmptyLine() = 0; virtual void setFinishCode() = 0; protected: - QFile file; - QString filename; - QString buffer; + TQFile file; + TQString filename; + TQString buffer; }; /***** CSVExport *****/ class CSVExport : public Export { public: - CSVExport(const QString &filename, const QString &separator); - virtual void addHeadline(const QString &a, const QString &b, - const QString &c, const QString &d, - const QString &e, const QString &f, - const QString &g, const QString &h); - virtual void addDataline(const QString &a, const QString &b, - const QString &c, const QString &d, - const QString &e, const QString &f, - const QString &g, const QString &h); + CSVExport(const TQString &filename, const TQString &separator); + virtual void addHeadline(const TQString &a, const TQString &b, + const TQString &c, const TQString &d, + const TQString &e, const TQString &f, + const TQString &g, const TQString &h); + virtual void addDataline(const TQString &a, const TQString &b, + const TQString &c, const TQString &d, + const TQString &e, const TQString &f, + const TQString &g, const TQString &h); virtual void addEmptyLine(); virtual void setFinishCode(); private: - QString separator; + TQString separator; }; /***** HTMLExport *****/ class HTMLExport : public Export { public: - HTMLExport(const QString &filename, const QString &date); - virtual void addHeadline(const QString &a, const QString &b, - const QString &c, const QString &d, - const QString &e, const QString &f, - const QString &g, const QString &h); - virtual void addDataline(const QString &a, const QString &b, - const QString &c, const QString &d, - const QString &e, const QString &f, - const QString &g, const QString &h); + HTMLExport(const TQString &filename, const TQString &date); + virtual void addHeadline(const TQString &a, const TQString &b, + const TQString &c, const TQString &d, + const TQString &e, const TQString &f, + const TQString &g, const TQString &h); + virtual void addDataline(const TQString &a, const TQString &b, + const TQString &c, const TQString &d, + const TQString &e, const TQString &f, + const TQString &g, const TQString &h); virtual void addEmptyLine(); virtual void setFinishCode(); private: - QString trStartCode; - QString trEndCode; - QString tdStartCode; - QString tdEndCode; + TQString trStartCode; + TQString trEndCode; + TQString tdStartCode; + TQString tdEndCode; }; #endif |