summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivio_view.h')
-rw-r--r--kivio/kiviopart/kivio_view.h45
1 files changed, 23 insertions, 22 deletions
diff --git a/kivio/kiviopart/kivio_view.h b/kivio/kiviopart/kivio_view.h
index a115363c..6a824423 100644
--- a/kivio/kiviopart/kivio_view.h
+++ b/kivio/kiviopart/kivio_view.h
@@ -58,10 +58,10 @@ class KToggleAction;
class KSelectColorAction;
class KActionMenu;
-class QStringList;
-class QPushButton;
-class QProgressBar;
-class QScrollBar;
+class TQStringList;
+class TQPushButton;
+class TQProgressBar;
+class TQScrollBar;
class DCOPObject;
class KoRuler;
class KoZoomHandler;
@@ -71,9 +71,9 @@ class KoLineWidthAction;
class KoLineStyleAction;
class KoPaletteManager;
-#include <qdom.h>
-#include <qptrlist.h>
-#include <qframe.h>
+#include <tqdom.h>
+#include <tqptrlist.h>
+#include <tqframe.h>
#include <KoView.h>
#include <KoDocument.h>
@@ -85,10 +85,11 @@ using namespace Kivio;
class KIVIO_EXPORT KivioView : public KoView
{
Q_OBJECT
+ TQ_OBJECT
friend class KivioCanvas;
public:
- KivioView( QWidget *_parent, const char *_name, KivioDoc *_doc );
+ KivioView( TQWidget *_parent, const char *_name, KivioDoc *_doc );
~KivioView();
virtual DCOPObject* dcopObject();
@@ -108,7 +109,7 @@ class KIVIO_EXPORT KivioView : public KoView
virtual void setupPrinter(KPrinter&);
virtual void print(KPrinter&);
- virtual QWidget* canvas() const;
+ virtual TQWidget* canvas() const;
virtual int canvasXOffset() const;
virtual int canvasYOffset() const;
@@ -124,8 +125,8 @@ class KIVIO_EXPORT KivioView : public KoView
// Returns the current interface color/lineWidth settings
- QColor fgColor()const;
- QColor bgColor()const;
+ TQColor fgColor()const;
+ TQColor bgColor()const;
double lineWidth()const;
int lineStyle() const;
void updateButton();
@@ -186,7 +187,7 @@ class KIVIO_EXPORT KivioView : public KoView
void addStencilFromSpawner( KivioStencilSpawner *pSpawner, double x = 0.0, double y = 0.0 );
- void changePage( const QString& _name );
+ void changePage( const TQString& _name );
void updateToolBars();
@@ -204,7 +205,7 @@ class KIVIO_EXPORT KivioView : public KoView
void setRulerPageLayout(const KoPageLayout& l);
- void popupTabBarMenu( const QPoint& point );
+ void popupTabBarMenu( const TQPoint& point );
void initStatusBarProgress();
void setStatusBarProgress(int progress);
@@ -212,10 +213,10 @@ class KIVIO_EXPORT KivioView : public KoView
void setActivePage( KivioPage* );
- void setStatusBarInfo(const QString& text);
+ void setStatusBarInfo(const TQString& text);
protected slots:
- void slotPageRenamed( KivioPage* page, const QString& old_name );
+ void slotPageRenamed( KivioPage* page, const TQString& old_name );
void slotUpdateView( KivioPage *_page );
void slotUpdateGrid();
@@ -223,7 +224,7 @@ class KIVIO_EXPORT KivioView : public KoView
void setBGColor();
void setTextColor();
- void setFontFamily( const QString & );
+ void setFontFamily( const TQString & );
void setFontSize( int );
void setLineWidth(double);
@@ -253,10 +254,10 @@ class KIVIO_EXPORT KivioView : public KoView
void slotChangeStencilSize(double, double);
void slotChangeStencilRotation(int);
- void viewZoom(const QString& s);
+ void viewZoom(const TQString& s);
void addSpawnerToStackBar( KivioStencilSpawnerSet * );
- void addStencilSet( const QString& );
+ void addStencilSet( const TQString& );
void setMousePos( int mx, int my );
void setRulerUnit(KoUnit::Unit);
@@ -323,7 +324,7 @@ class KIVIO_EXPORT KivioView : public KoView
KivioArrowHeadAction* m_setArrowHeads;
- QStringList m_lineWidthList;
+ TQStringList m_lineWidthList;
KivioDoc* m_pDoc;
KivioPage* m_pActivePage;
@@ -373,10 +374,10 @@ class KIVIO_EXPORT KivioView : public KoView
KoLineWidthAction* m_lineWidthAction;
KoLineStyleAction* m_lineStyleAction;
- QProgressBar* m_statusBarProgress;
+ TQProgressBar* m_statusBarProgress;
- QScrollBar* m_vertScrollBar;
- QScrollBar* m_horzScrollBar;
+ TQScrollBar* m_vertScrollBar;
+ TQScrollBar* m_horzScrollBar;
Kivio::AddStencilTool* m_addStencilTool;
Kivio::AddStencilSetDialog* m_addStencilSetDialog;