summaryrefslogtreecommitdiffstats
path: root/kolourpaint/views
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/views')
-rw-r--r--kolourpaint/views/kpthumbnailview.cpp6
-rw-r--r--kolourpaint/views/kpthumbnailview.h6
-rw-r--r--kolourpaint/views/kpunzoomedthumbnailview.cpp14
-rw-r--r--kolourpaint/views/kpunzoomedthumbnailview.h4
-rw-r--r--kolourpaint/views/kpzoomedthumbnailview.cpp6
-rw-r--r--kolourpaint/views/kpzoomedthumbnailview.h4
-rw-r--r--kolourpaint/views/kpzoomedview.cpp2
-rw-r--r--kolourpaint/views/kpzoomedview.h2
8 files changed, 22 insertions, 22 deletions
diff --git a/kolourpaint/views/kpthumbnailview.cpp b/kolourpaint/views/kpthumbnailview.cpp
index 32c54376..179f7c92 100644
--- a/kolourpaint/views/kpthumbnailview.cpp
+++ b/kolourpaint/views/kpthumbnailview.cpp
@@ -39,7 +39,7 @@ kpThumbnailView::kpThumbnailView (kpDocument *document,
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name)
+ TQWidget *parent, const char *name)
: kpView (document, toolToolBar, viewManager,
buddyView,
@@ -64,13 +64,13 @@ void kpThumbnailView::setMaskToCoverDocument ()
<< endl;
#endif
- setMask (QRegion (QRect (origin ().x (), origin ().y (),
+ setMask (TQRegion (TQRect (origin ().x (), origin ().y (),
zoomedDocWidth (), zoomedDocHeight ())));
}
// protected virtual [base kpView]
-void kpThumbnailView::resizeEvent (QResizeEvent *e)
+void kpThumbnailView::resizeEvent (TQResizeEvent *e)
{
#if DEBUG_KP_THUMBNAIL_VIEW
kdDebug () << "kpThumbnailView(" << name () << ")::resizeEvent()"
diff --git a/kolourpaint/views/kpthumbnailview.h b/kolourpaint/views/kpthumbnailview.h
index c3420833..9bc4dad8 100644
--- a/kolourpaint/views/kpthumbnailview.h
+++ b/kolourpaint/views/kpthumbnailview.h
@@ -53,7 +53,7 @@ public:
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name);
+ TQWidget *parent, const char *name);
/**
* Destructs this thumbnail view.
@@ -64,7 +64,7 @@ public:
/**
* @returns the caption to display in an enclosing thumbnail window.
*/
- virtual QString caption () const = 0;
+ virtual TQString caption () const = 0;
protected:
@@ -83,7 +83,7 @@ protected:
*
* Extends @ref kpView.
*/
- virtual void resizeEvent (QResizeEvent *e);
+ virtual void resizeEvent (TQResizeEvent *e);
};
diff --git a/kolourpaint/views/kpunzoomedthumbnailview.cpp b/kolourpaint/views/kpunzoomedthumbnailview.cpp
index 09d5aed1..4f019905 100644
--- a/kolourpaint/views/kpunzoomedthumbnailview.cpp
+++ b/kolourpaint/views/kpunzoomedthumbnailview.cpp
@@ -50,7 +50,7 @@ kpUnzoomedThumbnailView::kpUnzoomedThumbnailView (
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name)
+ TQWidget *parent, const char *name)
: kpThumbnailView (document, toolToolBar, viewManager,
buddyView,
@@ -61,9 +61,9 @@ kpUnzoomedThumbnailView::kpUnzoomedThumbnailView (
if (buddyViewScrollableContainer ())
{
connect (buddyViewScrollableContainer (),
- SIGNAL (contentsMovingSoon (int, int)),
+ TQT_SIGNAL (contentsMovingSoon (int, int)),
this,
- SLOT (adjustToEnvironment ()));
+ TQT_SLOT (adjustToEnvironment ()));
}
// Call to virtual function - this is why the class is sealed
@@ -78,7 +78,7 @@ kpUnzoomedThumbnailView::~kpUnzoomedThumbnailView ()
// public virtual [base kpThumbnailView]
-QString kpUnzoomedThumbnailView::caption () const
+TQString kpUnzoomedThumbnailView::caption () const
{
return i18n ("Unzoomed Mode - Thumbnail");
}
@@ -160,8 +160,8 @@ void kpUnzoomedThumbnailView::adjustToEnvironment ()
if (!buddyViewScrollableContainer ())
return;
- QRect docRect = buddyView ()->transformViewToDoc (
- QRect (buddyViewScrollableContainer ()->contentsXSoon (),
+ TQRect docRect = buddyView ()->transformViewToDoc (
+ TQRect (buddyViewScrollableContainer ()->contentsXSoon (),
buddyViewScrollableContainer ()->contentsYSoon (),
QMIN (buddyView ()->width (), buddyViewScrollableContainer ()->visibleWidth ()),
QMIN (buddyView ()->height (), buddyViewScrollableContainer ()->visibleHeight ())));
@@ -192,7 +192,7 @@ void kpUnzoomedThumbnailView::adjustToEnvironment ()
{
// OPT: scrollView impl would be much, much faster
- setOrigin (QPoint (-x, -y));
+ setOrigin (TQPoint (-x, -y));
setMaskToCoverDocument ();
// Above might be a NOP even if e.g. doc size changed so force
diff --git a/kolourpaint/views/kpunzoomedthumbnailview.h b/kolourpaint/views/kpunzoomedthumbnailview.h
index 0f7ccf53..cff6bdab 100644
--- a/kolourpaint/views/kpunzoomedthumbnailview.h
+++ b/kolourpaint/views/kpunzoomedthumbnailview.h
@@ -65,7 +65,7 @@ public:
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name);
+ TQWidget *parent, const char *name);
/**
* Destructs an unzoomed thumbnail view.
@@ -76,7 +76,7 @@ public:
/**
* Implements @ref kpThumbnailView.
*/
- QString caption () const;
+ TQString caption () const;
public slots:
diff --git a/kolourpaint/views/kpzoomedthumbnailview.cpp b/kolourpaint/views/kpzoomedthumbnailview.cpp
index ecbfd317..c5bde48d 100644
--- a/kolourpaint/views/kpzoomedthumbnailview.cpp
+++ b/kolourpaint/views/kpzoomedthumbnailview.cpp
@@ -43,7 +43,7 @@ kpZoomedThumbnailView::kpZoomedThumbnailView (kpDocument *document,
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name)
+ TQWidget *parent, const char *name)
: kpThumbnailView (document, toolToolBar, viewManager,
buddyView,
@@ -61,7 +61,7 @@ kpZoomedThumbnailView::~kpZoomedThumbnailView ()
// public virtual [base kpThumbnailView]
-QString kpZoomedThumbnailView::caption () const
+TQString kpZoomedThumbnailView::caption () const
{
return i18n ("%1% - Thumbnail").arg (zoomLevelX ());
}
@@ -124,7 +124,7 @@ void kpZoomedThumbnailView::adjustToEnvironment ()
{
setZoomLevel (hzoom, vzoom);
- setOrigin (QPoint ((width () - zoomedDocWidth ()) / 2,
+ setOrigin (TQPoint ((width () - zoomedDocWidth ()) / 2,
(height () - zoomedDocHeight ()) / 2));
setMaskToCoverDocument ();
diff --git a/kolourpaint/views/kpzoomedthumbnailview.h b/kolourpaint/views/kpzoomedthumbnailview.h
index 0bcb367c..882c6d08 100644
--- a/kolourpaint/views/kpzoomedthumbnailview.h
+++ b/kolourpaint/views/kpzoomedthumbnailview.h
@@ -60,7 +60,7 @@ public:
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name);
+ TQWidget *parent, const char *name);
/**
* Destructs a zoomed thumbnail view.
@@ -71,7 +71,7 @@ public:
/**
* Implements @ref kpThumbnailView.
*/
- QString caption () const;
+ TQString caption () const;
public slots:
diff --git a/kolourpaint/views/kpzoomedview.cpp b/kolourpaint/views/kpzoomedview.cpp
index ef1d6981..c2b1f47d 100644
--- a/kolourpaint/views/kpzoomedview.cpp
+++ b/kolourpaint/views/kpzoomedview.cpp
@@ -43,7 +43,7 @@ kpZoomedView::kpZoomedView (kpDocument *document,
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name)
+ TQWidget *parent, const char *name)
: kpView (document, toolToolBar, viewManager,
buddyView,
diff --git a/kolourpaint/views/kpzoomedview.h b/kolourpaint/views/kpzoomedview.h
index c3729282..12565ab4 100644
--- a/kolourpaint/views/kpzoomedview.h
+++ b/kolourpaint/views/kpzoomedview.h
@@ -61,7 +61,7 @@ public:
kpViewManager *viewManager,
kpView *buddyView,
kpViewScrollableContainer *scrollableContainer,
- QWidget *parent, const char *name);
+ TQWidget *parent, const char *name);
/**
* Destructs an unzoomed view.