summaryrefslogtreecommitdiffstats
path: root/src/editorpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/editorpage.h')
-rw-r--r--src/editorpage.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/editorpage.h b/src/editorpage.h
index 0af3aaf..37a6e65 100644
--- a/src/editorpage.h
+++ b/src/editorpage.h
@@ -28,11 +28,11 @@
#ifndef EDITORPAGE_H
#define EDITORPAGE_H
-#include <qwidget.h>
-#include <qhbox.h>
-#include <qsplitter.h>
-#include <qtabwidget.h>
-#include <qpopupmenu.h>
+#include <ntqwidget.h>
+#include <ntqhbox.h>
+#include <ntqsplitter.h>
+#include <ntqtabwidget.h>
+#include <ntqpopupmenu.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <ktexteditor/markinterfaceextension.h>
@@ -53,16 +53,16 @@
* @author Elad Lahav
*/
-class EditorPage : public QHBox, SymbolCompletion::Interface
+class EditorPage : public TQHBox, SymbolCompletion::Interface
{
Q_OBJECT
public:
- EditorPage(KTextEditor::Document*, QPopupMenu*, QTabWidget* pParent = 0,
+ EditorPage(KTextEditor::Document*, TQPopupMenu*, TQTabWidget* pParent = 0,
const char* szName = 0);
~EditorPage();
- void open(const QString&);
+ void open(const TQString&);
void setNewFile();
void save();
bool close(bool bForce = false);
@@ -74,26 +74,26 @@ public:
KTextEditor::Document* getDocument();
KTextEditor::View* getView();
- QString getFilePath();
- QString getFileName();
+ TQString getFilePath();
+ TQString getFileName();
bool isWritable();
bool isModified();
- QString getSelection();
- QString getSuggestedText();
- QString getLineContents(uint);
+ TQString getSelection();
+ TQString getSuggestedText();
+ TQString getLineContents(uint);
void setLayout(bool bShowTagList, const SPLIT_SIZES&);
bool getCursorPos(uint&, uint&);
bool setCursorPos(uint, uint nCol = 1);
void setTabWidth(uint);
- virtual QString getWordUnderCursor(uint* pPosInWord = NULL);
+ virtual TQString getWordUnderCursor(uint* pPosInWord = NULL);
/**
* Implements the SymbolCompletion interface method for returning an
* object that supports KTextEditor::CodeCompletionInterface.
* @return A pointer to the View object of the editor
*/
- virtual QObject* getCCObject() { return m_pView; }
+ virtual TQObject* getCCObject() { return m_pView; }
/**
* @return true if a previously unsaved file is currently being edited,
@@ -115,7 +115,7 @@ signals:
* @param pPage The emitting object
* @param sPath The full path of the loaded file
*/
- void fileOpened(EditorPage* pPage, const QString& sPath);
+ void fileOpened(EditorPage* pPage, const TQString& sPath);
/**
* Emitted when an editor is opened for editing a new file.
@@ -146,24 +146,24 @@ signals:
* @param sPath The full path of the saved file
* @param bIsNew true if this is a new file, false otherwise
*/
- void fileSaved(const QString& sPath, bool bIsNew);
+ void fileSaved(const TQString& sPath, bool bIsNew);
/**
* Emitted when a file is closed.
* @param sPath The full path of the closed file
*/
- void fileClosed(const QString& sPath);
+ void fileClosed(const TQString& sPath);
private:
/** The tab widget holding this page. */
- QTabWidget* m_pParentTab;
+ TQTabWidget* m_pParentTab;
/** A Ctags process to use on the edited source file. */
CtagsFrontend m_ctags;
/** An adjustable splitter for separating the tag list from the editor
part. */
- QSplitter* m_pSplit;
+ TQSplitter* m_pSplit;
/** A list view for displaying Ctags results. */
CtagsList* m_pCtagsList;
@@ -182,7 +182,7 @@ private:
bool m_bNewFile;
/** The name of the file being edited. */
- QString m_sName;
+ TQString m_sName;
/** true if the file system allows this file to be modified, false
otherwise. */