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 /kfax/kfax.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 'kfax/kfax.h')
-rw-r--r-- | kfax/kfax.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kfax/kfax.h b/kfax/kfax.h index 506a1452..99ad9940 100644 --- a/kfax/kfax.h +++ b/kfax/kfax.h @@ -30,19 +30,19 @@ #include <kapplication.h> #include <kmainwindow.h> -#include <qptrlist.h> +#include <tqptrlist.h> #include <kurl.h> #define Pimage(p) ((XImage *)(p)->extra) -class QPopupMenu; +class TQPopupMenu; class KConfig; class KStatusBar; class KAction; class KRecentFilesAction; class KPrinter; -class QPainter; -class QScrollBar; +class TQPainter; +class TQScrollBar; typedef KToolBar::BarPosition BarPosition; @@ -58,24 +58,24 @@ class TopLevel : public KMainWindow public: - TopLevel( QWidget *parent=0, const char *name=0 ); + TopLevel( TQWidget *parent=0, const char *name=0 ); ~TopLevel(); void openNetFile( const KURL& _url); void saveNetFile( const KURL& _url ); - static QPtrList<TopLevel> windowList; - QPopupMenu *right_mouse_button, *colors; + static TQPtrList<TopLevel> windowList; + TQPopupMenu *right_mouse_button, *colors; void handle_X_event(XEvent Event); void putImage(); protected: - void resizeEvent( QResizeEvent * ); - void wheelEvent( QWheelEvent * ); - void dragEnterEvent( QDragEnterEvent * event ); - void dropEvent( QDropEvent * event ); + void resizeEvent( TQResizeEvent * ); + void wheelEvent( TQWheelEvent * ); + void dragEnterEvent( TQDragEnterEvent * event ); + void dropEvent( TQDropEvent * event ); void updateActions(); void updateGoActions(); @@ -95,11 +95,11 @@ protected: private: - QFrame *faxqtwin; + TQFrame *faxqtwin; int indentID; - QColor forecolor; - QColor backcolor; + TQColor forecolor; + TQColor backcolor; KURL fileURL; KStatusBar *statusbar; @@ -113,11 +113,11 @@ private: KConfig *config; - QScrollBar *hsb; - QScrollBar *vsb; - QFrame* mainpane; + TQScrollBar *hsb; + TQScrollBar *vsb; + TQFrame* mainpane; - void printIt( KPrinter &printer, QPainter &painter ); + void printIt( KPrinter &printer, TQPainter &painter ); bool loadAllPages( int &numpages, int ¤tpage ); public slots: @@ -146,14 +146,14 @@ public slots: void lastPage(); void uiUpdate(); - void openadd(QString filename); + void openadd(TQString filename); void FreeFax(); void scrollHorz(int); void scrollVert(int); }; -void kfaxerror(const QString&, const QString&); -void loadfile(QString filename); +void kfaxerror(const TQString&, const TQString&); +void loadfile(TQString filename); #endif // _KFAX_H_ |