/***************************************************************************
                            QMenuDataInterface.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;

public interface QMenuDataInterface {
	int count();
	int insertItem( String text, QObject receiver, String member, QKeySequence accel, int identifier, int index);
	int insertItem( String text, QObject receiver, String member);
	int insertItem( QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int identifier, int index);
	int insertItem( QIconSet icon, String text, QObject receiver, String member);
	int insertItem( QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int identifier, int index);
	int insertItem( QPixmap pixmap, QObject receiver, String member);
	int insertItem( QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int identifier, int index);
	int insertItem( QIconSet icon, QPixmap pixmap, QObject receiver, String member);
	int insertItem( String text, int identifier, int index);
	int insertItem( String text);
	int insertItem( QIconSet icon, String text, int identifier, int index);
	int insertItem( QIconSet icon, String text);
	int insertItem( String text, QPopupMenu popup, int identifier, int index);
	int insertItem( String text, QPopupMenu popup);
	int insertItem( QIconSet icon, String text, QPopupMenu popup, int identifier, int index);
	int insertItem( QIconSet icon, String text, QPopupMenu popup);
	int insertItem( QPixmap pixmap, int identifier, int index);
	int insertItem( QPixmap pixmap);
	int insertItem( QIconSet icon, QPixmap pixmap, int identifier, int index);
	int insertItem( QIconSet icon, QPixmap pixmap);
	int insertItem( QPixmap pixmap, QPopupMenu popup, int identifier, int index);
	int insertItem( QPixmap pixmap, QPopupMenu popup);
	int insertItem( QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier, int index);
	int insertItem( QIconSet icon, QPixmap pixmap, QPopupMenu popup);
	int insertItem( QWidget widget, int identifier, int index);
	int insertItem( QWidget widget);
	int insertItem( QIconSet icon, QCustomMenuItem custom, int identifier, int index);
	int insertItem( QIconSet icon, QCustomMenuItem custom);
	int insertItem( QCustomMenuItem custom, int identifier, int index);
	int insertItem( QCustomMenuItem custom);
	int insertSeparator( int index);
	int insertSeparator();
	void removeItem( int identifier);
	void removeItemAt( int index);
	void clear();
	QKeySequence accel( int identifier);
	void setAccel( QKeySequence key, int identifier);
	QIconSet iconSet( int identifier);
	String text( int identifier);
	QPixmap pixmap( int identifier);
	void setWhatsThis( int identifier, String arg1);
	String whatsThis( int identifier);
	void changeItem( int identifier, String text);
	void changeItem( int identifier, QPixmap pixmap);
	void changeItem( int identifier, QIconSet icon, String text);
	void changeItem( int identifier, QIconSet icon, QPixmap pixmap);
	void changeItem( String text, int identifier);
	void changeItem( QPixmap pixmap, int identifier);
	void changeItem( QIconSet icon, String text, int identifier);
	boolean isItemActive( int identifier);
	boolean isItemEnabled( int identifier);
	void setItemEnabled( int identifier, boolean enable);
	boolean isItemChecked( int identifier);
	void setItemChecked( int identifier, boolean check);
	void updateItem( int identifier);
	int indexOf( int identifier);
	int idAt( int index);
	void setId( int index, int identifier);
	boolean connectItem( int identifier, QObject receiver, String member);
	boolean disconnectItem( int identifier, QObject receiver, String member);
	boolean setItemParameter( int identifier, int param);
	int itemParameter( int identifier);
	QMenuItem findItem( int identifier);
	QMenuItem findItem( int identifier, QMenuDataInterface parent);
	QMenuItem findPopup( QPopupMenu arg1, int[] index);
	QMenuItem findPopup( QPopupMenu arg1);
	void activateItemAt( int index);
}
