summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QPrinter.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPrinter.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QPrinter.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPrinter.java b/qtjava/javalib/org/kde/qt/QPrinter.java
index 244d6456..369e9e12 100644
--- a/qtjava/javalib/org/kde/qt/QPrinter.java
+++ b/qtjava/javalib/org/kde/qt/QPrinter.java
@@ -3,8 +3,8 @@ package org.kde.qt;
import org.kde.qt.Qt;
-public class QPrinter extends QPaintDevice {
- protected QPrinter(Class dummy){super((Class) null);}
+public class TQPrinter extends TQPaintDevice {
+ protected TQPrinter(Class dummy){super((Class) null);}
public static final int ScreenResolution = 0;
public static final int PrinterResolution = 1;
public static final int HighResolution = 2;
@@ -74,16 +74,16 @@ public class QPrinter extends QPaintDevice {
public static final int PrintSelection = 1;
public static final int PrintPageRange = 2;
- public QPrinter(int mode) {
+ public TQPrinter(int mode) {
super((Class) null);
- newQPrinter(mode);
+ newTQPrinter(mode);
}
- private native void newQPrinter(int mode);
- public QPrinter() {
+ private native void newTQPrinter(int mode);
+ public TQPrinter() {
super((Class) null);
- newQPrinter();
+ newTQPrinter();
}
- private native void newQPrinter();
+ private native void newTQPrinter();
public native String printerName();
public native void setPrinterName(String arg1);
public native boolean outputToFile();
@@ -110,7 +110,7 @@ public class QPrinter extends QPaintDevice {
public native int colorMode();
public native void setFullPage(boolean arg1);
public native boolean fullPage();
- public native QSize margins();
+ public native TQSize margins();
public native void setMargins(int top, int left, int bottom, int right);
public native void margins(int[] top, int[] left, int[] bottom, int[] right);
public native int fromPage();
@@ -130,13 +130,13 @@ public class QPrinter extends QPaintDevice {
public native boolean newPage();
public native boolean abort();
public native boolean aborted();
- public native boolean setup(QWidget parent);
+ public native boolean setup(TQWidget parent);
public native boolean setup();
public native int paperSource();
public native void setPaperSource(int arg1);
public native void setOptionEnabled(int arg1, boolean enable);
public native boolean isOptionEnabled(int arg1);
- // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
+ // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED
protected native int metric(int arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;