summaryrefslogtreecommitdiffstats
path: root/kolourpaint/views/kpunzoomedthumbnailview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/views/kpunzoomedthumbnailview.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/views/kpunzoomedthumbnailview.cpp')
-rw-r--r--kolourpaint/views/kpunzoomedthumbnailview.cpp14
1 files changed, 7 insertions, 7 deletions
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