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 /kuickshow/src/filewidget.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 'kuickshow/src/filewidget.h')
-rw-r--r-- | kuickshow/src/filewidget.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kuickshow/src/filewidget.h b/kuickshow/src/filewidget.h index a785fd85..2022bdbc 100644 --- a/kuickshow/src/filewidget.h +++ b/kuickshow/src/filewidget.h @@ -19,7 +19,7 @@ #ifndef FILEWIDGET_H #define FILEWIDGET_H -#include <qevent.h> +#include <tqevent.h> #include <kdiroperator.h> @@ -33,20 +33,20 @@ class FileWidget : public KDirOperator public: enum WhichItem { Previous, Next, Current }; - FileWidget( const KURL& url, QWidget *parent = 0L, const char *name = 0L ); + FileWidget( const KURL& url, TQWidget *parent = 0L, const char *name = 0L ); ~FileWidget(); bool hasFiles() const; void reloadConfiguration(); - void setInitialItem( const QString& filename ); + void setInitialItem( const TQString& filename ); KFileItem *getCurrentItem( bool onlyImage ) const { return getItem( Current, onlyImage ); } void setCurrentItem( const KFileItem * ); - void setCurrentItem( const QString& filename ) { + void setCurrentItem( const TQString& filename ) { KDirOperator::setCurrentItem( filename ); } @@ -67,14 +67,14 @@ signals: void finished(); protected: - virtual bool eventFilter( QObject *o, QEvent * ); - virtual void resizeEvent( QResizeEvent * ); - virtual void activatedMenu( const KFileItem *, const QPoint& ); - virtual QSize sizeHint() const; + virtual bool eventFilter( TQObject *o, TQEvent * ); + virtual void resizeEvent( TQResizeEvent * ); + virtual void activatedMenu( const KFileItem *, const TQPoint& ); + virtual TQSize sizeHint() const; private slots: - void slotReturnPressed( const QString& text ); - void findCompletion( const QString& ); + void slotReturnPressed( const TQString& text ); + void findCompletion( const TQString& ); void slotViewChanged(); void slotItemsCleared(); @@ -89,8 +89,8 @@ private: bool m_validCompletion; FileFinder *m_fileFinder; - QString m_currentURL; - QString m_initialName; + TQString m_currentURL; + TQString m_initialName; }; |