diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/printing/printstyle.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |