summaryrefslogtreecommitdiffstats
path: root/src/partcontroller.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /src/partcontroller.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/partcontroller.h')
-rw-r--r--src/partcontroller.h44
1 files changed, 22 insertions, 22 deletions
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 <qwidget.h>
-#include <qdatetime.h>
-#include <qptrlist.h>
+#include <tqwidget.h>
+#include <tqdatetime.h>
+#include <tqptrlist.h>
#include <kurl.h>
-#include <qmap.h>
-#include <qguardedptr.h>
-#include <qpair.h>
+#include <tqmap.h>
+#include <tqguardedptr.h>
+#include <tqpair.h>
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<KParts::ReadWritePart*> _dirtyDocuments;
+ TQValueList<KParts::ReadWritePart*> _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<KParts::Factory> _editorFactory;
+ TQGuardedPtr<KParts::Factory> _editorFactory;
struct HistoryEntry
{
@@ -209,8 +209,8 @@ private:
HistoryEntry createHistoryEntry( KParts::ReadOnlyPart * part = 0 );
void jumpTo( const HistoryEntry & );
- QValueList<HistoryEntry> m_backHistory;
- QValueList<HistoryEntry> m_forwardHistory;
+ TQValueList<HistoryEntry> m_backHistory;
+ TQValueList<HistoryEntry> m_forwardHistory;
bool m_isJumping;
struct LastEditPos