diff options
Diffstat (limited to 'kaddressbook/printing/printstyle.h')
-rw-r--r-- | kaddressbook/printing/printstyle.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kaddressbook/printing/printstyle.h b/kaddressbook/printing/printstyle.h index 217b80b99..19dbf3bc5 100644 --- a/kaddressbook/printing/printstyle.h +++ b/kaddressbook/printing/printstyle.h @@ -24,9 +24,9 @@ #ifndef PRINTSTYLE_H #define PRINTSTYLE_H -#include <qwidget.h> -#include <qstringlist.h> -#include <qpixmap.h> +#include <tqwidget.h> +#include <tqstringlist.h> +#include <tqpixmap.h> #include <kabc/field.h> @@ -51,7 +51,7 @@ class PrintProgress; a basic impression on how it will look. Add this image to the printing folder (right here :-), and edit Makefile.am to have it installed along with kaddressbook. Load it using - setPreview(QString). + setPreview(TQString). Your print style is supposed to add its options as pages to the printing wizard. The method wizard() gives you a pointer to the wizard object. @@ -72,10 +72,10 @@ class PrintStyle : public QObject /** Reimplement this method to provide a preview of what will - be printed. It returns an invalid QPixmap by default, + be printed. It returns an invalid TQPixmap by default, resulting in a message that no preview is available. */ - const QPixmap& preview(); + const TQPixmap& preview(); /** Hide all style specific pages in the wizard. @@ -107,12 +107,12 @@ class PrintStyle : public QObject "printing". Give only the file name without any prefix as the parameter. */ - bool setPreview( const QString& fileName ); + bool setPreview( const TQString& fileName ); /** Set the preview image. */ - void setPreview( const QPixmap& image ); + void setPreview( const TQPixmap& image ); /** Set preferred sort options for this printing style. @@ -128,13 +128,13 @@ class PrintStyle : public QObject Add additional page to the wizard e.g. a configuration page for the style. */ - void addPage( QWidget *page, const QString &title ); + void addPage( TQWidget *page, const TQString &title ); private: PrintingWizard *mWizard; - QPixmap mPreview; - QPtrList<QWidget> mPageList; - QStringList mPageTitles; + TQPixmap mPreview; + TQPtrList<TQWidget> mPageList; + TQStringList mPageTitles; KABC::Field *mSortField; bool mSortType; @@ -159,7 +159,7 @@ class PrintStyleFactory Overload this method to provide a one-liner description for your print style. */ - virtual QString description() const = 0; + virtual TQString description() const = 0; protected: PrintingWizard* mParent; |