diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/posterpreview.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/posterpreview.h')
-rw-r--r-- | kdeprint/posterpreview.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdeprint/posterpreview.h b/kdeprint/posterpreview.h index 6e84d048d..25fda31eb 100644 --- a/kdeprint/posterpreview.h +++ b/kdeprint/posterpreview.h @@ -20,8 +20,8 @@ #ifndef POSTERPREVIEW_H #define POSTERPREVIEW_H -#include <qframe.h> -#include <qvaluelist.h> +#include <tqframe.h> +#include <tqvaluelist.h> class KProcess; @@ -29,29 +29,29 @@ class PosterPreview : public QFrame { Q_OBJECT public: - PosterPreview( QWidget *parent = 0, const char *name = 0 ); - PosterPreview( const QString& postersize, const QString& mediasize, QWidget *parent = 0, const char *name = 0 ); + PosterPreview( TQWidget *parent = 0, const char *name = 0 ); + PosterPreview( const TQString& postersize, const TQString& mediasize, TQWidget *parent = 0, const char *name = 0 ); ~PosterPreview(); public slots: void setPosterSize( int ); - void setPosterSize( const QString& ); + void setPosterSize( const TQString& ); void setMediaSize( int ); - void setMediaSize( const QString& ); + void setMediaSize( const TQString& ); void setCutMargin( int ); void updatePoster(); - void setSelectedPages( const QString& ); + void setSelectedPages( const TQString& ); signals: - void selectionChanged( const QString& ); + void selectionChanged( const TQString& ); protected: void parseBuffer(); - void drawContents( QPainter* ); + void drawContents( TQPainter* ); void init(); void setDirty(); - void mouseMoveEvent( QMouseEvent* ); - void mousePressEvent( QMouseEvent* ); + void mouseMoveEvent( TQMouseEvent* ); + void mousePressEvent( TQMouseEvent* ); void emitSelectedPages(); protected slots: @@ -62,14 +62,14 @@ private: int m_rows, m_cols; int m_pw, m_ph; // page size int m_mw, m_mh; // cur margins - QRect m_posterbb; // poster bounding box (without any margin) + TQRect m_posterbb; // poster bounding box (without any margin) KProcess *m_process; - QString m_buffer; - QString m_postersize, m_mediasize; + TQString m_buffer; + TQString m_postersize, m_mediasize; int m_cutmargin; bool m_dirty; - QRect m_boundingrect; - QValueList<int> m_selectedpages; + TQRect m_boundingrect; + TQValueList<int> m_selectedpages; }; #endif /* POSTERPREVIEW_H */ |