diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPalette.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QPalette.java | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPalette.java b/qtjava/javalib/org/kde/qt/QPalette.java index d4d2153b..53b5160f 100644 --- a/qtjava/javalib/org/kde/qt/QPalette.java +++ b/qtjava/javalib/org/kde/qt/QPalette.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPalette implements QtSupport { +public class TQPalette implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QPalette(Class dummy){} + protected TQPalette(Class dummy){} public static final int Disabled = 0; public static final int Active = 1; @@ -14,44 +14,44 @@ public class QPalette implements QtSupport { public static final int NColorGroups = 3; public static final int Normal = Active; - public QPalette() { - newQPalette(); + public TQPalette() { + newTQPalette(); } - private native void newQPalette(); - public QPalette(QColor button) { - newQPalette(button); + private native void newTQPalette(); + public TQPalette(TQColor button) { + newTQPalette(button); } - private native void newQPalette(QColor button); - public QPalette(QColor button, QColor background) { - newQPalette(button,background); + private native void newTQPalette(TQColor button); + public TQPalette(TQColor button, TQColor background) { + newTQPalette(button,background); } - private native void newQPalette(QColor button, QColor background); - public QPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive) { - newQPalette(active,disabled,inactive); + private native void newTQPalette(TQColor button, TQColor background); + public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) { + newTQPalette(active,disabled,inactive); } - private native void newQPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive); - public QPalette(QPalette arg1) { - newQPalette(arg1); + private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive); + public TQPalette(TQPalette arg1) { + newTQPalette(arg1); } - private native void newQPalette(QPalette arg1); - public native QColor color(int arg1, int arg2); - public native QBrush brush(int arg1, int arg2); - public native void setColor(int arg1, int arg2, QColor arg3); - public native void setBrush(int arg1, int arg2, QBrush arg3); - public native void setColor(int arg1, QColor arg2); - public native void setBrush(int arg1, QBrush arg2); - public native QPalette copy(); - public native QColorGroup active(); - public native QColorGroup disabled(); - public native QColorGroup inactive(); - public native QColorGroup normal(); - public native void setActive(QColorGroup arg1); - public native void setDisabled(QColorGroup arg1); - public native void setInactive(QColorGroup arg1); - public native void setNormal(QColorGroup cg); - public native boolean op_equals(QPalette p); - public native boolean op_not_equals(QPalette p); - public native boolean isCopyOf(QPalette arg1); + private native void newTQPalette(TQPalette arg1); + public native TQColor color(int arg1, int arg2); + public native TQBrush brush(int arg1, int arg2); + public native void setColor(int arg1, int arg2, TQColor arg3); + public native void setBrush(int arg1, int arg2, TQBrush arg3); + public native void setColor(int arg1, TQColor arg2); + public native void setBrush(int arg1, TQBrush arg2); + public native TQPalette copy(); + public native TQColorGroup active(); + public native TQColorGroup disabled(); + public native TQColorGroup inactive(); + public native TQColorGroup normal(); + public native void setActive(TQColorGroup arg1); + public native void setDisabled(TQColorGroup arg1); + public native void setInactive(TQColorGroup arg1); + public native void setNormal(TQColorGroup cg); + public native boolean op_equals(TQPalette p); + public native boolean op_not_equals(TQPalette p); + public native boolean isCopyOf(TQPalette arg1); public native int serialNumber(); public static native int foregroundRoleFromMode(int mode); public static native int backgroundRoleFromMode(int mode); |