diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QPrinter.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPrinter.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QPrinter.java | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPrinter.java b/qtjava/javalib/org/kde/qt/QPrinter.java new file mode 100644 index 00000000..244d6456 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QPrinter.java @@ -0,0 +1,147 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QPrinter extends QPaintDevice { + protected QPrinter(Class dummy){super((Class) null);} + public static final int ScreenResolution = 0; + public static final int PrinterResolution = 1; + public static final int HighResolution = 2; + public static final int Compatible = 3; + + public static final int Portrait = 0; + public static final int Landscape = 1; + + public static final int A4 = 0; + public static final int B5 = 1; + public static final int Letter = 2; + public static final int Legal = 3; + public static final int Executive = 4; + public static final int A0 = 5; + public static final int A1 = 6; + public static final int A2 = 7; + public static final int A3 = 8; + public static final int A5 = 9; + public static final int A6 = 10; + public static final int A7 = 11; + public static final int A8 = 12; + public static final int A9 = 13; + public static final int B0 = 14; + public static final int B1 = 15; + public static final int B10 = 16; + public static final int B2 = 17; + public static final int B3 = 18; + public static final int B4 = 19; + public static final int B6 = 20; + public static final int B7 = 21; + public static final int B8 = 22; + public static final int B9 = 23; + public static final int C5E = 24; + public static final int Comm10E = 25; + public static final int DLE = 26; + public static final int Folio = 27; + public static final int Ledger = 28; + public static final int Tabloid = 29; + public static final int Custom = 30; + public static final int NPageSize = Custom; + + public static final int FirstPageFirst = 0; + public static final int LastPageFirst = 1; + + public static final int GrayScale = 0; + public static final int Color = 1; + + public static final int OnlyOne = 0; + public static final int Lower = 1; + public static final int Middle = 2; + public static final int Manual = 3; + public static final int Envelope = 4; + public static final int EnvelopeManual = 5; + public static final int Auto = 6; + public static final int Tractor = 7; + public static final int SmallFormat = 8; + public static final int LargeFormat = 9; + public static final int LargeCapacity = 10; + public static final int Cassette = 11; + public static final int FormSource = 12; + + public static final int AllPages = 0; + public static final int Selection = 1; + public static final int PageRange = 2; + + public static final int PrintToFile = 0; + public static final int PrintSelection = 1; + public static final int PrintPageRange = 2; + + public QPrinter(int mode) { + super((Class) null); + newQPrinter(mode); + } + private native void newQPrinter(int mode); + public QPrinter() { + super((Class) null); + newQPrinter(); + } + private native void newQPrinter(); + public native String printerName(); + public native void setPrinterName(String arg1); + public native boolean outputToFile(); + public native void setOutputToFile(boolean arg1); + public native String outputFileName(); + public native void setOutputFileName(String arg1); + public native String printProgram(); + public native void setPrintProgram(String arg1); + public native String printerSelectionOption(); + public native void setPrinterSelectionOption(String arg1); + public native String docName(); + public native void setDocName(String arg1); + public native String creator(); + public native void setCreator(String arg1); + public native int orientation(); + public native void setOrientation(int arg1); + public native int pageSize(); + public native void setPageSize(int arg1); + public native void setPageOrder(int arg1); + public native int pageOrder(); + public native void setResolution(int arg1); + public native int resolution(); + public native void setColorMode(int arg1); + public native int colorMode(); + public native void setFullPage(boolean arg1); + public native boolean fullPage(); + public native QSize 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(); + public native int toPage(); + public native void setFromTo(int fromPage, int toPage); + public native int minPage(); + public native int maxPage(); + public native void setMinMax(int minPage, int maxPage); + public native int numCopies(); + public native void setNumCopies(int arg1); + public native boolean collateCopiesEnabled(); + public native void setCollateCopiesEnabled(boolean arg1); + public native boolean collateCopies(); + public native void setCollateCopies(boolean arg1); + public native int printRange(); + public native void setPrintRange(int range); + public native boolean newPage(); + public native boolean abort(); + public native boolean aborted(); + public native boolean setup(QWidget 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 + protected native int metric(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |