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 /knotes/knoteprinter.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 'knotes/knoteprinter.h')
-rw-r--r-- | knotes/knoteprinter.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/knotes/knoteprinter.h b/knotes/knoteprinter.h index 8ce3dc763..d9b006961 100644 --- a/knotes/knoteprinter.h +++ b/knotes/knoteprinter.h @@ -1,9 +1,9 @@ #ifndef KNOTEPRINTER_H #define KNOTEPRINTER_H -#include <qfont.h> -#include <qpalette.h> -#include <qstring.h> +#include <tqfont.h> +#include <tqpalette.h> +#include <tqstring.h> class QMimeSourceFactory; class QStyleSheet; @@ -19,35 +19,35 @@ public: KNotePrinter(); - void printNote( const QString& name, - const QString& content ) const; + void printNote( const TQString& name, + const TQString& content ) const; - void printNotes( const QValueList<KCal::Journal*>& journals ) const; + void printNotes( const TQValueList<KCal::Journal*>& journals ) const; - void setFont( const QFont& font ); - QFont font() const; + void setFont( const TQFont& font ); + TQFont font() const; - void setColorGroup( const QColorGroup& colorGroup ); - QColorGroup colorGroup() const; + void setColorGroup( const TQColorGroup& colorGroup ); + TQColorGroup colorGroup() const; - void setStyleSheet( QStyleSheet* styleSheet ); - QStyleSheet* styleSheet() const; + void setStyleSheet( TQStyleSheet* styleSheet ); + TQStyleSheet* styleSheet() const; - void setContext( const QString& context ); - QString context() const; + void setContext( const TQString& context ); + TQString context() const; - void setMimeSourceFactory( QMimeSourceFactory* factory ); - QMimeSourceFactory* mimeSourceFactory() const; + void setMimeSourceFactory( TQMimeSourceFactory* factory ); + TQMimeSourceFactory* mimeSourceFactory() const; private: - void doPrint( KPrinter& printer, QPainter& painter, - const QString& content ) const; - - QColorGroup m_colorGroup; - QFont m_font; - QStyleSheet* m_styleSheet; - QMimeSourceFactory* m_mimeSourceFactory; - QString m_context; + void doPrint( KPrinter& printer, TQPainter& painter, + const TQString& content ) const; + + TQColorGroup m_colorGroup; + TQFont m_font; + TQStyleSheet* m_styleSheet; + TQMimeSourceFactory* m_mimeSourceFactory; + TQString m_context; }; #endif // KNOTEPRINTER |