// QMenuData.cs - A Qt to C# binding.
//
// Copyright (C) 2002  Adam Treat (manyoso@yahoo.com)
//
// 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.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//
// Generated File.  Do Not Modify.

namespace Qt {

    using Qt;
    using System;
	using System.Collections;

    public interface IQMenuData {
         Hashtable MenuConnections { get; }
         uint Count ();
         int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier, int index);
         int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier, int index);
         int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index);
         int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier, int index);
         int InsertItem (string text, int identifier, int index);
         int InsertItem (QIconSet icon, string text, int identifier, int index);
         int InsertItem (string text, QPopupMenu popup, int identifier, int index);
         int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier, int index);
         int InsertItem (QPixmap pixmap, int identifier, int index);
         int InsertItem (QIconSet icon, QPixmap pixmap, int identifier, int index);
         int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier, int index);
         int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier, int index);
         int InsertItem (QWidget widget, int identifier, int index);
         int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier, int index);
         int InsertItem (QCustomMenuItem custom, int identifier, int index);
         int InsertSeparator (int index);
         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);
         bool IsItemActive (int identifier);
         bool IsItemEnabled (int identifier);
         void SetItemEnabled (int identifier, bool enable);
         bool IsItemChecked (int identifier);
         void SetItemChecked (int identifier, bool check);
         int IndexOf (int identifier);
         void SetId (int index, int identifier);
         bool ConnectItem (int identifier, QObject receiver, string member);
         bool DisconnectItem (int identifier, QObject receiver, string member);
         bool SetItemParameter (int identifier, int param);
         int ItemParameter (int identifier);
         QMenuItem FindItem (int identifier);
         QMenuItem FindItem (int identifier, QMenuData parent);
         QMenuItem FindPopup (QPopupMenu arg1, int[] index);
         int InsertItem (string text, QObject receiver, string member);
         int InsertItem (string text, QObject receiver, string member, QKeySequence accel);
         int InsertItem (string text, QObject receiver, string member, QKeySequence accel, int identifier);
         int InsertItem (QIconSet icon, string text, QObject receiver, string member);
         int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel);
         int InsertItem (QIconSet icon, string text, QObject receiver, string member, QKeySequence accel, int identifier);
         int InsertItem (QPixmap pixmap, QObject receiver, string member);
         int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel);
         int InsertItem (QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier);
         int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member);
         int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel);
         int InsertItem (QIconSet icon, QPixmap pixmap, QObject receiver, string member, QKeySequence accel, int identifier);
         int InsertItem (string text);
         int InsertItem (string text, int identifier);
         int InsertItem (QIconSet icon, string text);
         int InsertItem (QIconSet icon, string text, int identifier);
         int InsertItem (string text, QPopupMenu popup);
         int InsertItem (string text, QPopupMenu popup, int identifier);
         int InsertItem (QIconSet icon, string text, QPopupMenu popup);
         int InsertItem (QIconSet icon, string text, QPopupMenu popup, int identifier);
         int InsertItem (QPixmap pixmap);
         int InsertItem (QPixmap pixmap, int identifier);
         int InsertItem (QIconSet icon, QPixmap pixmap);
         int InsertItem (QIconSet icon, QPixmap pixmap, int identifier);
         int InsertItem (QPixmap pixmap, QPopupMenu popup);
         int InsertItem (QPixmap pixmap, QPopupMenu popup, int identifier);
         int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup);
         int InsertItem (QIconSet icon, QPixmap pixmap, QPopupMenu popup, int identifier);
         int InsertItem (QWidget widget);
         int InsertItem (QWidget widget, int identifier);
         int InsertItem (QIconSet icon, QCustomMenuItem custom);
         int InsertItem (QIconSet icon, QCustomMenuItem custom, int identifier);
         int InsertItem (QCustomMenuItem custom);
         int InsertItem (QCustomMenuItem custom, int identifier);
         int InsertSeparator ();
         QMenuItem FindPopup (QPopupMenu arg1);
         //IntPtr QMenuData ();
    }
}
