summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoMainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoMainWindow.h')
-rw-r--r--lib/kofficecore/KoMainWindow.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/kofficecore/KoMainWindow.h b/lib/kofficecore/KoMainWindow.h
index 2b738db9..f1dd6419 100644
--- a/lib/kofficecore/KoMainWindow.h
+++ b/lib/kofficecore/KoMainWindow.h
@@ -26,7 +26,7 @@
#include <koffice_export.h>
#include "KoDocument.h"
-class QLabel;
+class TQLabel;
class KoView;
class KoMainWindowPrivate;
class KURL;
@@ -43,7 +43,7 @@ namespace KParts
* @brief Main window for a KOffice application
*
* This class is used to represent a main window
- * of a KOffice component. Each main window contains
+ * of a KOffice component. Each main window tqcontains
* a menubar and some toolbars.
*
* @note This class does NOT need to be subclassed in your application.
@@ -51,6 +51,7 @@ namespace KParts
class KOFFICECORE_EXPORT KoMainWindow : public KParts::MainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -111,9 +112,9 @@ public:
/**
* Get hold of the label in the statusbar, to write messages to it.
- * You can also insert other items in the status bar by using QStatusBar::addWidget.
+ * You can also insert other items in the status bar by using TQStatusBar::addWidget.
*/
- QLabel * statusBarLabel();
+ TQLabel * statusBarLabel();
/**
* Sets the maximum number of recent documents entries.
@@ -150,7 +151,7 @@ public:
/**
* Updates the window caption based on the document info and path.
*/
- virtual void updateCaption( const QString caption, bool mod );
+ virtual void updateCaption( const TQString caption, bool mod );
void updateReloadFileAction(KoDocument *doc);
void updateVersionsFileAction(KoDocument *doc);
@@ -298,7 +299,7 @@ protected: // protected methods are mostly for koshell, it's the only one derivi
* Special method for KOShell, to allow switching the root
* document (and its views) among a set of them.
*/
- void setRootDocumentDirect( KoDocument *doc, const QPtrList<KoView> & views );
+ void setRootDocumentDirect( KoDocument *doc, const TQPtrList<KoView> & views );
/**
* Create a new empty document.
@@ -318,8 +319,8 @@ protected: // protected methods are mostly for koshell, it's the only one derivi
*/
virtual bool saveDocument( bool saveas = false, bool silent = false );
- virtual void closeEvent( QCloseEvent * e );
- virtual void resizeEvent( QResizeEvent * e );
+ virtual void closeEvent( TQCloseEvent * e );
+ virtual void resizeEvent( TQResizeEvent * e );
/**
* Ask user about saving changes to the document upon exit.
@@ -363,7 +364,7 @@ private:
*
* @return true if the document should be saved
*/
- bool exportConfirmation( const QCString &outputFormat );
+ bool exportConfirmation( const TQCString &outputFormat );
void saveWindowSettings();
@@ -375,9 +376,9 @@ protected slots:
private slots:
void slotProgress(int value);
void slotLoadCompleted();
- void slotLoadCanceled (const QString &);
+ void slotLoadCanceled (const TQString &);
void slotSaveCompleted();
- void slotSaveCanceled(const QString &);
+ void slotSaveCanceled(const TQString &);
private:
KoMainWindowPrivate *d;