From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/partcontroller.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/partcontroller.h') diff --git a/src/partcontroller.h b/src/partcontroller.h index 9aa4e226..869ee5bf 100644 --- a/src/partcontroller.h +++ b/src/partcontroller.h @@ -3,13 +3,13 @@ #include "kdevpartcontroller.h" -#include -#include -#include +#include +#include +#include #include -#include -#include -#include +#include +#include +#include namespace KParts { @@ -46,13 +46,13 @@ class PartController : public KDevPartController public: - PartController(QWidget *toplevel); - static void createInstance(QWidget *parent); + PartController(TQWidget *toplevel); + static void createInstance(TQWidget *parent); static PartController *getInstance(); ///// KDevPartController interface - void setEncoding(const QString &encoding); + void setEncoding(const TQString &encoding); void editDocument(const KURL &inputUrl, int lineNum=-1, int col=-1); void splitCurrentDocument(const KURL &inputUrl, int lineNum=-1, int col=-1); void scrollToLineColumn(const KURL &url, int lineNum=-1, int col=-1, bool storeHistory = false ); @@ -61,11 +61,11 @@ public: void integrateTextEditorPart(KTextEditor::Document* doc); void showDocument(const KURL &url, bool newWin = false); - void showPart( KParts::Part* part, const QString& name, const QString& shortDescription ); + void showPart( KParts::Part* part, const TQString& name, const TQString& shortDescription ); KParts::ReadOnlyPart *partForURL(const KURL &url); KParts::ReadOnlyPart *qtDesignerPart(); - KParts::Part * partForWidget( const QWidget * widget ); + KParts::Part * partForWidget( const TQWidget * widget ); void activatePart( KParts::Part * part ); bool closePart( KParts::Part * part ); @@ -95,9 +95,9 @@ public: void reloadFile( const KURL & url ); KTextEditor::Editor *openTextDocument( bool activate = true ); - KParts::Factory *findPartFactory(const QString &mimeType, - const QString &partType, - const QString &preferredName = QString::null ); + KParts::Factory *findPartFactory(const TQString &mimeType, + const TQString &partType, + const TQString &preferredName = TQString::null ); public slots: @@ -141,7 +141,7 @@ private slots: void slotDocumentDirty( Kate::Document * doc, bool isModified, unsigned char reason ); void slotDocumentDirtyStepTwo( void * ); void slotNewStatus(); - void slotNewDesignerStatus(const QString &formName, int status); + void slotNewDesignerStatus(const TQString &formName, int status); void textChanged(); void gotoLastEditPos(); @@ -160,7 +160,7 @@ private: bool addToCurrentBuffer = false, const KURL &url = KURL() ); - void integratePart(KParts::Part *part, const KURL &url, QWidget* widget = 0, + void integratePart(KParts::Part *part, const KURL &url, TQWidget* widget = 0, bool isTextEditor=false, bool activate=true, bool addToCurrentBuffer = false ); @@ -180,7 +180,7 @@ private: KAction *m_closeWindowAction, *m_saveAllFilesAction, *m_revertAllFilesAction; KAction *m_closeAllWindowsAction, *m_closeOtherWindowsAction; KRecentFilesAction *m_openRecentAction; - QString m_presetEncoding; + TQString m_presetEncoding; KToolBarPopupAction* m_backAction; KToolBarPopupAction* m_forwardAction; @@ -188,11 +188,11 @@ private: bool m_openNextAsText; - QValueList _dirtyDocuments; + TQValueList _dirtyDocuments; - QMap< KParts::ReadOnlyPart*, KURL > _partURLMap; // used to note when a URL changes (a file changes name) + TQMap< KParts::ReadOnlyPart*, KURL > _partURLMap; // used to note when a URL changes (a file changes name) - QGuardedPtr _editorFactory; + TQGuardedPtr _editorFactory; struct HistoryEntry { @@ -209,8 +209,8 @@ private: HistoryEntry createHistoryEntry( KParts::ReadOnlyPart * part = 0 ); void jumpTo( const HistoryEntry & ); - QValueList m_backHistory; - QValueList m_forwardHistory; + TQValueList m_backHistory; + TQValueList m_forwardHistory; bool m_isJumping; struct LastEditPos -- cgit v1.2.1