From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpdf/part.h | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'kpdf/part.h') diff --git a/kpdf/part.h b/kpdf/part.h index be572c5f..70a3119e 100644 --- a/kpdf/part.h +++ b/kpdf/part.h @@ -18,14 +18,14 @@ #include #include -#include +#include #include "core/document.h" #include "core/observer.h" #include "dcop.h" -class QWidget; -class QSplitter; -class QToolBox; +class TQWidget; +class TQSplitter; +class TQToolBox; class KURL; class KAction; @@ -62,8 +62,8 @@ Q_OBJECT public: // Default constructor - Part(QWidget* parentWidget, const char* widgetName, - QObject* parent, const char* name, const QStringList& args); + Part(TQWidget* parentWidget, const char* widgetName, + TQObject* parent, const char* name, const TQStringList& args); // Destructor ~Part(); @@ -89,7 +89,7 @@ protected: bool openURL(const KURL &url); bool closeURL(); // filter that watches for splitter size changes - bool eventFilter( QObject * watched, QEvent * e ); + bool eventFilter( TQObject * watched, TQEvent * e ); protected slots: void openURLFromDocument(const KURL &url); @@ -107,7 +107,7 @@ protected slots: void slotPreferences(); void slotNewConfig(); void slotPrintPreview(); - void slotShowMenu(const KPDFPage *page, const QPoint &point); + void slotShowMenu(const KPDFPage *page, const TQPoint &point); void slotShowProperties(); void slotShowLeftPanel(); void slotShowPresentation(); @@ -121,7 +121,7 @@ protected slots: void cannotQuit(); void saveSplitterSize(); void setMimeTypes(KIO::Job *job); - void readMimeType(KIO::Job *job, const QString &mime); + void readMimeType(KIO::Job *job, const TQString &mime); void emitWindowCaption(); public slots: @@ -129,7 +129,7 @@ public slots: void slotPrint(); void restoreDocument(KConfig* config); void saveDocumentRestoreInfo(KConfig* config); - void slotFileDirty( const QString& ); + void slotFileDirty( const TQString& ); void slotDoFileDirty(); private: @@ -137,38 +137,38 @@ private: // the document KPDFDocument * m_document; - QString m_temporaryLocalFile; + TQString m_temporaryLocalFile; // main widgets - QSplitter *m_splitter; - QWidget *m_leftPanel; - QToolBox *m_toolBox; + TQSplitter *m_splitter; + TQWidget *m_leftPanel; + TQToolBox *m_toolBox; SearchWidget *m_searchWidget; - QGuardedPtr m_thumbnailList; - QGuardedPtr m_pageView; - QGuardedPtr m_tocFrame; - QGuardedPtr m_miniBar; - QGuardedPtr m_presentationWidget; + TQGuardedPtr m_thumbnailList; + TQGuardedPtr m_pageView; + TQGuardedPtr m_tocFrame; + TQGuardedPtr m_miniBar; + TQGuardedPtr m_presentationWidget; // static instances counter static unsigned int m_count; // this is a hack because we can not use writeConfig on part destructor // and we don't want to writeconfig every time someone moves the splitter - // so we use a QTimer each 500 ms - QTimer *m_saveSplitterSizeTimer; + // so we use a TQTimer each 500 ms + TQTimer *m_saveSplitterSizeTimer; KDirWatch *m_watcher; - QTimer *m_dirtyHandler; + TQTimer *m_dirtyHandler; DocumentViewport m_viewportDirty; bool m_wasPresentationOpen; int m_dirtyToolboxIndex; // Remember the search history - QStringList m_searchHistory; + TQStringList m_searchHistory; // mimetype got from the job - QString m_jobMime; + TQString m_jobMime; // actions KAction *m_gotoPage; -- cgit v1.2.1