diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kghostview/marklist.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/marklist.h')
-rw-r--r-- | kghostview/marklist.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kghostview/marklist.h b/kghostview/marklist.h index 18589af3..4405f877 100644 --- a/kghostview/marklist.h +++ b/kghostview/marklist.h @@ -19,8 +19,8 @@ #ifndef MARKLIST_H #define MARKLIST_H -#include <qcheckbox.h> -#include <qtable.h> +#include <tqcheckbox.h> +#include <tqtable.h> class KGVMiniWidget; @@ -28,24 +28,24 @@ class MarkListItem : public QWidget { Q_OBJECT public: - MarkListItem( QWidget *parent, const QString &text, const QString &tip, const QColor &color, KGVMiniWidget*, int ); + MarkListItem( TQWidget *parent, const TQString &text, const TQString &tip, const TQColor &color, KGVMiniWidget*, int ); bool isChecked() const; public slots: void toggle(); void setChecked( bool checked ); - void setPixmap( QPixmap thumbnail ); + void setPixmap( TQPixmap thumbnail ); void setSelected( bool selected ); private: - void resizeEvent( QResizeEvent * ); - void paintEvent( QPaintEvent* ); + void resizeEvent( TQResizeEvent * ); + void paintEvent( TQPaintEvent* ); private: - QWidget *_thumbnailW; - QCheckBox *_checkBox; - QColor _backgroundColor; + TQWidget *_thumbnailW; + TQCheckBox *_checkBox; + TQColor _backgroundColor; KGVMiniWidget* _miniWidget; const int _pageNum; bool _requested; @@ -56,11 +56,11 @@ class MarkList: public QTable Q_OBJECT public: - MarkList( QWidget* parent = 0, const char* name = 0, KGVMiniWidget* = 0 ); + MarkList( TQWidget* parent = 0, const char* name = 0, KGVMiniWidget* = 0 ); - QValueList<int> markList() const; - void insertItem( const QString& text, int index = -1, - const QString& tip = QString::null ); + TQValueList<int> markList() const; + void insertItem( const TQString& text, int index = -1, + const TQString& tip = TQString::null ); public slots: void select( int index ); @@ -73,7 +73,7 @@ public slots: void clear(); protected: - virtual void viewportResizeEvent ( QResizeEvent * ); + virtual void viewportResizeEvent ( TQResizeEvent * ); signals: void selected( int ); |