summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KPixmapSplitter.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KPixmapSplitter.java')
-rw-r--r--kdejava/koala/org/kde/koala/KPixmapSplitter.java28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdejava/koala/org/kde/koala/KPixmapSplitter.java b/kdejava/koala/org/kde/koala/KPixmapSplitter.java
index a0315de1..da5eccaf 100644
--- a/kdejava/koala/org/kde/koala/KPixmapSplitter.java
+++ b/kdejava/koala/org/kde/koala/KPixmapSplitter.java
@@ -2,10 +2,10 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QRect;
+import org.kde.qt.TQRect;
import org.kde.qt.QtSupport;
-import org.kde.qt.QPixmap;
-import org.kde.qt.QSize;
+import org.kde.qt.TQPixmap;
+import org.kde.qt.TQSize;
/**
@@ -16,12 +16,12 @@ import org.kde.qt.QSize;
<pre>
KPixmapSplitter splitter;
splitter.setPixmap( somePixmap );
- splitter.setItemSize( QSize( 20, 10 ));
- QPixmap item( 20, 10 );
+ splitter.setItemSize( TQSize( 20, 10 ));
+ TQPixmap item( 20, 10 );
item.fill( Qt.white );
- QRect rect = splitter.coordinates( 4 );
+ TQRect rect = splitter.coordinates( 4 );
if ( !rect.isEmpty() )
- bitBlt( &item, QPoint(0,0), &somePixmap, rect, CopyROP );
+ bitBlt( &item, TQPoint(0,0), &somePixmap, rect, CopyROP );
</pre>
@author Carsten Pfeiffer <pfeiffer@kde.org>
@@ -45,27 +45,27 @@ public class KPixmapSplitter implements QtSupport {
Sets the pixmap to be split.
@short Sets the pixmap to be split.
*/
- public native void setPixmap(QPixmap pixmap);
+ public native void setPixmap(TQPixmap pixmap);
/**
@return the pixmap that has been set via setPixmap().
@short
*/
- public native QPixmap pixmap();
+ public native TQPixmap pixmap();
/**
Sets the size of the items you want to get out of the given pixmap.
- The QRect of #coordinates(int) will have the width and height of exactly
+ The TQRect of #coordinates(int) will have the width and height of exactly
this <code>size.</code>
@short Sets the size of the items you want to get out of the given pixmap.
*/
- public native void setItemSize(QSize size);
+ public native void setItemSize(TQSize size);
/**
@return the set size of the items (coordinates) you want to get
out of the given pixmap.
@short
*/
- public native QSize itemSize();
+ public native TQSize itemSize();
/**
If there is space between rows in the given pixmap, you have to specify
how many pixels there are.
@@ -84,13 +84,13 @@ public class KPixmapSplitter implements QtSupport {
@short
*/
- public native QRect coordinates(int pos);
+ public native TQRect coordinates(int pos);
/**
Overloaded for convenience. Returns the item at the position of the
given character (when using a latin1 font-pixmap)
@short Overloaded for convenience.
*/
- public native QRect coordinates(char ch);
+ public native TQRect coordinates(char ch);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */