/***************************************************************************
                            QMotifStyle.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QMotifStyleSignals} for signals emitted by QMotifStyle.

 See {@link QMotifStyleEventHandling} for event handlers to override in subclasses of QMotifStyle.

*/
public class QMotifStyle extends QCommonStyle  {
	protected QMotifStyle(Class dummy){super((Class) null);}

	private native void newQMotifStyle( boolean useHighlightCols);
	public QMotifStyle( boolean useHighlightCols) {
		super((Class) null);
		newQMotifStyle( useHighlightCols);
	}
	private native void newQMotifStyle();
	public QMotifStyle() {
		super((Class) null);
		newQMotifStyle();
	}
	protected native void finalize() throws InternalError;
	public native void setUseHighlightColors( boolean arg1);
	public native boolean useHighlightColors();
	public native void polish( QPalette arg1);
	public native void polish( QWidget arg1);
	public native void polish( QApplication arg1);
	public native void polishPopupMenu( QPopupMenu arg1);
	public native void drawPrimitive( int pe, QPainter p, QRect r, QColorGroup cg, int flags, int arg1);
	public native void drawPrimitive( int pe, QPainter p, QRect r, QColorGroup cg);
	public native void drawControl( int element, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int arg1);
	public native void drawControl( int element, QPainter p, QWidget widget, QRect r, QColorGroup cg);
	public native void drawComplexControl( int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub, int subActive, int arg1);
	public native void drawComplexControl( int control, QPainter p, QWidget widget, QRect r, QColorGroup cg);
	public native QRect querySubControlMetrics( int control, QWidget widget, int sc, int arg1);
	public native int pixelMetric( int metric, QWidget widget);
	public native int pixelMetric( int metric);
	public native QSize sizeFromContents( int contents, QWidget widget, QSize contentsSize, int arg1);
	public native QRect subRect( int r, QWidget widget);
	public native QPixmap stylePixmap( int arg1, QWidget arg2, int arg3);
	public native QPixmap stylePixmap( int arg1);
//	public native int styleHint( int sh, QWidget arg1, int arg2, QStyleHintReturn arg3);
	public native int styleHint( int sh, QWidget arg1);
}
