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 /kview/kview.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 'kview/kview.h')
-rw-r--r-- | kview/kview.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kview/kview.h b/kview/kview.h index 0f523efc..6726fb8b 100644 --- a/kview/kview.h +++ b/kview/kview.h @@ -31,13 +31,13 @@ namespace KImageViewer { class Canvas; class Viewer; } -class QSize; -class QRect; +class TQSize; +class TQRect; class KAction; class KToggleAction; class KRecentFilesAction; class KWinModule; -class QStringList; +class TQStringList; class KProgress; class KView : public KParts::MainWindow @@ -48,7 +48,7 @@ class KView : public KParts::MainWindow virtual ~KView(); void load( const KURL & url ); void loadFromStdin(); - QSize sizeForCentralWidgetSize( QSize ); + TQSize sizeForCentralWidgetSize( TQSize ); KImageViewer::Viewer * viewer() const { return m_pViewer; } protected: @@ -57,13 +57,13 @@ class KView : public KParts::MainWindow void readProperties( KConfig * ); void saveSettings( KConfig * ); - virtual bool eventFilter( QObject *, QEvent * ); + virtual bool eventFilter( TQObject *, TQEvent * ); protected slots: void readSettings(); //KConfig * ); - void imageSizeChanged( const QSize & ); - void selectionChanged( const QRect & ); - void contextPress( const QPoint & ); + void imageSizeChanged( const TQSize & ); + void selectionChanged( const TQRect & ); + void contextPress( const TQPoint & ); void slotOpenFile(); void slotOpenRecent( const KURL & ); void slotClose(); @@ -81,11 +81,11 @@ class KView : public KParts::MainWindow void jobStarted( KIO::Job * ); void jobCompleted(); void jobCompleted( bool ); - void jobCanceled( const QString & ); + void jobCanceled( const TQString & ); void loadingProgress( KIO::Job *, unsigned long ); void speedProgress( KIO::Job *, unsigned long ); - void slotSetStatusBarText( const QString & ); - void cursorPos( const QPoint & ); // write the cursor pos to the statusbar + void slotSetStatusBarText( const TQString & ); + void cursorPos( const TQPoint & ); // write the cursor pos to the statusbar void loadPlugins(); void statusbarToggled( bool ); @@ -93,11 +93,11 @@ class KView : public KParts::MainWindow enum BarSizeFrom { FromImageSize, FromWidgetSize }; enum ResizeMode { ResizeWindow = 0, ResizeImage = 1, NoResize = 2, BestFit = 3 }; enum StatusBarItem { STATUSBAR_SPEED_ID, STATUSBAR_CURSOR_ID, STATUSBAR_SIZE_ID, STATUSBAR_SELECTION_ID }; - void setupActions( QObject * ); + void setupActions( TQObject * ); void handleResize(); void fitWindowToImage(); - QSize barSize( int, BarSizeFrom ); - QSize maxCanvasSize(); + TQSize barSize( int, BarSizeFrom ); + TQSize maxCanvasSize(); KImageViewer::Viewer * m_pViewer; KImageViewer::Canvas * m_pCanvas; |