diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 14:18:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-27 14:18:56 +0900 |
commit | 06fc5b2200e1816c1403513fef885b0a764a418d (patch) | |
tree | 3fa232ee9f045e12153efe6dc946854e320059ae /qtsharp | |
parent | 4ac886638f4cd82d76a6ab48e591bf8e668aa927 (diff) | |
download | tdebindings-06fc5b2200e1816c1403513fef885b0a764a418d.tar.gz tdebindings-06fc5b2200e1816c1403513fef885b0a764a418d.zip |
qt -> tqt conversion:
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtsharp')
-rw-r--r-- | qtsharp/src/Makefile.am | 2 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/QtSignal.cs | 56 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/QtSupport.cs | 2 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQApplication.cs | 230 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQByteArray.cs | 8 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQMenuBar.cs | 144 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQMenuData.cs | 104 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQObject.cs | 98 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQPopupMenu.cs | 144 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQString.cs | 226 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQStyle.cs | 52 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQToolButton.cs | 46 | ||||
-rw-r--r-- | qtsharp/src/bindings/static/TQWidgetStack.cs | 30 | ||||
-rw-r--r-- | qtsharp/src/generator/Printer.cs | 4 | ||||
-rw-r--r-- | qtsharp/src/libqtsharp/Makefile.am | 8 |
15 files changed, 577 insertions, 577 deletions
diff --git a/qtsharp/src/Makefile.am b/qtsharp/src/Makefile.am index b7388c8e..59bb3d8d 100644 --- a/qtsharp/src/Makefile.am +++ b/qtsharp/src/Makefile.am @@ -1,2 +1,2 @@ -SUBDIRS = generator libqtsharp bindings examples +SUBDIRS = generator libtqtsharp bindings examples diff --git a/qtsharp/src/bindings/static/QtSignal.cs b/qtsharp/src/bindings/static/QtSignal.cs index 1237a7bf..6660de87 100644 --- a/qtsharp/src/bindings/static/QtSignal.cs +++ b/qtsharp/src/bindings/static/QtSignal.cs @@ -86,7 +86,7 @@ namespace Qt { signals = new ArrayList(); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QObject (IntPtr obj); internal override void Delete () { @@ -738,85 +738,85 @@ namespace Qt { Emit (new object[] { value0, value1, value2 }); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_connect1 (IntPtr sender, string signal, IntPtr receiver, string member); - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_disconnect2 (IntPtr sender, string signal, IntPtr receiver, string member); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_void (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_bool (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_short (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_int (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_long (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_float (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_double (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QString (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QDockWindow (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QDropEvent (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QDropEventTQListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QIconViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QListBoxItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QListViewItemTQListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QListViewItemTQListViewItemTQListViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QNetworkOperation (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QObject (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QToolBar (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_QWidget (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_intTQIconViewItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_intTQListBoxItem (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_intbool (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_intint (IntPtr sender, string signal, IntPtr receiver, Delegate cb); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_intintint (IntPtr sender, string signal, IntPtr receiver, Delegate cb); public delegate void del_void (); diff --git a/qtsharp/src/bindings/static/QtSupport.cs b/qtsharp/src/bindings/static/QtSupport.cs index f9740f7f..155bdd62 100644 --- a/qtsharp/src/bindings/static/QtSupport.cs +++ b/qtsharp/src/bindings/static/QtSupport.cs @@ -318,7 +318,7 @@ namespace Qt { private static TQEventList eventList = new TQEventList (); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern void qtsharp_QObject_registerEventDelegate ([MarshalAs (UnmanagedType.FunctionPtr)] Delegate qtdelegate); diff --git a/qtsharp/src/bindings/static/TQApplication.cs b/qtsharp/src/bindings/static/TQApplication.cs index 5b78ab9e..cc5ea8f3 100644 --- a/qtsharp/src/bindings/static/TQApplication.cs +++ b/qtsharp/src/bindings/static/TQApplication.cs @@ -49,7 +49,7 @@ namespace Qt { UnicodeUTF8 = 1 } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication (int argc, string[] argv); public TQApplication (string[] argv) : this (TQNull.Instance) { @@ -61,7 +61,7 @@ namespace Qt { RegisterEventDelegate (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication1 (int argc, string[] argv, bool GUIenabled); public TQApplication (string[] argv, bool GUIenabled) : this (TQNull.Instance) { @@ -73,7 +73,7 @@ namespace Qt { RegisterEventDelegate (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication2 (int argc, string[] argv, Type arg1); public TQApplication (string[] argv, Type arg1) : this (TQNull.Instance) { @@ -85,7 +85,7 @@ namespace Qt { RegisterEventDelegate (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication3 (IntPtr dpy, uint visual, uint cmap); public TQApplication (IntPtr dpy, uint visual, uint cmap) : this (TQNull.Instance) { @@ -96,7 +96,7 @@ namespace Qt { RegisterEventDelegate (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication4 (IntPtr dpy, int argc, string[] argv, uint visual, uint cmap); public TQApplication (IntPtr dpy, string[] argv, uint visual, uint cmap) : this (TQNull.Instance) { @@ -125,7 +125,7 @@ namespace Qt { Dispose (false); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QApplication (IntPtr obj); internal override void Delete () { @@ -181,147 +181,147 @@ namespace Qt { Msg ("--qts-trace-children\tTrace parent/child relationships."); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_argc (IntPtr raw); public int Argc () { return qt_QApplication_argc (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern string[] qt_QApplication_argv (IntPtr raw); public string[] Argv () { return qt_QApplication_argv (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern Type qt_QApplication_type (IntPtr raw); public Type TheType () { return qt_QApplication_type (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_mainWidget (IntPtr raw); public TQWidget MainWidget () { return (TQWidget)LookupObject (qt_QApplication_mainWidget (rawObject), typeof(TQWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setMainWidget (IntPtr raw, IntPtr arg1); public void SetMainWidget (TQWidget arg1) { qt_QApplication_setMainWidget (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_polish (IntPtr raw, IntPtr arg1); public void Polish (TQWidget arg1) { qt_QApplication_polish (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_focusWidget (IntPtr raw); public TQWidget FocusWidget () { return (TQWidget)LookupObject (qt_QApplication_focusWidget (rawObject), typeof(TQWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_activeWindow (IntPtr raw); public TQWidget ActiveWindow () { return (TQWidget)LookupObject (qt_QApplication_activeWindow (rawObject), typeof(TQWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_exec (IntPtr raw); public int Exec () { return qt_QApplication_exec (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_processEvents (IntPtr raw); public void ProcessEvents () { qt_QApplication_processEvents (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_processEvents1 (IntPtr raw, int maxtime); public void ProcessEvents (int maxtime) { qt_QApplication_processEvents1 (rawObject, maxtime); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_hasPendingEvents (IntPtr raw); public bool HasPendingEvents () { return qt_QApplication_hasPendingEvents (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_enter_loop (IntPtr raw); public int Enter_loop () { return qt_QApplication_enter_loop (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_exit_loop (IntPtr raw); public void Exit_loop () { qt_QApplication_exit_loop (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_loopLevel (IntPtr raw); public int LoopLevel () { return qt_QApplication_loopLevel (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_notify (IntPtr raw, IntPtr arg1, IntPtr arg2); public bool Notify (TQObject arg1, TQEvent arg2) { return qt_QApplication_notify (rawObject, arg1.RawObject, arg2.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setDefaultCodec (IntPtr raw, IntPtr arg1); public void SetDefaultCodec (TQTextCodec arg1) { qt_QApplication_setDefaultCodec (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_defaultCodec (IntPtr raw); public TQTextCodec DefaultCodec () { return (TQTextCodec)LookupObject (qt_QApplication_defaultCodec (rawObject), typeof(TQTextCodec)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_installTranslator (IntPtr raw, IntPtr arg1); public void InstallTranslator (TQTranslator arg1) { qt_QApplication_installTranslator (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_removeTranslator (IntPtr raw, IntPtr arg1); public void RemoveTranslator (TQTranslator arg1) { qt_QApplication_removeTranslator (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_translate (IntPtr raw, string context, string key, string comment, Encoding encoding); public string Translate (string context, string key, string comment, Encoding encoding) { @@ -331,63 +331,63 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_macEventFilter (IntPtr raw, IntPtr arg1); public bool MacEventFilter (IntPtr arg1) { return qt_QApplication_macEventFilter (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_winEventFilter (IntPtr raw, IntPtr arg1); public bool WinEventFilter (IntPtr arg1) { return qt_QApplication_winEventFilter (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_x11EventFilter (IntPtr raw, IntPtr arg1); public bool X11EventFilter (IntPtr arg1) { return qt_QApplication_x11EventFilter (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_x11ClientMessage (IntPtr raw, IntPtr arg1, IntPtr arg2, bool passive_only); public int X11ClientMessage (TQWidget arg1, IntPtr arg2, bool passive_only) { return qt_QApplication_x11ClientMessage (rawObject, arg1.RawObject, arg2, passive_only); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_qwsEventFilter (IntPtr raw, IntPtr arg1); public bool QwsEventFilter (IntPtr arg1) { return qt_QApplication_qwsEventFilter (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_qwsSetCustomColors (IntPtr raw, int colortable, int start, int numColors); public void QwsSetCustomColors (int colortable, int start, int numColors) { qt_QApplication_qwsSetCustomColors (rawObject, colortable, start, numColors); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_winFocus (IntPtr raw, IntPtr arg1, bool arg2); public void WinFocus (TQWidget arg1, bool arg2) { qt_QApplication_winFocus (rawObject, arg1.RawObject, arg2); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_isSessionRestored (IntPtr raw); public bool IsSessionRestored () { return qt_QApplication_isSessionRestored (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_sessionId (IntPtr raw); public string SessionId () { @@ -397,553 +397,553 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_commitData (IntPtr raw, IntPtr sm); public void CommitData (TQSessionManager sm) { qt_QApplication_commitData (rawObject, sm.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_saveState (IntPtr raw, IntPtr sm); public void SaveState (TQSessionManager sm) { qt_QApplication_saveState (rawObject, sm.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_wakeUpGuiThread (IntPtr raw); public void WakeUpGuiThread () { qt_QApplication_wakeUpGuiThread (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_lock (IntPtr raw); public void Q_lock () { qt_QApplication_lock (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_unlock (IntPtr raw, bool wakeUpGui); public void Unlock (bool wakeUpGui) { qt_QApplication_unlock (rawObject, wakeUpGui); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_locked (IntPtr raw); public bool Locked () { return qt_QApplication_locked (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_tryLock (IntPtr raw); public bool TryLock () { return qt_QApplication_tryLock (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setEnableRemoteControl (IntPtr raw, bool enable, IntPtr appId); public void SetEnableRemoteControl (bool enable, TQUuid appId) { qt_QApplication_setEnableRemoteControl (rawObject, enable, appId.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_remoteControlEnabled (IntPtr raw); public bool RemoteControlEnabled () { return qt_QApplication_remoteControlEnabled (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_applicationId (IntPtr raw); public TQUuid ApplicationId () { return (TQUuid)LookupObject (qt_QApplication_applicationId (rawObject), typeof(TQUuid)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_quit (IntPtr raw); public void Quit () { qt_QApplication_quit (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_closeAllWindows (IntPtr raw); public void CloseAllWindows () { qt_QApplication_closeAllWindows (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_style (); public static TQStyle Style () { return (TQStyle)LookupObject (qt_QApplication_style (), typeof(TQStyle)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setStyle (IntPtr arg1); public static void SetStyle (TQStyle arg1) { qt_QApplication_setStyle (arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_setStyle1 (IntPtr arg1); public static TQStyle SetStyle (string arg1) { return (TQStyle)LookupObject (qt_QApplication_setStyle1 (new TQString (arg1).RawObject), typeof(TQStyle)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern ColorMode qt_QApplication_colorMode (); public static ColorMode TheColorMode () { return qt_QApplication_colorMode (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setColorMode (TQApplication.ColorMode arg1); public static void SetColorMode (TQApplication.ColorMode arg1) { qt_QApplication_setColorMode (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_colorSpec (); public static int TheColorSpec () { return qt_QApplication_colorSpec (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setColorSpec (int arg1); public static void SetColorSpec (int arg1) { qt_QApplication_setColorSpec (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_overrideCursor (); public static TQCursor OverrideCursor () { return (TQCursor)LookupObject (qt_QApplication_overrideCursor (), typeof(TQCursor)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setOverrideCursor (IntPtr arg1, bool replace); public static void SetOverrideCursor (TQCursor arg1, bool replace) { qt_QApplication_setOverrideCursor (arg1.RawObject, replace); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_restoreOverrideCursor (); public static void RestoreOverrideCursor () { qt_QApplication_restoreOverrideCursor (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_hasGlobalMouseTracking (); public static bool HasGlobalMouseTracking () { return qt_QApplication_hasGlobalMouseTracking (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setGlobalMouseTracking (bool enable); public static void SetGlobalMouseTracking (bool enable) { qt_QApplication_setGlobalMouseTracking (enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_palette (IntPtr arg1); public static TQPalette Palette (TQWidget arg1) { return (TQPalette)LookupObject (qt_QApplication_palette (arg1.RawObject), typeof(TQPalette)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setPalette (IntPtr arg1, bool informWidgets, string className); public static void SetPalette (TQPalette arg1, bool informWidgets, string className) { qt_QApplication_setPalette (arg1.RawObject, informWidgets, className); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_font (IntPtr arg1); public static TQFont Font (TQWidget arg1) { return (TQFont)LookupObject (qt_QApplication_font (arg1.RawObject), typeof(TQFont)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setFont (IntPtr arg1, bool informWidgets, string className); public static void SetFont (TQFont arg1, bool informWidgets, string className) { qt_QApplication_setFont (arg1.RawObject, informWidgets, className); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_fontMetrics (); public static TQFontMetrics FontMetrics () { return (TQFontMetrics)LookupObject (qt_QApplication_fontMetrics (), typeof(TQFontMetrics)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_allWidgets (); public static TQWidgetList AllWidgets () { return (TQWidgetList)LookupObject (qt_QApplication_allWidgets (), typeof(TQWidgetList)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_topLevelWidgets (); public static TQWidgetList TopLevelWidgets () { return (TQWidgetList)LookupObject (qt_QApplication_topLevelWidgets (), typeof(TQWidgetList)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_desktop (); public static TQDesktopWidget Desktop () { return (TQDesktopWidget)LookupObject (qt_QApplication_desktop (), typeof(TQDesktopWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_activePopupWidget (); public static TQWidget ActivePopupWidget () { return (TQWidget)LookupObject (qt_QApplication_activePopupWidget (), typeof(TQWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_activeModalWidget (); public static TQWidget ActiveModalWidget () { return (TQWidget)LookupObject (qt_QApplication_activeModalWidget (), typeof(TQWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_clipboard (); public static TQClipboard Clipboard () { return (TQClipboard)LookupObject (qt_QApplication_clipboard (), typeof(TQClipboard)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_widgetAt (int x, int y, bool child); public static TQWidget WidgetAt (int x, int y, bool child) { return (TQWidget)LookupObject (qt_QApplication_widgetAt (x, y, child), typeof(TQWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_widgetAt1 (IntPtr arg1, bool child); public static TQWidget WidgetAt (TQPoint arg1, bool child) { return (TQWidget)LookupObject (qt_QApplication_widgetAt1 (arg1.RawObject, child), typeof(TQWidget)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_exit (int retcode); public static void Exit (int retcode) { qt_QApplication_exit (retcode); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_sendPostedEvents (IntPtr receiver, int event_type); public static void SendPostedEvents (TQObject receiver, int event_type) { qt_QApplication_sendPostedEvents (receiver.RawObject, event_type); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_sendPostedEvents1 (); public static void SendPostedEvents () { qt_QApplication_sendPostedEvents1 (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_removePostedEvents (IntPtr receiver); public static void RemovePostedEvents (TQObject receiver) { qt_QApplication_removePostedEvents (receiver.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_startingUp (); public static bool StartingUp () { return qt_QApplication_startingUp (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_closingDown (); public static bool ClosingDown () { return qt_QApplication_closingDown (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_flushX (); public static void FlushX () { qt_QApplication_flushX (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_flush (); public static void Flush () { qt_QApplication_flush (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_syncX (); public static void SyncX () { qt_QApplication_syncX (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_beep (); public static void Beep () { qt_QApplication_beep (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setWinStyleHighlightColor (IntPtr c); public static void SetWinStyleHighlightColor (TQColor c) { qt_QApplication_setWinStyleHighlightColor (c.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_winStyleHighlightColor (); public static TQColor WinStyleHighlightColor () { return (TQColor)LookupObject (qt_QApplication_winStyleHighlightColor (), typeof(TQColor)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setDesktopSettingsAware (bool arg1); public static void SetDesktopSettingsAware (bool arg1) { qt_QApplication_setDesktopSettingsAware (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_desktopSettingsAware (); public static bool DesktopSettingsAware () { return qt_QApplication_desktopSettingsAware (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setCursorFlashTime (int arg1); public static void SetCursorFlashTime (int arg1) { qt_QApplication_setCursorFlashTime (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_cursorFlashTime (); public static int CursorFlashTime () { return qt_QApplication_cursorFlashTime (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setDoubleClickInterval (int arg1); public static void SetDoubleClickInterval (int arg1) { qt_QApplication_setDoubleClickInterval (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_doubleClickInterval (); public static int DoubleClickInterval () { return qt_QApplication_doubleClickInterval (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setWheelScrollLines (int arg1); public static void SetWheelScrollLines (int arg1) { qt_QApplication_setWheelScrollLines (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_wheelScrollLines (); public static int WheelScrollLines () { return qt_QApplication_wheelScrollLines (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setGlobalStrut (IntPtr arg1); public static void SetGlobalStrut (TQSize arg1) { qt_QApplication_setGlobalStrut (arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_globalStrut (); public static TQSize GlobalStrut () { return (TQSize)LookupObject (qt_QApplication_globalStrut (), typeof(TQSize)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setLibraryPaths (IntPtr arg1); public static void SetLibraryPaths (TQStringList arg1) { qt_QApplication_setLibraryPaths (arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_libraryPaths (); public static TQStringList LibraryPaths () { return (TQStringList)LookupObject (qt_QApplication_libraryPaths (), typeof(TQStringList)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_addLibraryPath (IntPtr arg1); public static void AddLibraryPath (string arg1) { qt_QApplication_addLibraryPath (new TQString (arg1).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_removeLibraryPath (IntPtr arg1); public static void RemoveLibraryPath (string arg1) { qt_QApplication_removeLibraryPath (new TQString (arg1).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setStartDragTime (int ms); public static void SetStartDragTime (int ms) { qt_QApplication_setStartDragTime (ms); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_startDragTime (); public static int StartDragTime () { return qt_QApplication_startDragTime (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setStartDragDistance (int l); public static void SetStartDragDistance (int l) { qt_QApplication_setStartDragDistance (l); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_startDragDistance (); public static int StartDragDistance () { return qt_QApplication_startDragDistance (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setReverseLayout (bool b); public static void SetReverseLayout (bool b) { qt_QApplication_setReverseLayout (b); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_reverseLayout (); public static bool ReverseLayout () { return qt_QApplication_reverseLayout (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QApplication_horizontalAlignment (int align); public static int HorizontalAlignment (int align) { return qt_QApplication_horizontalAlignment (align); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_isEffectEnabled (Qt.UIEffect arg1); public static bool IsEffectEnabled (Qt.UIEffect arg1) { return qt_QApplication_isEffectEnabled (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setEffectEnabled (Qt.UIEffect arg1, bool enable); public static void SetEffectEnabled (Qt.UIEffect arg1, bool enable) { qt_QApplication_setEffectEnabled (arg1, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_qwsDecoration (); public static IntPtr QwsDecoration () { return qt_QApplication_qwsDecoration (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_qwsSetDecoration (IntPtr arg1); public static void QwsSetDecoration (IntPtr arg1) { qt_QApplication_qwsSetDecoration (arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern Qt.WindowsVersion qt_QApplication_winVersion (); public static Qt.WindowsVersion WinVersion () { return qt_QApplication_winVersion (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_winMouseButtonUp (); public static void WinMouseButtonUp () { qt_QApplication_winMouseButtonUp (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_create_xim (); public static void Create_xim () { qt_QApplication_create_xim (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_close_xim (); public static void Close_xim () { qt_QApplication_close_xim (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_x11_apply_settings (); public static bool X11_apply_settings () { diff --git a/qtsharp/src/bindings/static/TQByteArray.cs b/qtsharp/src/bindings/static/TQByteArray.cs index 6fb2f1e7..a45d131c 100644 --- a/qtsharp/src/bindings/static/TQByteArray.cs +++ b/qtsharp/src/bindings/static/TQByteArray.cs @@ -26,7 +26,7 @@ namespace Qt { public class TQByteArray : TQMemArray, IDisposable { - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QByteArray (); public TQByteArray () : this (TQNull.Instance) { @@ -34,7 +34,7 @@ namespace Qt { RegisterObject (this); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QByteArray1 (int size); public TQByteArray (int size) : this (TQNull.Instance) { @@ -59,12 +59,12 @@ namespace Qt { { if (deleted) return; - // libqtc lacks a qt_del_QByteArray function + // libtqtc lacks a qt_del_QByteArray function deleted = true; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QByteArray_assign1 (IntPtr rawObject, [MarshalAs(UnmanagedType.LPArray)] byte[] b, uint length ); diff --git a/qtsharp/src/bindings/static/TQMenuBar.cs b/qtsharp/src/bindings/static/TQMenuBar.cs index 56d2bc8f..b08a6576 100644 --- a/qtsharp/src/bindings/static/TQMenuBar.cs +++ b/qtsharp/src/bindings/static/TQMenuBar.cs @@ -41,7 +41,7 @@ namespace Qt { InWindowsStyle = 1 } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QMenuBar (IntPtr parent, string name); public TQMenuBar (TQWidget parent, string name) : this (TQNull.Instance) { @@ -72,7 +72,7 @@ namespace Qt { Dispose (false); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QMenuBar (IntPtr obj); internal override void Delete () { @@ -82,175 +82,175 @@ namespace Qt { deleted = true; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_updateItem (IntPtr raw, int identifier); public void UpdateItem (int identifier) { qt_QMenuBar_updateItem (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_show (IntPtr raw); public void Show () { qt_QMenuBar_show (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_hide (IntPtr raw); public void Hide () { qt_QMenuBar_hide (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuBar_eventFilter (IntPtr raw, IntPtr arg1, IntPtr arg2); public bool EventFilter (TQObject arg1, TQEvent arg2) { return qt_QMenuBar_eventFilter (rawObject, arg1.RawObject, arg2.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuBar_heightForWidth (IntPtr raw, int arg1); public int HeightForWidth (int arg1) { return qt_QMenuBar_heightForWidth (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern TQMenuBar.Separator qt_QMenuBar_separator (IntPtr raw); public TQMenuBar.Separator TheSeparator () { return qt_QMenuBar_separator (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_setSeparator (IntPtr raw, TQMenuBar.Separator when); public void SetSeparator (TQMenuBar.Separator when) { qt_QMenuBar_setSeparator (rawObject, when); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_setDefaultUp (IntPtr raw, bool arg1); public void SetDefaultUp (bool arg1) { qt_QMenuBar_setDefaultUp (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuBar_isDefaultUp (IntPtr raw); public bool IsDefaultUp () { return qt_QMenuBar_isDefaultUp (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuBar_customWhatsThis (IntPtr raw); public bool CustomWhatsThis () { return qt_QMenuBar_customWhatsThis (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_sizeHint (IntPtr raw); public TQSize SizeHint () { return (TQSize)LookupObject (qt_QMenuBar_sizeHint (rawObject), typeof(TQSize)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_minimumSize (IntPtr raw); public TQSize MinimumSize () { return (TQSize)LookupObject (qt_QMenuBar_minimumSize (rawObject), typeof(TQSize)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_minimumSizeHint (IntPtr raw); public TQSize MinimumSizeHint () { return (TQSize)LookupObject (qt_QMenuBar_minimumSizeHint (rawObject), typeof(TQSize)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_activateItemAt (IntPtr raw, int index); public void ActivateItemAt (int index) { qt_QMenuBar_activateItemAt (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_initialize (); public static void Initialize () { qt_QMenuBar_initialize (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_cleanup (); public static void Cleanup () { qt_QMenuBar_cleanup (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_drawContents (IntPtr raw, IntPtr arg1); protected void DrawContents (TQPainter arg1) { qt_QMenuBar_drawContents (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_fontChange (IntPtr raw, IntPtr arg1); protected void FontChange (TQFont arg1) { qt_QMenuBar_fontChange (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_menuContentsChanged (IntPtr raw); protected void MenuContentsChanged () { qt_QMenuBar_menuContentsChanged (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_menuStateChanged (IntPtr raw); protected void MenuStateChanged () { qt_QMenuBar_menuStateChanged (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_styleChange (IntPtr raw, IntPtr arg1); protected void StyleChange (TQStyle arg1) { qt_QMenuBar_styleChange (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuBar_itemAtPos (IntPtr raw, IntPtr arg1); protected int ItemAtPos (TQPoint arg1) { return qt_QMenuBar_itemAtPos (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuBar_hidePopups (IntPtr raw); protected void HidePopups () { qt_QMenuBar_hidePopups (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_itemRect (IntPtr raw, int item); protected TQRect ItemRect (int item) { return (TQRect)LookupObject (qt_QMenuBar_itemRect (rawObject, item), typeof(TQRect)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuBar_QMenuData (IntPtr raw); public IntPtr TQMenuData () { @@ -311,140 +311,140 @@ namespace Qt { //********************* A temporary hack to divert connections to CSharpConnect *****************// - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern uint qt_QMenuData_count (IntPtr raw); public uint Count () { return qt_QMenuData_count (TQMenuData ()); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem4 (IntPtr raw, IntPtr text, int identifier, int index); public int InsertItem (string text, int identifier, int index) { return qt_QMenuData_insertItem4 (TQMenuData (), new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem5 (IntPtr raw, IntPtr icon, IntPtr text, int identifier, int index); public int InsertItem (TQIconSet icon, string text, int identifier, int index) { return qt_QMenuData_insertItem5 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem6 (IntPtr raw, IntPtr text, IntPtr popup, int identifier, int index); public int InsertItem (string text, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem6 (TQMenuData (), new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem7 (IntPtr raw, IntPtr icon, IntPtr text, IntPtr popup, int identifier, int index); public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem7 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem8 (IntPtr raw, IntPtr pixmap, int identifier, int index); public int InsertItem (TQPixmap pixmap, int identifier, int index) { return qt_QMenuData_insertItem8 (TQMenuData (), pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem9 (IntPtr raw, IntPtr icon, IntPtr pixmap, int identifier, int index); public int InsertItem (TQIconSet icon, TQPixmap pixmap, int identifier, int index) { return qt_QMenuData_insertItem9 (TQMenuData (), icon.RawObject, pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem10 (IntPtr raw, IntPtr pixmap, IntPtr popup, int identifier, int index); public int InsertItem (TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem10 (TQMenuData (), pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem11 (IntPtr raw, IntPtr icon, IntPtr pixmap, IntPtr popup, int identifier, int index); public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem11 (TQMenuData (), icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem12 (IntPtr raw, IntPtr widget, int identifier, int index); public int InsertItem (TQWidget widget, int identifier, int index) { return qt_QMenuData_insertItem12 (TQMenuData (), widget.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem13 (IntPtr raw, IntPtr icon, IntPtr custom, int identifier, int index); public int InsertItem (TQIconSet icon, TQCustomMenuItem custom, int identifier, int index) { return qt_QMenuData_insertItem13 (TQMenuData (), icon.RawObject, custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem14 (IntPtr raw, IntPtr custom, int identifier, int index); public int InsertItem (TQCustomMenuItem custom, int identifier, int index) { return qt_QMenuData_insertItem14 (TQMenuData (), custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); public int InsertSeparator (int index) { return qt_QMenuData_insertSeparator (TQMenuData (), index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); public void RemoveItem (int identifier) { qt_QMenuData_removeItem (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); public void RemoveItemAt (int index) { qt_QMenuData_removeItemAt (TQMenuData (), index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_clear (IntPtr raw); public void Clear () { qt_QMenuData_clear (TQMenuData ()); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); public TQKeySequence Accel (int identifier) { return (TQKeySequence)LookupObject (qt_QMenuData_accel (TQMenuData (), identifier), typeof(TQKeySequence)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); public void SetAccel (TQKeySequence key, int identifier) { qt_QMenuData_setAccel (TQMenuData (), key.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); public TQIconSet IconSet (int identifier) { return (TQIconSet)LookupObject (qt_QMenuData_iconSet (TQMenuData (), identifier), typeof(TQIconSet)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); public string Text (int identifier) { @@ -454,21 +454,21 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); public TQPixmap Pixmap (int identifier) { return (TQPixmap)LookupObject (qt_QMenuData_pixmap (TQMenuData (), identifier), typeof(TQPixmap)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setWhatsThis (IntPtr raw, int identifier, IntPtr arg1); public void SetWhatsThis (int identifier, string arg1) { qt_QMenuData_setWhatsThis (TQMenuData (), identifier, new TQString (arg1).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); public string WhatsThis (int identifier) { @@ -478,154 +478,154 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); public void ChangeItem (int identifier, string text) { qt_QMenuData_changeItem (TQMenuData (), identifier, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); public void ChangeItem (int identifier, TQPixmap pixmap) { qt_QMenuData_changeItem1 (TQMenuData (), identifier, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem2 (IntPtr raw, int identifier, IntPtr icon, IntPtr text); public void ChangeItem (int identifier, TQIconSet icon, string text) { qt_QMenuData_changeItem2 (TQMenuData (), identifier, icon.RawObject, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem3 (IntPtr raw, int identifier, IntPtr icon, IntPtr pixmap); public void ChangeItem (int identifier, TQIconSet icon, TQPixmap pixmap) { qt_QMenuData_changeItem3 (TQMenuData (), identifier, icon.RawObject, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem4 (IntPtr raw, IntPtr text, int identifier); public void ChangeItem (string text, int identifier) { qt_QMenuData_changeItem4 (TQMenuData (), new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); public void ChangeItem (TQPixmap pixmap, int identifier) { qt_QMenuData_changeItem5 (TQMenuData (), pixmap.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem6 (IntPtr raw, IntPtr icon, IntPtr text, int identifier); public void ChangeItem (TQIconSet icon, string text, int identifier) { qt_QMenuData_changeItem6 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); public bool IsItemActive (int identifier) { return qt_QMenuData_isItemActive (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); public bool IsItemEnabled (int identifier) { return qt_QMenuData_isItemEnabled (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemEnabled (IntPtr raw, int identifier, bool enable); public void SetItemEnabled (int identifier, bool enable) { qt_QMenuData_setItemEnabled (TQMenuData (), identifier, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); public bool IsItemChecked (int identifier) { return qt_QMenuData_isItemChecked (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemChecked (IntPtr raw, int identifier, bool check); public void SetItemChecked (int identifier, bool check) { qt_QMenuData_setItemChecked (TQMenuData (), identifier, check); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); public int IndexOf (int identifier) { return qt_QMenuData_indexOf (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_idAt (IntPtr raw, int index); public int IdAt (int index) { return qt_QMenuData_idAt (TQMenuData (), index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); public void SetId (int index, int identifier) { qt_QMenuData_setId (TQMenuData (), index, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_setItemParameter (IntPtr raw, int identifier, int param); public bool SetItemParameter (int identifier, int param) { return qt_QMenuData_setItemParameter (TQMenuData (), identifier, param); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); public int ItemParameter (int identifier) { return qt_QMenuData_itemParameter (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); public TQMenuItem FindItem (int identifier) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem (TQMenuData (), identifier), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); public TQMenuItem FindItem (int identifier, TQMenuData parent) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem1 (TQMenuData (), identifier, parent.RawObject), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); public TQMenuItem FindPopup (TQPopupMenu arg1, int[] index) { return (TQMenuItem)LookupObject (qt_QMenuData_findPopup (TQMenuData (), arg1.RawObject, index), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); protected void MenuInsPopup (TQPopupMenu arg1) { qt_QMenuData_menuInsPopup (TQMenuData (), arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); protected void MenuDelPopup (TQPopupMenu arg1) { diff --git a/qtsharp/src/bindings/static/TQMenuData.cs b/qtsharp/src/bindings/static/TQMenuData.cs index ade3b8c4..b9d428cf 100644 --- a/qtsharp/src/bindings/static/TQMenuData.cs +++ b/qtsharp/src/bindings/static/TQMenuData.cs @@ -37,7 +37,7 @@ namespace Qt { get { return menuConnections; } } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QMenuData (); public TQMenuData () : this (TQNull.Instance) { @@ -61,7 +61,7 @@ namespace Qt { Dispose(false); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QMenuData (IntPtr obj); internal override void Delete () { @@ -73,7 +73,7 @@ namespace Qt { // The next two static methods are here to service all ITQMenuData implementors. - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_connectItem (IntPtr raw, int identifier, IntPtr receiver, string member); internal static bool ConnectItem (ITQMenuData menu, IntPtr menudata, int id, TQObject receiver, string slot) @@ -119,10 +119,10 @@ namespace Qt { } } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_disconnectItem (IntPtr raw, int identifier, IntPtr receiver, string member); - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QObject (IntPtr raw); internal static bool DisconnectItem (ITQMenuData menu, IntPtr menudata, int id, TQObject receiver, string slot) @@ -162,140 +162,140 @@ namespace Qt { return false; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern uint qt_QMenuData_count (IntPtr raw); public uint Count () { return qt_QMenuData_count (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem4 (IntPtr raw, IntPtr text, int identifier, int index); public int InsertItem (string text, int identifier, int index) { return qt_QMenuData_insertItem4 (rawObject, new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem5 (IntPtr raw, IntPtr icon, IntPtr text, int identifier, int index); public int InsertItem (TQIconSet icon, string text, int identifier, int index) { return qt_QMenuData_insertItem5 (rawObject, icon.RawObject, new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem6 (IntPtr raw, IntPtr text, IntPtr popup, int identifier, int index); public int InsertItem (string text, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem6 (rawObject, new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem7 (IntPtr raw, IntPtr icon, IntPtr text, IntPtr popup, int identifier, int index); public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem7 (rawObject, icon.RawObject, new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem8 (IntPtr raw, IntPtr pixmap, int identifier, int index); public int InsertItem (TQPixmap pixmap, int identifier, int index) { return qt_QMenuData_insertItem8 (rawObject, pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem9 (IntPtr raw, IntPtr icon, IntPtr pixmap, int identifier, int index); public int InsertItem (TQIconSet icon, TQPixmap pixmap, int identifier, int index) { return qt_QMenuData_insertItem9 (rawObject, icon.RawObject, pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem10 (IntPtr raw, IntPtr pixmap, IntPtr popup, int identifier, int index); public int InsertItem (TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem10 (rawObject, pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem11 (IntPtr raw, IntPtr icon, IntPtr pixmap, IntPtr popup, int identifier, int index); public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem11 (rawObject, icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem12 (IntPtr raw, IntPtr widget, int identifier, int index); public int InsertItem (TQWidget widget, int identifier, int index) { return qt_QMenuData_insertItem12 (rawObject, widget.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem13 (IntPtr raw, IntPtr icon, IntPtr custom, int identifier, int index); public int InsertItem (TQIconSet icon, TQCustomMenuItem custom, int identifier, int index) { return qt_QMenuData_insertItem13 (rawObject, icon.RawObject, custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem14 (IntPtr raw, IntPtr custom, int identifier, int index); public int InsertItem (TQCustomMenuItem custom, int identifier, int index) { return qt_QMenuData_insertItem14 (rawObject, custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); public int InsertSeparator (int index) { return qt_QMenuData_insertSeparator (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); public void RemoveItem (int identifier) { qt_QMenuData_removeItem (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); public void RemoveItemAt (int index) { qt_QMenuData_removeItemAt (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_clear (IntPtr raw); public void Clear () { qt_QMenuData_clear (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); public TQKeySequence Accel (int identifier) { return (TQKeySequence)LookupObject (qt_QMenuData_accel (rawObject, identifier), typeof(TQKeySequence)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); public void SetAccel (TQKeySequence key, int identifier) { qt_QMenuData_setAccel (rawObject, key.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); public TQIconSet IconSet (int identifier) { return (TQIconSet)LookupObject (qt_QMenuData_iconSet (rawObject, identifier), typeof(TQIconSet)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); public string Text (int identifier) { @@ -305,21 +305,21 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); public TQPixmap Pixmap (int identifier) { return (TQPixmap)LookupObject (qt_QMenuData_pixmap (rawObject, identifier), typeof(TQPixmap)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setWhatsThis (IntPtr raw, int identifier, IntPtr arg1); public void SetWhatsThis (int identifier, string arg1) { qt_QMenuData_setWhatsThis (rawObject, identifier, new TQString (arg1).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); public string WhatsThis (int identifier) { @@ -329,105 +329,105 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); public void ChangeItem (int identifier, string text) { qt_QMenuData_changeItem (rawObject, identifier, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); public void ChangeItem (int identifier, TQPixmap pixmap) { qt_QMenuData_changeItem1 (rawObject, identifier, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem2 (IntPtr raw, int identifier, IntPtr icon, IntPtr text); public void ChangeItem (int identifier, TQIconSet icon, string text) { qt_QMenuData_changeItem2 (rawObject, identifier, icon.RawObject, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem3 (IntPtr raw, int identifier, IntPtr icon, IntPtr pixmap); public void ChangeItem (int identifier, TQIconSet icon, TQPixmap pixmap) { qt_QMenuData_changeItem3 (rawObject, identifier, icon.RawObject, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem4 (IntPtr raw, IntPtr text, int identifier); public void ChangeItem (string text, int identifier) { qt_QMenuData_changeItem4 (rawObject, new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); public void ChangeItem (TQPixmap pixmap, int identifier) { qt_QMenuData_changeItem5 (rawObject, pixmap.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem6 (IntPtr raw, IntPtr icon, IntPtr text, int identifier); public void ChangeItem (TQIconSet icon, string text, int identifier) { qt_QMenuData_changeItem6 (rawObject, icon.RawObject, new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); public bool IsItemActive (int identifier) { return qt_QMenuData_isItemActive (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); public bool IsItemEnabled (int identifier) { return qt_QMenuData_isItemEnabled (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemEnabled (IntPtr raw, int identifier, bool enable); public void SetItemEnabled (int identifier, bool enable) { qt_QMenuData_setItemEnabled (rawObject, identifier, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); public bool IsItemChecked (int identifier) { return qt_QMenuData_isItemChecked (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemChecked (IntPtr raw, int identifier, bool check); public void SetItemChecked (int identifier, bool check) { qt_QMenuData_setItemChecked (rawObject, identifier, check); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); public int IndexOf (int identifier) { return qt_QMenuData_indexOf (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_idAt (IntPtr raw, int index); public int IdAt (int index) { return qt_QMenuData_idAt (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); public void SetId (int index, int identifier) { @@ -480,49 +480,49 @@ namespace Qt { //********************* A temporary hack to divert connections to CSharpConnect *****************// - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_setItemParameter (IntPtr raw, int identifier, int param); public bool SetItemParameter (int identifier, int param) { return qt_QMenuData_setItemParameter (rawObject, identifier, param); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); public int ItemParameter (int identifier) { return qt_QMenuData_itemParameter (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); public TQMenuItem FindItem (int identifier) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem (rawObject, identifier), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); public TQMenuItem FindItem (int identifier, TQMenuData parent) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem1 (rawObject, identifier, parent.RawObject), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); public TQMenuItem FindPopup (TQPopupMenu arg1, int[] index) { return (TQMenuItem)LookupObject (qt_QMenuData_findPopup (rawObject, arg1.RawObject, index), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); protected void MenuInsPopup (TQPopupMenu arg1) { qt_QMenuData_menuInsPopup (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); protected void MenuDelPopup (TQPopupMenu arg1) { @@ -709,10 +709,10 @@ namespace Qt { return FindPopup(arg1, new int[]{0}); } - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_item_void (IntPtr instance, int id, IntPtr receiver, Delegate method); - [DllImport("libqtsharp", CharSet=CharSet.Ansi)] + [DllImport("libtqtsharp", CharSet=CharSet.Ansi)] private static extern IntPtr csharp_connect_item_int (IntPtr instance, int id, IntPtr receiver, Delegate method); } diff --git a/qtsharp/src/bindings/static/TQObject.cs b/qtsharp/src/bindings/static/TQObject.cs index 1ef8c354..d5b425db 100644 --- a/qtsharp/src/bindings/static/TQObject.cs +++ b/qtsharp/src/bindings/static/TQObject.cs @@ -56,7 +56,7 @@ namespace Qt { get { return cppSignalMap; } } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QObject (IntPtr parent, string name); public TQObject (TQObject parent, string name) : this (TQNull.Instance) { @@ -140,7 +140,7 @@ namespace Qt { Delete (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QObject (IntPtr obj); internal override void Delete () { @@ -229,14 +229,14 @@ namespace Qt { CppSignalMap.DumpMap (); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern string qt_QObject_className (IntPtr raw); public string ClassName () { return qt_QObject_className (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_tr (IntPtr raw, string arg1, string arg2); public string Tr (string arg1, string arg2) { @@ -246,7 +246,7 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_trUtf8 (IntPtr raw, string arg1, string arg2); public string TrUtf8 (string arg1, string arg2) { @@ -256,203 +256,203 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_metaObject (IntPtr raw); public TQMetaObject MetaObject () { return (TQMetaObject)LookupObject (qt_QObject_metaObject (rawObject), typeof(TQMetaObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_event (IntPtr raw, IntPtr arg1); public bool Q_event (TQEvent arg1) { return qt_QObject_event (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_eventFilter (IntPtr raw, IntPtr arg1, IntPtr arg2); public bool EventFilter (TQObject arg1, TQEvent arg2) { return qt_QObject_eventFilter (rawObject, arg1.RawObject, arg2.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_isA (IntPtr raw, string arg1); public bool IsA (string arg1) { return qt_QObject_isA (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_inherits (IntPtr raw, string arg1); public bool Inherits (string arg1) { return qt_QObject_inherits (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern string qt_QObject_name (IntPtr raw); public string Name () { return qt_QObject_name (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern string qt_QObject_name1 (IntPtr raw, string defaultName); public string Name (string defaultName) { return qt_QObject_name1 (rawObject, defaultName); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_setName (IntPtr raw, string name); public void SetName (string name) { qt_QObject_setName (rawObject, name); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_isWidgetType (IntPtr raw); public bool IsWidgetType () { return qt_QObject_isWidgetType (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_highPriority (IntPtr raw); public bool HighPriority () { return qt_QObject_highPriority (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_signalsBlocked (IntPtr raw); public bool SignalsBlocked () { return qt_QObject_signalsBlocked (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_blockSignals (IntPtr raw, bool b); public void BlockSignals (bool b) { qt_QObject_blockSignals (rawObject, b); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QObject_startTimer (IntPtr raw, int interval); public int StartTimer (int interval) { return qt_QObject_startTimer (rawObject, interval); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_killTimer (IntPtr raw, int identifier); public void KillTimer (int identifier) { qt_QObject_killTimer (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_killTimers (IntPtr raw); public void KillTimers () { qt_QObject_killTimers (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_child (IntPtr raw, string objName, string inheritsClass, bool recursiveSearch); public TQObject Child (string objName, string inheritsClass, bool recursiveSearch) { return (TQObject)LookupObject (qt_QObject_child (rawObject, objName, inheritsClass, recursiveSearch), typeof(TQObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_children (IntPtr raw); public TQObjectList Children () { return (TQObjectList)LookupObject (qt_QObject_children (rawObject), typeof(TQObjectList)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_queryList (IntPtr raw, string inheritsClass, string objName, bool regexpMatch, bool recursiveSearch); public TQObjectList QueryList (string inheritsClass, string objName, bool regexpMatch, bool recursiveSearch) { return (TQObjectList)LookupObject (qt_QObject_queryList (rawObject, inheritsClass, objName, regexpMatch, recursiveSearch), typeof(TQObjectList)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_insertChild (IntPtr raw, IntPtr arg1); public void InsertChild (TQObject arg1) { qt_QObject_insertChild (rawObject, arg1.RawObject); } - /*[DllImport("libqtc", CharSet=CharSet.Ansi)] + /*[DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_removeChild (IntPtr raw, IntPtr arg1); public void RemoveChild (TQObject arg1) { qt_QObject_removeChild (rawObject, arg1.RawObject); }*/ - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_installEventFilter (IntPtr raw, IntPtr arg1); public void InstallEventFilter (TQObject arg1) { qt_QObject_installEventFilter (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_removeEventFilter (IntPtr raw, IntPtr arg1); public void RemoveEventFilter (TQObject arg1) { qt_QObject_removeEventFilter (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_dumpObjectTree (IntPtr raw); public void DumpObjectTree () { qt_QObject_dumpObjectTree (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_dumpObjectInfo (IntPtr raw); public void DumpObjectInfo () { qt_QObject_dumpObjectInfo (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_setProperty (IntPtr raw, string name, IntPtr value); public bool SetProperty (string name, TQVariant value) { return qt_QObject_setProperty (rawObject, name, value.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_property (IntPtr raw, string name); public TQVariant Property (string name) { return (TQVariant)LookupObject (qt_QObject_property (rawObject, name), typeof(TQVariant)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_parent (IntPtr raw); public TQObject Parent () { return (TQObject)LookupObject (qt_QObject_parent (rawObject), typeof(TQObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_deleteLater (IntPtr raw); public void DeleteLater () { qt_QObject_deleteLater (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_objectTrees (); public static TQObjectList ObjectTrees () { @@ -460,7 +460,7 @@ namespace Qt { } /*FIXME - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_connectInternal (IntPtr sender, int signal_index, IntPtr receiver, int membcode, int member_index); public static void ConnectInternal (TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index) { @@ -468,56 +468,56 @@ namespace Qt { } */ - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_activate_filters (IntPtr raw, IntPtr arg1); protected bool Activate_filters (TQEvent arg1) { return qt_QObject_activate_filters (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_receivers (IntPtr raw, string signal); protected TQConnectionList Receivers (string signal) { return (TQConnectionList)LookupObject (qt_QObject_receivers (rawObject, signal), typeof(TQConnectionList)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_receivers1 (IntPtr raw, int signal); protected TQConnectionList Receivers (int signal) { return (TQConnectionList)LookupObject (qt_QObject_receivers1 (rawObject, signal), typeof(TQConnectionList)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_activate_signal (IntPtr raw, int signal); protected void Activate_signal (int signal) { qt_QObject_activate_signal (rawObject, signal); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_activate_signal1 (IntPtr raw, int signal, int arg1); protected void Activate_signal (int signal, int arg1) { qt_QObject_activate_signal1 (rawObject, signal, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_activate_signal2 (IntPtr raw, int signal, double arg1); protected void Activate_signal (int signal, double arg1) { qt_QObject_activate_signal2 (rawObject, signal, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_activate_signal3 (IntPtr raw, int signal, IntPtr arg1); protected void Activate_signal (int signal, string arg1) { qt_QObject_activate_signal3 (rawObject, signal, new TQString (arg1).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_activate_signal_bool (IntPtr raw, int signal, bool arg1); protected void Activate_signal_bool (int signal, bool arg1) { @@ -525,7 +525,7 @@ namespace Qt { } /* - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_activate_signal4 (IntPtr raw, IntPtr clist, IntPtr o); protected void Activate_signal (TQConnectionList clist, IntPtr o) { @@ -533,28 +533,28 @@ namespace Qt { } */ - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_sender (IntPtr raw); protected TQObject Sender () { return (TQObject)LookupObject (qt_QObject_sender (rawObject), typeof(TQObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_connectNotify (IntPtr raw, string signal); protected void ConnectNotify (string signal) { qt_QObject_connectNotify (rawObject, signal); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QObject_disconnectNotify (IntPtr raw, string signal); protected void DisconnectNotify (string signal) { qt_QObject_disconnectNotify (rawObject, signal); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QObject_checkConnectArgs (IntPtr raw, string signal, IntPtr receiver, string member); protected bool CheckConnectArgs (string signal, TQObject receiver, string member) { @@ -562,7 +562,7 @@ namespace Qt { } /* - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QObject_normalizeSignalSlot (string signalSlot); protected static TQCString NormalizeSignalSlot (string signalSlot) { diff --git a/qtsharp/src/bindings/static/TQPopupMenu.cs b/qtsharp/src/bindings/static/TQPopupMenu.cs index 4ded6a7f..255bdd1d 100644 --- a/qtsharp/src/bindings/static/TQPopupMenu.cs +++ b/qtsharp/src/bindings/static/TQPopupMenu.cs @@ -36,7 +36,7 @@ namespace Qt { get { return menuConnections; } } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QPopupMenu (IntPtr parent, string name); public TQPopupMenu (TQWidget parent, string name) : this (TQNull.Instance) { @@ -67,7 +67,7 @@ namespace Qt { Dispose (false); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QPopupMenu (IntPtr obj); internal override void Delete () { @@ -77,175 +77,175 @@ namespace Qt { deleted = true; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_popup (IntPtr raw, IntPtr pos, int indexAtPoint); public void Popup (TQPoint pos, int indexAtPoint) { qt_QPopupMenu_popup (rawObject, pos.RawObject, indexAtPoint); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_updateItem (IntPtr raw, int identifier); public void UpdateItem (int identifier) { qt_QPopupMenu_updateItem (rawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_setCheckable (IntPtr raw, bool arg1); public void SetCheckable (bool arg1) { qt_QPopupMenu_setCheckable (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QPopupMenu_isCheckable (IntPtr raw); public bool IsCheckable () { return qt_QPopupMenu_isCheckable (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_setFont (IntPtr raw, IntPtr arg1); public void SetFont (TQFont arg1) { qt_QPopupMenu_setFont (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_show (IntPtr raw); public void Show () { qt_QPopupMenu_show (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_hide (IntPtr raw); public void Hide () { qt_QPopupMenu_hide (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_exec (IntPtr raw); public int Exec () { return qt_QPopupMenu_exec (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_exec1 (IntPtr raw, IntPtr pos, int indexAtPoint); public int Exec (TQPoint pos, int indexAtPoint) { return qt_QPopupMenu_exec1 (rawObject, pos.RawObject, indexAtPoint); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_setActiveItem (IntPtr raw, int arg1); public void SetActiveItem (int arg1) { qt_QPopupMenu_setActiveItem (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QPopupMenu_sizeHint (IntPtr raw); public TQSize SizeHint () { return (TQSize)LookupObject (qt_QPopupMenu_sizeHint (rawObject), typeof(TQSize)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_idAt (IntPtr raw, int index); public int IdAt (int index) { return qt_QPopupMenu_idAt (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_idAt1 (IntPtr raw, IntPtr pos); public int IdAt (TQPoint pos) { return qt_QPopupMenu_idAt1 (rawObject, pos.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QPopupMenu_customWhatsThis (IntPtr raw); public bool CustomWhatsThis () { return qt_QPopupMenu_customWhatsThis (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_insertTearOffHandle (IntPtr raw, int identifier, int index); public int InsertTearOffHandle (int identifier, int index) { return qt_QPopupMenu_insertTearOffHandle (rawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_activateItemAt (IntPtr raw, int index); public void ActivateItemAt (int index) { qt_QPopupMenu_activateItemAt (rawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QPopupMenu_itemGeometry (IntPtr raw, int index); public TQRect ItemGeometry (int index) { return (TQRect)LookupObject (qt_QPopupMenu_itemGeometry (rawObject, index), typeof(TQRect)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_itemHeight (IntPtr raw, int arg1); protected int ItemHeight (int arg1) { return qt_QPopupMenu_itemHeight (rawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_itemHeight1 (IntPtr raw, IntPtr mi); protected int ItemHeight (TQMenuItem mi) { return qt_QPopupMenu_itemHeight1 (rawObject, mi.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_drawItem (IntPtr raw, IntPtr p, int tab, IntPtr mi, bool act, int x, int y, int w, int h); protected void DrawItem (TQPainter p, int tab, TQMenuItem mi, bool act, int x, int y, int w, int h) { qt_QPopupMenu_drawItem (rawObject, p.RawObject, tab, mi.RawObject, act, x, y, w, h); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_drawContents (IntPtr raw, IntPtr arg1); protected void DrawContents (TQPainter arg1) { qt_QPopupMenu_drawContents (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QPopupMenu_styleChange (IntPtr raw, IntPtr arg1); protected void StyleChange (TQStyle arg1) { qt_QPopupMenu_styleChange (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_columns (IntPtr raw); protected int Columns () { return qt_QPopupMenu_columns (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QPopupMenu_focusNextPrevChild (IntPtr raw, bool next); protected bool FocusNextPrevChild (bool next) { return qt_QPopupMenu_focusNextPrevChild (rawObject, next); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QPopupMenu_itemAtPos (IntPtr raw, IntPtr arg1, bool ignoreSeparator); protected int ItemAtPos (TQPoint arg1, bool ignoreSeparator) { @@ -277,7 +277,7 @@ namespace Qt { return ItemAtPos(arg1, true); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QPopupMenu_QMenuData (IntPtr raw); public IntPtr TQMenuData () { @@ -333,140 +333,140 @@ namespace Qt { //********************* A temporary hack to divert connections to CSharpConnect *****************// - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern uint qt_QMenuData_count (IntPtr raw); public uint Count () { return qt_QMenuData_count (TQMenuData ()); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem4 (IntPtr raw, IntPtr text, int identifier, int index); public int InsertItem (string text, int identifier, int index) { return qt_QMenuData_insertItem4 (TQMenuData (), new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem5 (IntPtr raw, IntPtr icon, IntPtr text, int identifier, int index); public int InsertItem (TQIconSet icon, string text, int identifier, int index) { return qt_QMenuData_insertItem5 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem6 (IntPtr raw, IntPtr text, IntPtr popup, int identifier, int index); public int InsertItem (string text, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem6 (TQMenuData (), new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem7 (IntPtr raw, IntPtr icon, IntPtr text, IntPtr popup, int identifier, int index); public int InsertItem (TQIconSet icon, string text, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem7 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem8 (IntPtr raw, IntPtr pixmap, int identifier, int index); public int InsertItem (TQPixmap pixmap, int identifier, int index) { return qt_QMenuData_insertItem8 (TQMenuData (), pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem9 (IntPtr raw, IntPtr icon, IntPtr pixmap, int identifier, int index); public int InsertItem (TQIconSet icon, TQPixmap pixmap, int identifier, int index) { return qt_QMenuData_insertItem9 (TQMenuData (), icon.RawObject, pixmap.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem10 (IntPtr raw, IntPtr pixmap, IntPtr popup, int identifier, int index); public int InsertItem (TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem10 (TQMenuData (), pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem11 (IntPtr raw, IntPtr icon, IntPtr pixmap, IntPtr popup, int identifier, int index); public int InsertItem (TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int identifier, int index) { return qt_QMenuData_insertItem11 (TQMenuData (), icon.RawObject, pixmap.RawObject, popup.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem12 (IntPtr raw, IntPtr widget, int identifier, int index); public int InsertItem (TQWidget widget, int identifier, int index) { return qt_QMenuData_insertItem12 (TQMenuData (), widget.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem13 (IntPtr raw, IntPtr icon, IntPtr custom, int identifier, int index); public int InsertItem (TQIconSet icon, TQCustomMenuItem custom, int identifier, int index) { return qt_QMenuData_insertItem13 (TQMenuData (), icon.RawObject, custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertItem14 (IntPtr raw, IntPtr custom, int identifier, int index); public int InsertItem (TQCustomMenuItem custom, int identifier, int index) { return qt_QMenuData_insertItem14 (TQMenuData (), custom.RawObject, identifier, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_insertSeparator (IntPtr raw, int index); public int InsertSeparator (int index) { return qt_QMenuData_insertSeparator (TQMenuData (), index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItem (IntPtr raw, int identifier); public void RemoveItem (int identifier) { qt_QMenuData_removeItem (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_removeItemAt (IntPtr raw, int index); public void RemoveItemAt (int index) { qt_QMenuData_removeItemAt (TQMenuData (), index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_clear (IntPtr raw); public void Clear () { qt_QMenuData_clear (TQMenuData ()); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_accel (IntPtr raw, int identifier); public TQKeySequence Accel (int identifier) { return (TQKeySequence)LookupObject (qt_QMenuData_accel (TQMenuData (), identifier), typeof(TQKeySequence)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setAccel (IntPtr raw, IntPtr key, int identifier); public void SetAccel (TQKeySequence key, int identifier) { qt_QMenuData_setAccel (TQMenuData (), key.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_iconSet (IntPtr raw, int identifier); public TQIconSet IconSet (int identifier) { return (TQIconSet)LookupObject (qt_QMenuData_iconSet (TQMenuData (), identifier), typeof(TQIconSet)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_text (IntPtr raw, int identifier); public string Text (int identifier) { @@ -476,21 +476,21 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_pixmap (IntPtr raw, int identifier); public TQPixmap Pixmap (int identifier) { return (TQPixmap)LookupObject (qt_QMenuData_pixmap (TQMenuData (), identifier), typeof(TQPixmap)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setWhatsThis (IntPtr raw, int identifier, IntPtr arg1); public void SetWhatsThis (int identifier, string arg1) { qt_QMenuData_setWhatsThis (TQMenuData (), identifier, new TQString (arg1).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_whatsThis (IntPtr raw, int identifier); public string WhatsThis (int identifier) { @@ -500,147 +500,147 @@ namespace Qt { return str; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem (IntPtr raw, int identifier, IntPtr text); public void ChangeItem (int identifier, string text) { qt_QMenuData_changeItem (TQMenuData (), identifier, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem1 (IntPtr raw, int identifier, IntPtr pixmap); public void ChangeItem (int identifier, TQPixmap pixmap) { qt_QMenuData_changeItem1 (TQMenuData (), identifier, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem2 (IntPtr raw, int identifier, IntPtr icon, IntPtr text); public void ChangeItem (int identifier, TQIconSet icon, string text) { qt_QMenuData_changeItem2 (TQMenuData (), identifier, icon.RawObject, new TQString (text).RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem3 (IntPtr raw, int identifier, IntPtr icon, IntPtr pixmap); public void ChangeItem (int identifier, TQIconSet icon, TQPixmap pixmap) { qt_QMenuData_changeItem3 (TQMenuData (), identifier, icon.RawObject, pixmap.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem4 (IntPtr raw, IntPtr text, int identifier); public void ChangeItem (string text, int identifier) { qt_QMenuData_changeItem4 (TQMenuData (), new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem5 (IntPtr raw, IntPtr pixmap, int identifier); public void ChangeItem (TQPixmap pixmap, int identifier) { qt_QMenuData_changeItem5 (TQMenuData (), pixmap.RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_changeItem6 (IntPtr raw, IntPtr icon, IntPtr text, int identifier); public void ChangeItem (TQIconSet icon, string text, int identifier) { qt_QMenuData_changeItem6 (TQMenuData (), icon.RawObject, new TQString (text).RawObject, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemActive (IntPtr raw, int identifier); public bool IsItemActive (int identifier) { return qt_QMenuData_isItemActive (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemEnabled (IntPtr raw, int identifier); public bool IsItemEnabled (int identifier) { return qt_QMenuData_isItemEnabled (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemEnabled (IntPtr raw, int identifier, bool enable); public void SetItemEnabled (int identifier, bool enable) { qt_QMenuData_setItemEnabled (TQMenuData (), identifier, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_isItemChecked (IntPtr raw, int identifier); public bool IsItemChecked (int identifier) { return qt_QMenuData_isItemChecked (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setItemChecked (IntPtr raw, int identifier, bool check); public void SetItemChecked (int identifier, bool check) { qt_QMenuData_setItemChecked (TQMenuData (), identifier, check); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_indexOf (IntPtr raw, int identifier); public int IndexOf (int identifier) { return qt_QMenuData_indexOf (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_setId (IntPtr raw, int index, int identifier); public void SetId (int index, int identifier) { qt_QMenuData_setId (TQMenuData (), index, identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QMenuData_setItemParameter (IntPtr raw, int identifier, int param); public bool SetItemParameter (int identifier, int param) { return qt_QMenuData_setItemParameter (TQMenuData (), identifier, param); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QMenuData_itemParameter (IntPtr raw, int identifier); public int ItemParameter (int identifier) { return qt_QMenuData_itemParameter (TQMenuData (), identifier); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem (IntPtr raw, int identifier); public TQMenuItem FindItem (int identifier) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem (TQMenuData (), identifier), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findItem1 (IntPtr raw, int identifier, IntPtr parent); public TQMenuItem FindItem (int identifier, TQMenuData parent) { return (TQMenuItem)LookupObject (qt_QMenuData_findItem1 (TQMenuData (), identifier, parent.RawObject), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QMenuData_findPopup (IntPtr raw, IntPtr arg1, int[] index); public TQMenuItem FindPopup (TQPopupMenu arg1, int[] index) { return (TQMenuItem)LookupObject (qt_QMenuData_findPopup (TQMenuData (), arg1.RawObject, index), typeof(TQMenuItem)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuInsPopup (IntPtr raw, IntPtr arg1); protected void MenuInsPopup (TQPopupMenu arg1) { qt_QMenuData_menuInsPopup (TQMenuData (), arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QMenuData_menuDelPopup (IntPtr raw, IntPtr arg1); protected void MenuDelPopup (TQPopupMenu arg1) { diff --git a/qtsharp/src/bindings/static/TQString.cs b/qtsharp/src/bindings/static/TQString.cs index cd3ba3c0..480e00af 100644 --- a/qtsharp/src/bindings/static/TQString.cs +++ b/qtsharp/src/bindings/static/TQString.cs @@ -37,12 +37,12 @@ namespace Qt { } - [DllImport("libqtc")] + [DllImport("libtqtc")] private static extern IntPtr qt_QString_null (); public static readonly TQString Null = new TQString (qt_QString_null ()); // TODO: Is there a good reason why this C# constructor is public? - [DllImport("libqtc")] + [DllImport("libtqtc")] private static extern IntPtr qt_new_QString (); public TQString () : this (TQNull.Instance) { @@ -51,14 +51,14 @@ namespace Qt { // TODO: Make sure there is a TQChar constructor that // handles unicode conversion - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QString1 (IntPtr arg1); public TQString (TQChar arg1) : this (TQNull.Instance) { rawObject = qt_new_QString1 (arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QString2 (IntPtr arg1); public TQString (TQString arg1) : this (TQNull.Instance) { @@ -67,7 +67,7 @@ namespace Qt { // TODO: Verify that this works. We have weak support for // TQByteArray - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QString3 (IntPtr arg1); public TQString (TQByteArray arg1) : this (TQNull.Instance) { @@ -77,7 +77,7 @@ namespace Qt { // TODO: This signature is wrong. The C++ version is // takes a pointer to a sequence of TQChars, not a single // TQChar - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QString4 (IntPtr unicode, uint length); public TQString (TQChar unicode, uint length) : this (TQNull.Instance) { @@ -85,7 +85,7 @@ namespace Qt { } - [DllImport("libqtc")] + [DllImport("libtqtc")] private static extern IntPtr qt_QString_setUnicodeCodes( IntPtr raw, [MarshalAs(UnmanagedType.LPWStr)] string s, @@ -107,7 +107,7 @@ namespace Qt { internal TQString (TQNull dummy) : base (TQNull.Instance) {} - [DllImport("libqtc")] + [DllImport("libtqtc")] private static extern void qt_del_QString (IntPtr str); ~TQString () { @@ -115,7 +115,7 @@ namespace Qt { } - [DllImport("libqtc")] + [DllImport("libtqtc")] private static extern ushort qt_QChar_unicode (IntPtr raw); public char this[int index] @@ -158,49 +158,49 @@ namespace Qt { // TODO: Do we need ==, !=, Equals(), etc? - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QString_isNull (IntPtr raw); public bool IsNull () { return qt_QString_isNull (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QString_isEmpty (IntPtr raw); public bool IsEmpty () { return qt_QString_isEmpty (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern uint qt_QString_length (IntPtr raw); public uint Length () { return qt_QString_length (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QString_truncate (IntPtr raw, uint pos); public void Truncate (uint pos) { qt_QString_truncate (rawObject, pos); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_fill (IntPtr raw, IntPtr c, int len); public TQString Fill (TQChar c, int len) { return new TQString (qt_QString_fill (rawObject, c.RawObject, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg (IntPtr raw, long a, int fieldwidth, int Q_base); public TQString Arg (long a, int fieldwidth, int Q_base) { return new TQString (qt_QString_arg (rawObject, a, fieldwidth, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg1 (IntPtr raw, ulong a, int fieldwidth, int Q_base); public TQString Arg (ulong a, int fieldwidth, int Q_base) { @@ -208,7 +208,7 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg2 (IntPtr raw, int a, int fieldwidth, int Q_base); public TQString Arg (int a, int fieldwidth, int Q_base) { @@ -216,7 +216,7 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg3 (IntPtr raw, uint a, int fieldwidth, int Q_base); public TQString Arg (uint a, int fieldwidth, int Q_base) { @@ -224,7 +224,7 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg4 (IntPtr raw, short a, int fieldwidth, int Q_base); public TQString Arg (short a, int fieldwidth, int Q_base) { @@ -232,7 +232,7 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg5 (IntPtr raw, ushort a, int fieldwidth, int Q_base); public TQString Arg (ushort a, int fieldwidth, int Q_base) { @@ -240,7 +240,7 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg6 (IntPtr raw, char a, int fieldwidth); public TQString Arg (char a, int fieldwidth) { @@ -248,7 +248,7 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg7 (IntPtr raw, IntPtr a, int fieldwidth); public TQString Arg (TQChar a, int fieldwidth) { @@ -256,7 +256,7 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg8 (IntPtr raw, IntPtr a, int fieldwidth); public TQString Arg (TQString a, int fieldwidth) { @@ -264,112 +264,112 @@ namespace Qt { } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_arg9 (IntPtr raw, double a, int fieldwidth, char fmt, int prec); public TQString Arg (double a, int fieldwidth, char fmt, int prec) { return new TQString (qt_QString_arg9 (rawObject, a, fieldwidth, fmt, prec)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_find (IntPtr raw, IntPtr c, int index, bool cs); public int Find (TQChar c, int index, bool cs) { return qt_QString_find (rawObject, c.RawObject, index, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_find1 (IntPtr raw, char c, int index, bool cs); public int Find (char c, int index, bool cs) { return qt_QString_find1 (rawObject, c, index, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_find2 (IntPtr raw, IntPtr str, int index, bool cs); public int Find (TQString str, int index, bool cs) { return qt_QString_find2 (rawObject, str.RawObject, index, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_find3 (IntPtr raw, IntPtr arg1, int index); public int Find (TQRegExp arg1, int index) { return qt_QString_find3 (rawObject, arg1.RawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_find4 (IntPtr raw, string str, int index); public int Find (string str, int index) { return qt_QString_find4 (rawObject, str, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_findRev (IntPtr raw, IntPtr c, int index, bool cs); public int FindRev (TQChar c, int index, bool cs) { return qt_QString_findRev (rawObject, c.RawObject, index, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_findRev1 (IntPtr raw, char c, int index, bool cs); public int FindRev (char c, int index, bool cs) { return qt_QString_findRev1 (rawObject, c, index, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_findRev2 (IntPtr raw, IntPtr str, int index, bool cs); public int FindRev (TQString str, int index, bool cs) { return qt_QString_findRev2 (rawObject, str.RawObject, index, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_findRev3 (IntPtr raw, IntPtr arg1, int index); public int FindRev (TQRegExp arg1, int index) { return qt_QString_findRev3 (rawObject, arg1.RawObject, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_findRev4 (IntPtr raw, string str, int index); public int FindRev (string str, int index) { return qt_QString_findRev4 (rawObject, str, index); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_contains (IntPtr raw, IntPtr c, bool cs); public int Contains (TQChar c, bool cs) { return qt_QString_contains (rawObject, c.RawObject, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_contains1 (IntPtr raw, char c, bool cs); public int Contains (char c, bool cs) { return qt_QString_contains1 (rawObject, c, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_contains2 (IntPtr raw, string str, bool cs); public int Contains (string str, bool cs) { return qt_QString_contains2 (rawObject, str, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_contains3 (IntPtr raw, IntPtr str, bool cs); public int Contains (TQString str, bool cs) { return qt_QString_contains3 (rawObject, str.RawObject, cs); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_contains4 (IntPtr raw, IntPtr arg1); public int Contains (TQRegExp arg1) { @@ -377,315 +377,315 @@ namespace Qt { } // TODO: This is wrong. sep should be a TQChar* in C++ terms - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_section (IntPtr raw, IntPtr sep, int start, int end, TQString.SectionFlags SectionFlags); public TQString Section (TQChar sep, int start, int end, TQString.SectionFlags SectionFlags) { return new TQString (qt_QString_section (rawObject, sep.RawObject, start, end, SectionFlags)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_section1 (IntPtr raw, char sep, int start, int end, TQString.SectionFlags SectionFlags); public TQString Section (char sep, int start, int end, TQString.SectionFlags SectionFlags) { return new TQString (qt_QString_section1 (rawObject, sep, start, end, SectionFlags)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_section2 (IntPtr raw, string in_sep, int start, int end, TQString.SectionFlags SectionFlags); public TQString Section (string in_sep, int start, int end, TQString.SectionFlags SectionFlags) { return new TQString (qt_QString_section2 (rawObject, in_sep, start, end, SectionFlags)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_section3 (IntPtr raw, IntPtr in_sep, int start, int end, TQString.SectionFlags SectionFlags); public TQString Section (TQString in_sep, int start, int end, TQString.SectionFlags SectionFlags) { return new TQString (qt_QString_section3 (rawObject, in_sep.RawObject, start, end, SectionFlags)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_section4 (IntPtr raw, IntPtr reg, int start, int end, TQString.SectionFlags SectionFlags); public TQString Section (TQRegExp reg, int start, int end, TQString.SectionFlags SectionFlags) { return new TQString (qt_QString_section4 (rawObject, reg.RawObject, start, end, SectionFlags)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_left (IntPtr raw, uint len); public TQString Left (uint len) { return new TQString (qt_QString_left (rawObject, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_right (IntPtr raw, uint len); public TQString Right (uint len) { return new TQString (qt_QString_right (rawObject, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_mid (IntPtr raw, uint index, uint len); public TQString Mid (uint index, uint len) { return new TQString (qt_QString_mid (rawObject, index, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_leftJustify (IntPtr raw, uint width, IntPtr fill, bool trunc); public TQString LeftJustify (uint width, TQChar fill, bool trunc) { return new TQString (qt_QString_leftJustify (rawObject, width, fill.RawObject, trunc)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_rightJustify (IntPtr raw, uint width, IntPtr fill, bool trunc); public TQString RightJustify (uint width, TQChar fill, bool trunc) { return new TQString (qt_QString_rightJustify (rawObject, width, fill.RawObject, trunc)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_lower (IntPtr raw); public TQString Lower () { return new TQString (qt_QString_lower (rawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_upper (IntPtr raw); public TQString Upper () { return new TQString (qt_QString_upper (rawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_stripWhiteSpace (IntPtr raw); public TQString StripWhiteSpace () { return new TQString (qt_QString_stripWhiteSpace (rawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_simplifyWhiteSpace (IntPtr raw); public TQString SimplifyWhiteSpace () { return new TQString (qt_QString_simplifyWhiteSpace (rawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_insert (IntPtr raw, uint index, IntPtr arg1); public TQString Insert (uint index, TQString arg1) { return new TQString (qt_QString_insert (rawObject, index, arg1.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_insert1 (IntPtr raw, uint index, IntPtr arg1, uint len); public TQString Insert (uint index, TQChar arg1, uint len) { return new TQString (qt_QString_insert1 (rawObject, index, arg1.RawObject, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_insert2 (IntPtr raw, uint index, IntPtr arg1); public TQString Insert (uint index, TQChar arg1) { return new TQString (qt_QString_insert2 (rawObject, index, arg1.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_insert3 (IntPtr raw, uint index, char c); public TQString Insert (uint index, char c) { return new TQString (qt_QString_insert3 (rawObject, index, c)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_append (IntPtr raw, char arg1); public TQString Append (char arg1) { return new TQString (qt_QString_append (rawObject, arg1)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_append1 (IntPtr raw, IntPtr arg1); public TQString Append (TQChar arg1) { return new TQString (qt_QString_append1 (rawObject, arg1.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_append2 (IntPtr raw, IntPtr arg1); public TQString Append (TQString arg1) { return new TQString (qt_QString_append2 (rawObject, arg1.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_prepend (IntPtr raw, char arg1); public TQString Prepend (char arg1) { return new TQString (qt_QString_prepend (rawObject, arg1)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_prepend1 (IntPtr raw, IntPtr arg1); public TQString Prepend (TQChar arg1) { return new TQString (qt_QString_prepend1 (rawObject, arg1.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_prepend2 (IntPtr raw, IntPtr arg1); public TQString Prepend (TQString arg1) { return new TQString (qt_QString_prepend2 (rawObject, arg1.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_remove (IntPtr raw, uint index, uint len); public TQString Remove (uint index, uint len) { return new TQString (qt_QString_remove (rawObject, index, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_replace (IntPtr raw, uint index, uint len, IntPtr arg1); public TQString Replace (uint index, uint len, TQString arg1) { return new TQString (qt_QString_replace (rawObject, index, len, arg1.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_replace1 (IntPtr raw, uint index, uint len, IntPtr arg1, uint clen); public TQString Replace (uint index, uint len, TQChar arg1, uint clen) { return new TQString (qt_QString_replace1 (rawObject, index, len, arg1.RawObject, clen)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_replace2 (IntPtr raw, IntPtr arg1, IntPtr arg2); public TQString Replace (TQRegExp arg1, TQString arg2) { return new TQString (qt_QString_replace2 (rawObject, arg1.RawObject, arg2.RawObject)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern short qt_QString_toShort (IntPtr raw, bool ok, int Q_base); public short ToShort (bool ok, int Q_base) { return qt_QString_toShort (rawObject, ok, Q_base); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern ushort qt_QString_toUShort (IntPtr raw, bool ok, int Q_base); public ushort ToUShort (bool ok, int Q_base) { return qt_QString_toUShort (rawObject, ok, Q_base); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_toInt (IntPtr raw, bool ok, int Q_base); public int ToInt (bool ok, int Q_base) { return qt_QString_toInt (rawObject, ok, Q_base); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern uint qt_QString_toUInt (IntPtr raw, bool ok, int Q_base); public uint ToUInt (bool ok, int Q_base) { return qt_QString_toUInt (rawObject, ok, Q_base); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern long qt_QString_toLong (IntPtr raw, bool ok, int Q_base); public long ToLong (bool ok, int Q_base) { return qt_QString_toLong (rawObject, ok, Q_base); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern ulong qt_QString_toULong (IntPtr raw, bool ok, int Q_base); public ulong ToULong (bool ok, int Q_base) { return qt_QString_toULong (rawObject, ok, Q_base); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern float qt_QString_toFloat (IntPtr raw, bool ok); public float ToFloat (bool ok) { return qt_QString_toFloat (rawObject, ok); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern double qt_QString_toDouble (IntPtr raw, bool ok); public double ToDouble (bool ok) { return qt_QString_toDouble (rawObject, ok); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum (IntPtr raw, short arg1, int Q_base); public TQString SetNum (short arg1, int Q_base) { return new TQString (qt_QString_setNum (rawObject, arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum1 (IntPtr raw, ushort arg1, int Q_base); public TQString SetNum (ushort arg1, int Q_base) { return new TQString (qt_QString_setNum1 (rawObject, arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum2 (IntPtr raw, int arg1, int Q_base); public TQString SetNum (int arg1, int Q_base) { return new TQString (qt_QString_setNum2 (rawObject, arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum3 (IntPtr raw, uint arg1, int Q_base); public TQString SetNum (uint arg1, int Q_base) { return new TQString (qt_QString_setNum3 (rawObject, arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum4 (IntPtr raw, long arg1, int Q_base); public TQString SetNum (long arg1, int Q_base) { return new TQString (qt_QString_setNum4 (rawObject, arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum5 (IntPtr raw, ulong arg1, int Q_base); public TQString SetNum (ulong arg1, int Q_base) { return new TQString (qt_QString_setNum5 (rawObject, arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum6 (IntPtr raw, float arg1, char f, int prec); public TQString SetNum (float arg1, char f, int prec) { return new TQString (qt_QString_setNum6 (rawObject, arg1, f, prec)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setNum7 (IntPtr raw, double arg1, char f, int prec); public TQString SetNum (double arg1, char f, int prec) { return new TQString (qt_QString_setNum7 (rawObject, arg1, f, prec)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QString_setExpand (IntPtr raw, uint index, IntPtr c); public void SetExpand (uint index, TQChar c) { @@ -694,203 +694,203 @@ namespace Qt { // TODO: The TQChar functions need to get fixed - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_at (IntPtr raw, uint i); public TQChar At (uint i) { return LookupObject (qt_QString_at (rawObject, i), typeof (TQChar)) as TQChar; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_constref (IntPtr raw, uint i); public TQChar Constref (uint i) { return LookupObject (qt_QString_constref (rawObject, i), typeof (TQChar)) as TQChar; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_ref (IntPtr raw, uint i); public TQChar Q_ref (uint i) { return LookupObject (qt_QString_ref (rawObject, i), typeof (TQChar)) as TQChar; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_unicode (IntPtr raw); public TQChar Unicode () { return LookupObject (qt_QString_unicode (rawObject), typeof (TQChar)) as TQChar; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern string qt_QString_ascii (IntPtr raw); public string Ascii () { return qt_QString_ascii (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern string qt_QString_latin1 (IntPtr raw); public string Latin1 () { return qt_QString_latin1 (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_utf8 (IntPtr raw); public TQCString Utf8 () { return LookupObject (qt_QString_utf8 (rawObject), typeof (TQCString)) as TQCString; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_local8Bit (IntPtr raw); public TQCString Local8Bit () { return LookupObject (qt_QString_local8Bit (rawObject), typeof (TQCString)) as TQCString; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setUnicode (IntPtr raw, IntPtr unicode, uint len); public TQString SetUnicode (TQChar unicode, uint len) { return new TQString (qt_QString_setUnicode (rawObject, unicode.RawObject, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_setLatin1 (IntPtr raw, string arg1, int len); public TQString SetLatin1 (string arg1, int len) { return new TQString (qt_QString_setLatin1 (rawObject, arg1, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_compare (IntPtr raw, IntPtr s); public int Compare (TQString s) { return qt_QString_compare (rawObject, s.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_localeAwareCompare (IntPtr raw, IntPtr s); public int LocaleAwareCompare (TQString s) { return qt_QString_localeAwareCompare (rawObject, s.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QString_compose (IntPtr raw); public void Compose () { qt_QString_compose (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern string qt_QString_data (IntPtr raw); public string Data () { return qt_QString_data (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QString_startsWith (IntPtr raw, IntPtr arg1); public bool StartsWith (TQString arg1) { return qt_QString_startsWith (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QString_endsWith (IntPtr raw, IntPtr arg1); public bool EndsWith (TQString arg1) { return qt_QString_endsWith (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QString_setLength (IntPtr raw, uint newLength); public void SetLength (uint newLength) { qt_QString_setLength (rawObject, newLength); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QString_simpleText (IntPtr raw); public bool SimpleText () { return qt_QString_simpleText (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QString_isRightToLeft (IntPtr raw); public bool IsRightToLeft () { return qt_QString_isRightToLeft (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_number (long arg1, int Q_base); public static TQString Number (long arg1, int Q_base) { return new TQString (qt_QString_number (arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_number1 (ulong arg1, int Q_base); public static TQString Number (ulong arg1, int Q_base) { return new TQString (qt_QString_number1 (arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_number2 (int arg1, int Q_base); public static TQString Number (int arg1, int Q_base) { return new TQString (qt_QString_number2 (arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_number3 (uint arg1, int Q_base); public static TQString Number (uint arg1, int Q_base) { return new TQString (qt_QString_number3 (arg1, Q_base)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_number4 (double arg1, char f, int prec); public static TQString Number (double arg1, char f, int prec) { return new TQString (qt_QString_number4 (arg1, f, prec)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_fromLatin1 (string arg1, int len); public static TQString FromLatin1 (string arg1, int len) { return new TQString (qt_QString_fromLatin1 (arg1, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_fromUtf8 (TQString arg1, int len); public static TQString FromUtf8 (string arg1, int len) { return new TQString (qt_QString_fromUtf8 (arg1, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QString_fromLocal8Bit (TQString arg1, int len); public static TQString FromLocal8Bit (string arg1, int len) { return new TQString (qt_QString_fromLocal8Bit (arg1, len)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_compare1 (IntPtr s1, IntPtr s2); public static int Compare (TQString s1, TQString s2) { return qt_QString_compare1 (s1.RawObject, s2.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QString_localeAwareCompare1 (IntPtr s1, IntPtr s2); public static int LocaleAwareCompare (TQString s1, TQString s2) { diff --git a/qtsharp/src/bindings/static/TQStyle.cs b/qtsharp/src/bindings/static/TQStyle.cs index 859b1efe..ac3fa9e8 100644 --- a/qtsharp/src/bindings/static/TQStyle.cs +++ b/qtsharp/src/bindings/static/TQStyle.cs @@ -294,7 +294,7 @@ namespace Qt { Dispose(false); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QStyle (IntPtr obj); internal override void Delete () { @@ -304,175 +304,175 @@ namespace Qt { deleted = true; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polish (IntPtr raw, IntPtr arg1); public void polish (TQWidget arg1) { qt_QStyle_polish (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_unPolish (IntPtr raw, IntPtr arg1); public void unPolish (TQWidget arg1) { qt_QStyle_unPolish (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polish1 (IntPtr raw, IntPtr arg1); public void polish (TQApplication arg1) { qt_QStyle_polish1 (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_unPolish1 (IntPtr raw, IntPtr arg1); public void unPolish (TQApplication arg1) { qt_QStyle_unPolish1 (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polish2 (IntPtr raw, IntPtr arg1); public void polish (TQPalette arg1) { qt_QStyle_polish2 (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_polishPopupMenu (IntPtr raw, IntPtr arg1); public void polishPopupMenu (TQPopupMenu arg1) { qt_QStyle_polishPopupMenu (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_itemRect (IntPtr raw, IntPtr p, IntPtr r, int flags, bool enabled, IntPtr pixmap, IntPtr text, int len); public TQRect itemRect (TQPainter p, TQRect r, int flags, bool enabled, TQPixmap pixmap, string text, int len) { return (TQRect)LookupObject (qt_QStyle_itemRect (rawObject, p.RawObject, r.RawObject, flags, enabled, pixmap.RawObject, new TQString (text).RawObject, len), typeof(TQRect)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_drawItem (IntPtr raw, IntPtr p, IntPtr r, int flags, IntPtr g, bool enabled, IntPtr pixmap, IntPtr text, int len, IntPtr penColor); public void drawItem (TQPainter p, TQRect r, int flags, TQColorGroup g, bool enabled, TQPixmap pixmap, string text, int len, TQColor penColor) { qt_QStyle_drawItem (rawObject, p.RawObject, r.RawObject, flags, g.RawObject, enabled, pixmap.RawObject, new TQString (text).RawObject, len, penColor.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_drawPrimitive (IntPtr raw, TQStyle.PrimitiveElement pe, IntPtr p, IntPtr r, IntPtr cg, TQStyle.StyleFlags flags, IntPtr arg1); public void drawPrimitive (TQStyle.PrimitiveElement pe, TQPainter p, TQRect r, TQColorGroup cg, TQStyle.StyleFlags flags, TQStyleOption arg1) { qt_QStyle_drawPrimitive (rawObject, pe, p.RawObject, r.RawObject, cg.RawObject, flags, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_drawControl (IntPtr raw, TQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TQStyle.StyleFlags how, IntPtr arg1); public void drawControl (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyleOption arg1) { qt_QStyle_drawControl (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_drawControlMask (IntPtr raw, TQStyle.ControlElement element, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); public void drawControlMask (TQStyle.ControlElement element, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg1) { qt_QStyle_drawControlMask (rawObject, element, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_subRect (IntPtr raw, TQStyle.SubRect r, IntPtr widget); public TQRect subRect (TQStyle.SubRect r, TQWidget widget) { return (TQRect)LookupObject (qt_QStyle_subRect (rawObject, r, widget.RawObject), typeof(TQRect)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_drawComplexControl (IntPtr raw, TQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr cg, TQStyle.StyleFlags how, TQStyle.SubControl sub, TQStyle.SubControl subActive, IntPtr arg1); public void drawComplexControl (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, TQStyle.StyleFlags how, TQStyle.SubControl sub, TQStyle.SubControl subActive, TQStyleOption arg1) { qt_QStyle_drawComplexControl (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, cg.RawObject, how, sub, subActive, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_drawComplexControlMask (IntPtr raw, TQStyle.ComplexControl control, IntPtr p, IntPtr widget, IntPtr r, IntPtr arg1); public void drawComplexControlMask (TQStyle.ComplexControl control, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg1) { qt_QStyle_drawComplexControlMask (rawObject, control, p.RawObject, widget.RawObject, r.RawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_querySubControlMetrics (IntPtr raw, TQStyle.ComplexControl control, IntPtr widget, TQStyle.SubControl sc, IntPtr arg1); public TQRect querySubControlMetrics (TQStyle.ComplexControl control, TQWidget widget, TQStyle.SubControl sc, TQStyleOption arg1) { return (TQRect)LookupObject (qt_QStyle_querySubControlMetrics (rawObject, control, widget.RawObject, sc, arg1.RawObject), typeof(TQRect)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern TQStyle.SubControl qt_QStyle_querySubControl (IntPtr raw, TQStyle.ComplexControl control, IntPtr widget, IntPtr pos, IntPtr arg1); public TQStyle.SubControl querySubControl (TQStyle.ComplexControl control, TQWidget widget, TQPoint pos, TQStyleOption arg1) { return qt_QStyle_querySubControl (rawObject, control, widget.RawObject, pos.RawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QStyle_pixelMetric (IntPtr raw, TQStyle.PixelMetric metric, IntPtr widget); public int pixelMetric (TQStyle.PixelMetric metric, TQWidget widget) { return qt_QStyle_pixelMetric (rawObject, metric, widget.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_sizeFromContents (IntPtr raw, TQStyle.ContentsType contents, IntPtr widget, IntPtr contentsSize, IntPtr arg1); public TQSize sizeFromContents (TQStyle.ContentsType contents, TQWidget widget, TQSize contentsSize, TQStyleOption arg1) { return (TQSize)LookupObject (qt_QStyle_sizeFromContents (rawObject, contents, widget.RawObject, contentsSize.RawObject, arg1.RawObject), typeof(TQSize)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QStyle_styleHint (IntPtr raw, StyleHint stylehint, IntPtr widget, IntPtr arg1, IntPtr returnData); public int styleHint (StyleHint stylehint, TQWidget widget, TQStyleOption arg1, IntPtr returnData) { return qt_QStyle_styleHint (rawObject, stylehint, widget.RawObject, arg1.RawObject, returnData); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_stylePixmap (IntPtr raw, TQStyle.StylePixmap stylepixmap, IntPtr widget, IntPtr arg1); public TQPixmap stylePixmap (TQStyle.StylePixmap stylepixmap, TQWidget widget, TQStyleOption arg1) { return (TQPixmap)LookupObject (qt_QStyle_stylePixmap (rawObject, stylepixmap, widget.RawObject, arg1.RawObject), typeof(TQPixmap)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QStyle_defaultFrameWidth (IntPtr raw); public int defaultFrameWidth () { return qt_QStyle_defaultFrameWidth (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QStyle_tabbarMetrics (IntPtr raw, IntPtr t, int hf, int vf, int ov); public void tabbarMetrics (TQWidget t, int hf, int vf, int ov) { qt_QStyle_tabbarMetrics (rawObject, t.RawObject, hf, vf, ov); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_scrollBarExtent (IntPtr raw); public TQSize scrollBarExtent () { return (TQSize)LookupObject (qt_QStyle_scrollBarExtent (rawObject), typeof(TQSize)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_visualRect (IntPtr logical, IntPtr w); public static TQRect visualRect (TQRect logical, TQWidget w) { return (TQRect)LookupObject (qt_QStyle_visualRect (logical.RawObject, w.RawObject), typeof(TQRect)); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QStyle_visualRect1 (IntPtr logical, IntPtr bounding); public static TQRect visualRect (TQRect logical, TQRect bounding) { diff --git a/qtsharp/src/bindings/static/TQToolButton.cs b/qtsharp/src/bindings/static/TQToolButton.cs index 596f6369..6f3d7dfa 100644 --- a/qtsharp/src/bindings/static/TQToolButton.cs +++ b/qtsharp/src/bindings/static/TQToolButton.cs @@ -28,7 +28,7 @@ namespace Qt { public class TQToolButton : TQButton, IDisposable { - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QToolButton (IntPtr parent, string name); public TQToolButton (TQWidget parent, string name) : this (TQNull.Instance) { @@ -41,7 +41,7 @@ namespace Qt { Connect (this, TQT_SIGNAL ("destroyed ()"), TQT_SLOT ("NativeDestroyed ()")); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QToolButton1 (IntPtr iconSet, IntPtr textLabel, IntPtr groupText, IntPtr receiver, string slot, IntPtr parent, string name); public TQToolButton (TQIconSet iconSet, TQString textLabel, TQString groupText, TQObject receiver, string slot, TQToolBar parent, string name) : this (TQNull.Instance) { @@ -56,7 +56,7 @@ namespace Qt { Connect (this, TQT_SIGNAL ("destroyed ()"), TQT_SLOT ("NativeDestroyed ()")); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QToolButton2 (Qt.ArrowType type, IntPtr parent, string name); public TQToolButton (Qt.ArrowType type, TQWidget parent, string name) : this (TQNull.Instance) { @@ -90,11 +90,11 @@ namespace Qt { { if (deleted) return; - // libqtc lacks a qt_del_QToolButton function + // libtqtc lacks a qt_del_QToolButton function deleted = true; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setUsesBigPixmap (IntPtr raw, bool enable); public void SetUsesBigPixmap (bool enable) { @@ -104,7 +104,7 @@ namespace Qt { qt_QToolButton_setUsesBigPixmap (rawObject, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setUsesTextLabel (IntPtr raw, bool enable); public void SetUsesTextLabel (bool enable) { @@ -114,7 +114,7 @@ namespace Qt { qt_QToolButton_setUsesTextLabel (rawObject, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setTextLabel (IntPtr raw, IntPtr arg1, bool arg2); public void SetTextLabel (TQString arg1, bool arg2) { @@ -124,7 +124,7 @@ namespace Qt { qt_QToolButton_setTextLabel (rawObject, arg1.RawObject, arg2); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setToggleButton (IntPtr raw, bool enable); public void SetToggleButton (bool enable) { @@ -134,7 +134,7 @@ namespace Qt { qt_QToolButton_setToggleButton (rawObject, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setOn (IntPtr raw, bool enable); public void SetOn (bool enable) { @@ -144,7 +144,7 @@ namespace Qt { qt_QToolButton_setOn (rawObject, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_toggle (IntPtr raw); public void Toggle () { @@ -154,7 +154,7 @@ namespace Qt { qt_QToolButton_toggle (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setTextLabel1 (IntPtr raw, IntPtr arg1); public void SetTextLabel (TQString arg1) { @@ -164,7 +164,7 @@ namespace Qt { qt_QToolButton_setTextLabel1 (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setIconSet (IntPtr raw, IntPtr set); public void SetIconSet (TQIconSet set) { @@ -174,7 +174,7 @@ namespace Qt { qt_QToolButton_setIconSet (rawObject, set.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setIconSet1 (IntPtr raw, IntPtr set, bool on); public void SetIconSet (TQIconSet set, bool on) { @@ -184,7 +184,7 @@ namespace Qt { qt_QToolButton_setIconSet1 (rawObject, set.RawObject, on); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QToolButton_iconSet (IntPtr raw, bool on); public TQIconSet IconSet (bool on) { @@ -194,7 +194,7 @@ namespace Qt { return LookupObject (qt_QToolButton_iconSet (rawObject, on), typeof (TQIconSet)) as TQIconSet; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setPopupDelay (IntPtr raw, int delay); public void SetPopupDelay (int delay) { @@ -204,7 +204,7 @@ namespace Qt { qt_QToolButton_setPopupDelay (rawObject, delay); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QToolButton_popupDelay (IntPtr raw); public int PopupDelay () { @@ -214,7 +214,7 @@ namespace Qt { return qt_QToolButton_popupDelay (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_openPopup (IntPtr raw); public void OpenPopup () { @@ -224,7 +224,7 @@ namespace Qt { qt_QToolButton_openPopup (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_setAutoRaise (IntPtr raw, bool enable); public void SetAutoRaise (bool enable) { @@ -234,7 +234,7 @@ namespace Qt { qt_QToolButton_setAutoRaise (rawObject, enable); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QToolButton_autoRaise (IntPtr raw); public bool AutoRaise () { @@ -244,7 +244,7 @@ namespace Qt { return qt_QToolButton_autoRaise (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_drawButtonLabel (IntPtr raw, IntPtr arg1); protected void DrawButtonLabel (TQPainter arg1) { @@ -254,7 +254,7 @@ namespace Qt { qt_QToolButton_drawButtonLabel (rawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QToolButton_uses3D (IntPtr raw); protected bool Uses3D () { @@ -264,7 +264,7 @@ namespace Qt { return qt_QToolButton_uses3D (rawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QToolButton_eventFilter (IntPtr raw, IntPtr o, IntPtr e); protected bool EventFilter (TQObject o, TQEvent e) { @@ -274,7 +274,7 @@ namespace Qt { return qt_QToolButton_eventFilter (rawObject, o.RawObject, e.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QToolButton_paletteChange (IntPtr raw, IntPtr arg1); protected void PaletteChange (TQPalette arg1) { diff --git a/qtsharp/src/bindings/static/TQWidgetStack.cs b/qtsharp/src/bindings/static/TQWidgetStack.cs index 04de573f..6273982f 100644 --- a/qtsharp/src/bindings/static/TQWidgetStack.cs +++ b/qtsharp/src/bindings/static/TQWidgetStack.cs @@ -29,7 +29,7 @@ namespace Qt { private ArrayList widgets; - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QWidgetStack (IntPtr parent, string name); public TQWidgetStack (TQWidget parent, string name) : this (TQNull.Instance) { @@ -59,7 +59,7 @@ namespace Qt { Dispose (false); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_del_QWidgetStack (IntPtr raw); internal override void Delete () { @@ -69,7 +69,7 @@ namespace Qt { deleted = true; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QWidgetStack_addWidget (IntPtr raw, IntPtr arg1, int arg2); public int AddWidget (TQWidget arg1, int arg2) { @@ -77,7 +77,7 @@ namespace Qt { return qt_QWidgetStack_addWidget (RawObject, arg1.RawObject, arg2); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_removeWidget (IntPtr raw, IntPtr arg1); public void RemoveWidget (TQWidget arg1) { @@ -85,77 +85,77 @@ namespace Qt { qt_QWidgetStack_removeWidget (RawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_sizeHint (IntPtr raw); public TQSize SizeHint () { return LookupObject (qt_QWidgetStack_sizeHint (RawObject), typeof(TQSize)) as TQSize; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_minimumSizeHint (IntPtr raw); public TQSize MinimumSizeHint () { return LookupObject (qt_QWidgetStack_minimumSizeHint (RawObject), typeof(TQSize)) as TQSize; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_show (IntPtr raw); public void Show () { qt_QWidgetStack_show (RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_widget (IntPtr raw, int arg1); public TQWidget Widget (int arg1) { return LookupObject (qt_QWidgetStack_widget (RawObject, arg1), typeof(TQWidget)) as TQWidget; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern int qt_QWidgetStack_id (IntPtr raw, IntPtr arg1); public int Id (TQWidget arg1) { return qt_QWidgetStack_id (RawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QWidgetStack_visibleWidget (IntPtr raw); public TQWidget VisibleWidget () { return LookupObject (qt_QWidgetStack_visibleWidget (RawObject), typeof(TQWidget)) as TQWidget; } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_setFrameRect (IntPtr raw, IntPtr arg1); public void SetFrameRect (TQRect arg1) { qt_QWidgetStack_setFrameRect (RawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_raiseWidget (IntPtr raw, int arg1); public void RaiseWidget (int arg1) { qt_QWidgetStack_raiseWidget (RawObject, arg1); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_raiseWidget1 (IntPtr raw, IntPtr arg1); public void RaiseWidget (TQWidget arg1) { qt_QWidgetStack_raiseWidget1 (RawObject, arg1.RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_frameChanged (IntPtr raw); protected void FrameChanged () { qt_QWidgetStack_frameChanged (RawObject); } - [DllImport("libqtc", CharSet=CharSet.Ansi)] + [DllImport("libtqtc", CharSet=CharSet.Ansi)] private static extern void qt_QWidgetStack_setChildGeometries (IntPtr raw); protected void SetChildGeometries () { diff --git a/qtsharp/src/generator/Printer.cs b/qtsharp/src/generator/Printer.cs index cb90c4b8..1289f107 100644 --- a/qtsharp/src/generator/Printer.cs +++ b/qtsharp/src/generator/Printer.cs @@ -435,7 +435,7 @@ namespace QtCSharp { public string ImportAttrib { - get {return "\n\n"+tab+tab+"[DllImport(\"libqtc\", CharSet=CharSet.Ansi)]";} + get {return "\n\n"+tab+tab+"[DllImport(\"libtqtc\", CharSet=CharSet.Ansi)]";} } public string Import () { @@ -504,7 +504,7 @@ namespace QtCSharp { if (qtype.TQDCtors.Count > 0) ret += "\t\t\tqt_del_"+qtype.Name+" (rawObject);\n"; else - ret = "\n" + ret + "\t\t\t// libqtc lacks a qt_del_"+qtype.Name+" function\n"; + ret = "\n" + ret + "\t\t\t// libtqtc lacks a qt_del_"+qtype.Name+" function\n"; ret += "\t\t\tdeleted = true;\n"; } diff --git a/qtsharp/src/libqtsharp/Makefile.am b/qtsharp/src/libqtsharp/Makefile.am index 811c5ab3..382849ef 100644 --- a/qtsharp/src/libqtsharp/Makefile.am +++ b/qtsharp/src/libqtsharp/Makefile.am @@ -1,12 +1,12 @@ -lib_LTLIBRARIES = libqtsharp.la -libqtsharp_la_SOURCES = customslot.cpp qtsharp.cpp +lib_LTLIBRARIES = libtqtsharp.la +libtqtsharp_la_SOURCES = customslot.cpp qtsharp.cpp -libqtsharp_la_LDFLAGS = $(QT_LDFLAGS) $(LIB_TQT) -no-undefined -version-info 0:0:0 $(all_libraries) ../../../qtc/clib/qtc/libqtc.la +libtqtsharp_la_LDFLAGS = $(QT_LDFLAGS) $(LIB_TQT) -no-undefined -version-info 0:0:0 $(all_libraries) ../../../qtc/clib/qtc/libtqtc.la KDE_OPTIONS = qtonly INCLUDES= $(all_includes) -libqtsharp_la_METASOURCES = AUTO +libtqtsharp_la_METASOURCES = AUTO |