summaryrefslogtreecommitdiffstats
path: root/knotes/knoteprinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knoteprinter.h')
-rw-r--r--knotes/knoteprinter.h48
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