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 /kooka/kocrbase.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 'kooka/kocrbase.h')
-rw-r--r-- | kooka/kocrbase.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kooka/kocrbase.h b/kooka/kocrbase.h index 05987b1d..a2a04342 100644 --- a/kooka/kocrbase.h +++ b/kooka/kocrbase.h @@ -29,8 +29,8 @@ #include <kdialogbase.h> #include <kio/previewjob.h> -#include <qimage.h> -#include <qstring.h> +#include <tqimage.h> +#include <tqstring.h> #include <kscanslider.h> #include <kanimwidget.h> @@ -43,19 +43,19 @@ class KookaImage; -class QHBox; -class QVBox; -class QLabel; -class QSize; +class TQHBox; +class TQVBox; +class TQLabel; +class TQSize; class KSpellConfig; -class QCheckBox; -class QGroupBox; +class TQCheckBox; +class TQGroupBox; class KOCRBase: public KDialogBase { Q_OBJECT public: - KOCRBase( QWidget *, KSpellConfig *spellConfig, + KOCRBase( TQWidget *, KSpellConfig *spellConfig, KDialogBase::DialogType face = KDialogBase::Plain ); ~KOCRBase(); @@ -64,21 +64,21 @@ public: /** * @return the name of the ocr engine */ - virtual QString ocrEngineName() const { return QString(); } + virtual TQString ocrEngineName() const { return TQString(); } /** * @return the filename (without path) of the logo of the ocr engine. * the logo needs to be installed in $KDEDIR/share/apps/kooka/pics */ - virtual QString ocrEngineLogo() const { return QString(); } + virtual TQString ocrEngineLogo() const { return TQString(); } /** * @return a description string of the ocr engine */ - virtual QString ocrEngineDesc() const { return QString(); } + virtual TQString ocrEngineDesc() const { return TQString(); } - QVBox* ocrPage() const { return m_ocrPage; } - QVBox* imagePage() const { return m_imgPage; } + TQVBox* ocrPage() const { return m_ocrPage; } + TQVBox* imagePage() const { return m_imgPage; } KSpellConfig* spellConfig() const { return m_spellConfig; } @@ -123,7 +123,7 @@ protected: protected slots: - virtual KAnimWidget* getAnimation(QWidget*); + virtual KAnimWidget* getAnimation(TQWidget*); virtual void writeConfig(); virtual void slSpellConfigChanged(); @@ -134,25 +134,25 @@ protected slots: private slots: virtual void slPreviewResult( KIO::Job* ); - virtual void slGotPreview( const KFileItem*, const QPixmap& ); + virtual void slGotPreview( const KFileItem*, const TQPixmap& ); private: KAnimWidget *m_animation; - QVBox *m_ocrPage; - QVBox *m_imgPage; - QVBox *m_spellchkPage; - QVBox *m_metaBox; - QHBox *m_imgHBox; - QLabel *m_previewPix; + TQVBox *m_ocrPage; + TQVBox *m_imgPage; + TQVBox *m_spellchkPage; + TQVBox *m_metaBox; + TQHBox *m_imgHBox; + TQLabel *m_previewPix; KookaImage *m_currImg; KSpellConfig *m_spellConfig; bool m_wantSpellCfg; /* show the spellcheck options? */ bool m_userWantsSpellCheck; /* user has enabled/disabled spellcheck */ - QSize m_previewSize; + TQSize m_previewSize; - QCheckBox *m_cbWantCheck; - QGroupBox *m_gbSpellOpts; + TQCheckBox *m_cbWantCheck; + TQGroupBox *m_gbSpellOpts; }; #endif |