summaryrefslogtreecommitdiffstats
path: root/quanta/src/viewmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/viewmanager.h')
-rw-r--r--quanta/src/viewmanager.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/src/viewmanager.h b/quanta/src/viewmanager.h
index e7a4fb31..05278901 100644
--- a/quanta/src/viewmanager.h
+++ b/quanta/src/viewmanager.h
@@ -34,7 +34,7 @@ class ViewManager : public QObject
Q_OBJECT
public:
/** Returns a reference to the viewmanager object */
- static ViewManager* const ref(QObject *parent = 0L, const char *name = 0L)
+ static ViewManager* const ref(TQObject *parent = 0L, const char *name = 0L)
{
static ViewManager *m_ref;
if (!m_ref) m_ref = new ViewManager(parent, name);
@@ -44,7 +44,7 @@ public:
virtual ~ViewManager(){};
/** Creates a QuantaView object */
- QuantaView *createView(const QString &caption = QString::null);
+ QuantaView *createView(const TQString &caption = TQString::null);
/** Removes a QuantaView object. Returns false on failure (eg. the view was not saved and it refused
the delete itself.) If force is true, the view is removed without asking for save.
*/
@@ -65,7 +65,7 @@ public:
/** Returns a list with the URLs of the opened documents */
KURL::List openedFiles(bool noUntitled=true);
/** Returns a list with the Document* object of the opened documents */
- QValueList<Document*> openedDocuments();
+ TQValueList<Document*> openedDocuments();
/** Returns the view holding the documentation widget. If create is true and there is no such view yet,
it creates one. */
@@ -75,7 +75,7 @@ public:
QuantaView *lastActiveEditorView() {return m_lastActiveEditorView;}
/** Return the URL of the currently active document */
- QString currentURL();
+ TQString currentURL();
public slots:
/**called when a new view was activated */
@@ -91,7 +91,7 @@ public slots:
void slotLastViewClosed();
/** called when the context menu was invoked on a tab */
- void slotTabContextMenu(QWidget *widget, const QPoint & point);
+ void slotTabContextMenu(TQWidget *widget, const TQPoint & point);
/** called when the user requests to close a tab with the close button */
void slotCloseRequest(KMdiChildView *widget);
/** called from the views and just emits the signal @ref documentClosed */
@@ -99,12 +99,12 @@ public slots:
signals:
/** emitted when a file from the template view is dropped on a view */
- void dragInsert(QDropEvent *);
+ void dragInsert(TQDropEvent *);
/** emitted when a view was activated */
void viewActivated(const KURL &);
/** emitted when a view was closed */
void documentClosed(const KURL&);
- void eventHappened(const QString&, const QString&, const QString& );
+ void eventHappened(const TQString&, const TQString&, const TQString& );
/** emitted when all files were closed. The argument is true if the closes
was successful, false if the unser canceled the closing */
void filesClosed(bool);
@@ -123,7 +123,7 @@ private slots:
private:
/** Private constructor for the singleton object. */
- ViewManager(QObject * parent = 0, const char * name = 0);
+ ViewManager(TQObject * parent = 0, const char * name = 0);
/** Returns true if there isn't any opened view holding an editor */
bool allEditorsClosed();