diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtsharp/src/bindings/static/QApplication.cs | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtsharp/src/bindings/static/QApplication.cs')
-rw-r--r-- | qtsharp/src/bindings/static/QApplication.cs | 202 |
1 files changed, 101 insertions, 101 deletions
diff --git a/qtsharp/src/bindings/static/QApplication.cs b/qtsharp/src/bindings/static/QApplication.cs index 61dd8019..6d8accd4 100644 --- a/qtsharp/src/bindings/static/QApplication.cs +++ b/qtsharp/src/bindings/static/QApplication.cs @@ -1,4 +1,4 @@ -// TQApplication.cs - A Qt to C# binding. +// TTQApplication.cs - A Qt to C# binding. // // Copyright (C) 2002 Adam Treat (manyoso@yahoo.com) // @@ -25,7 +25,7 @@ namespace Qt { using System.Collections; using System.Runtime.InteropServices; - public class TQApplication : TQObject, IDisposable { + public class TTQApplication : TTQObject, IDisposable { public enum Type { Tty = 0, @@ -51,9 +51,9 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication (int argc, string[] argv); - public TQApplication (string[] argv) : this (QNull.Instance) + public TTQApplication (string[] argv) : this (TQNull.Instance) { - TQObject.qApp = this; + TTQObject.qApp = this; qparent = null; argv = ParseArguments (argv); rawObject = qt_new_QApplication (argv.Length, argv); @@ -63,9 +63,9 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication1 (int argc, string[] argv, bool GUIenabled); - public TQApplication (string[] argv, bool GUIenabled) : this (QNull.Instance) + public TTQApplication (string[] argv, bool GUIenabled) : this (TQNull.Instance) { - TQObject.qApp = this; + TTQObject.qApp = this; qparent = null; argv = ParseArguments (argv); rawObject = qt_new_QApplication1 (argv.Length, argv, GUIenabled); @@ -75,9 +75,9 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_new_QApplication2 (int argc, string[] argv, Type arg1); - public TQApplication (string[] argv, Type arg1) : this (QNull.Instance) + public TTQApplication (string[] argv, Type arg1) : this (TQNull.Instance) { - TQObject.qApp = this; + TTQObject.qApp = this; qparent = null; argv = ParseArguments (argv); rawObject = qt_new_QApplication2 (argv.Length, argv, arg1); @@ -87,9 +87,9 @@ namespace Qt { [DllImport("libqtc", 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 (QNull.Instance) + public TTQApplication (IntPtr dpy, uint visual, uint cmap) : this (TQNull.Instance) { - TQObject.qApp = this; + TTQObject.qApp = this; qparent = null; rawObject = qt_new_QApplication3 (dpy, visual, cmap); RegisterObject (this); @@ -98,9 +98,9 @@ namespace Qt { [DllImport("libqtc", 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 (QNull.Instance) + public TTQApplication (IntPtr dpy, string[] argv, uint visual, uint cmap) : this (TQNull.Instance) { - TQObject.qApp = this; + TTQObject.qApp = this; qparent = null; argv = ParseArguments (argv); rawObject = qt_new_QApplication4 (dpy, argv.Length, argv, visual, cmap); @@ -108,19 +108,19 @@ namespace Qt { RegisterEventDelegate (); } - public TQApplication (IntPtr dpy) : this (dpy, (uint) 0) {} + public TTQApplication (IntPtr dpy) : this (dpy, (uint) 0) {} - public TQApplication (IntPtr dpy, uint visual) : this (dpy, visual, (uint) 0) {} + public TTQApplication (IntPtr dpy, uint visual) : this (dpy, visual, (uint) 0) {} - public TQApplication (IntPtr dpy, string[] argv) : this (dpy, argv, (uint) 0) {} + public TTQApplication (IntPtr dpy, string[] argv) : this (dpy, argv, (uint) 0) {} - public TQApplication (IntPtr dpy, string[] argv, uint visual) : this (dpy, argv, visual, (uint) 0) {} + public TTQApplication (IntPtr dpy, string[] argv, uint visual) : this (dpy, argv, visual, (uint) 0) {} - internal TQApplication () : this (QNull.Instance) {} + internal TTQApplication () : this (TQNull.Instance) {} - internal TQApplication (QNull dummy) : base (QNull.Instance) {} + internal TTQApplication (TQNull dummy) : base (TQNull.Instance) {} - ~TQApplication () + ~TTQApplication () { Dispose (false); } @@ -204,37 +204,37 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_mainWidget (IntPtr raw); - public TQWidget MainWidget () + public TTQWidget MainWidget () { - return (TQWidget)LookupObject (qt_QApplication_mainWidget (rawObject), typeof(TQWidget)); + return (TTQWidget)LookupObject (qt_QApplication_mainWidget (rawObject), typeof(TTQWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setMainWidget (IntPtr raw, IntPtr arg1); - public void SetMainWidget (TQWidget arg1) + public void SetMainWidget (TTQWidget arg1) { qt_QApplication_setMainWidget (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_polish (IntPtr raw, IntPtr arg1); - public void Polish (TQWidget arg1) + public void Polish (TTQWidget arg1) { qt_QApplication_polish (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_focusWidget (IntPtr raw); - public TQWidget FocusWidget () + public TTQWidget FocusWidget () { - return (TQWidget)LookupObject (qt_QApplication_focusWidget (rawObject), typeof(TQWidget)); + return (TTQWidget)LookupObject (qt_QApplication_focusWidget (rawObject), typeof(TTQWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_activeWindow (IntPtr raw); - public TQWidget ActiveWindow () + public TTQWidget ActiveWindow () { - return (TQWidget)LookupObject (qt_QApplication_activeWindow (rawObject), typeof(TQWidget)); + return (TTQWidget)LookupObject (qt_QApplication_activeWindow (rawObject), typeof(TTQWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -288,35 +288,35 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern bool qt_QApplication_notify (IntPtr raw, IntPtr arg1, IntPtr arg2); - public bool Notify (TQObject arg1, TQEvent arg2) + public bool Notify (TTQObject arg1, TTQEvent arg2) { return qt_QApplication_notify (rawObject, arg1.RawObject, arg2.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setDefaultCodec (IntPtr raw, IntPtr arg1); - public void SetDefaultCodec (TQTextCodec arg1) + public void SetDefaultCodec (TTQTextCodec arg1) { qt_QApplication_setDefaultCodec (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_defaultCodec (IntPtr raw); - public TQTextCodec DefaultCodec () + public TTQTextCodec DefaultCodec () { - return (TQTextCodec)LookupObject (qt_QApplication_defaultCodec (rawObject), typeof(TQTextCodec)); + return (TTQTextCodec)LookupObject (qt_QApplication_defaultCodec (rawObject), typeof(TTQTextCodec)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_installTranslator (IntPtr raw, IntPtr arg1); - public void InstallTranslator (QTranslator arg1) + public void InstallTranslator (TQTranslator arg1) { qt_QApplication_installTranslator (rawObject, arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_removeTranslator (IntPtr raw, IntPtr arg1); - public void RemoveTranslator (QTranslator arg1) + public void RemoveTranslator (TQTranslator arg1) { qt_QApplication_removeTranslator (rawObject, arg1.RawObject); } @@ -325,7 +325,7 @@ namespace Qt { 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) { - TQString qstr = new TQString (qt_QApplication_translate (rawObject, context, key, comment, encoding)); + TTQString qstr = new TTQString (qt_QApplication_translate (rawObject, context, key, comment, encoding)); string str = qstr.Latin1 (); qstr.Dispose (); return str; @@ -354,7 +354,7 @@ namespace Qt { [DllImport("libqtc", 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) + public int X11ClientMessage (TTQWidget arg1, IntPtr arg2, bool passive_only) { return qt_QApplication_x11ClientMessage (rawObject, arg1.RawObject, arg2, passive_only); } @@ -375,7 +375,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_winFocus (IntPtr raw, IntPtr arg1, bool arg2); - public void WinFocus (TQWidget arg1, bool arg2) + public void WinFocus (TTQWidget arg1, bool arg2) { qt_QApplication_winFocus (rawObject, arg1.RawObject, arg2); } @@ -391,7 +391,7 @@ namespace Qt { private static extern IntPtr qt_QApplication_sessionId (IntPtr raw); public string SessionId () { - TQString qstr = new TQString (qt_QApplication_sessionId (rawObject)); + TTQString qstr = new TTQString (qt_QApplication_sessionId (rawObject)); string str = qstr.Latin1 (); qstr.Dispose (); return str; @@ -399,14 +399,14 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_commitData (IntPtr raw, IntPtr sm); - public void CommitData (QSessionManager sm) + public void CommitData (TQSessionManager sm) { qt_QApplication_commitData (rawObject, sm.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_saveState (IntPtr raw, IntPtr sm); - public void SaveState (QSessionManager sm) + public void SaveState (TQSessionManager sm) { qt_QApplication_saveState (rawObject, sm.RawObject); } @@ -448,7 +448,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setEnableRemoteControl (IntPtr raw, bool enable, IntPtr appId); - public void SetEnableRemoteControl (bool enable, QUuid appId) + public void SetEnableRemoteControl (bool enable, TQUuid appId) { qt_QApplication_setEnableRemoteControl (rawObject, enable, appId.RawObject); } @@ -462,9 +462,9 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_applicationId (IntPtr raw); - public QUuid ApplicationId () + public TQUuid ApplicationId () { - return (QUuid)LookupObject (qt_QApplication_applicationId (rawObject), typeof(QUuid)); + return (TQUuid)LookupObject (qt_QApplication_applicationId (rawObject), typeof(TQUuid)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -483,23 +483,23 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_style (); - public static TQStyle Style () + public static TTQStyle Style () { - return (TQStyle)LookupObject (qt_QApplication_style (), typeof(TQStyle)); + return (TTQStyle)LookupObject (qt_QApplication_style (), typeof(TTQStyle)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setStyle (IntPtr arg1); - public static void SetStyle (TQStyle arg1) + public static void SetStyle (TTQStyle arg1) { qt_QApplication_setStyle (arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_setStyle1 (IntPtr arg1); - public static TQStyle SetStyle (string arg1) + public static TTQStyle SetStyle (string arg1) { - return (TQStyle)LookupObject (qt_QApplication_setStyle1 (new TQString (arg1).RawObject), typeof(TQStyle)); + return (TTQStyle)LookupObject (qt_QApplication_setStyle1 (new TTQString (arg1).RawObject), typeof(TTQStyle)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -510,8 +510,8 @@ namespace Qt { } [DllImport("libqtc", CharSet=CharSet.Ansi)] - private static extern void qt_QApplication_setColorMode (TQApplication.ColorMode arg1); - public static void SetColorMode (TQApplication.ColorMode arg1) + private static extern void qt_QApplication_setColorMode (TTQApplication.ColorMode arg1); + public static void SetColorMode (TTQApplication.ColorMode arg1) { qt_QApplication_setColorMode (arg1); } @@ -532,14 +532,14 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_overrideCursor (); - public static TQCursor OverrideCursor () + public static TTQCursor OverrideCursor () { - return (TQCursor)LookupObject (qt_QApplication_overrideCursor (), typeof(TQCursor)); + return (TTQCursor)LookupObject (qt_QApplication_overrideCursor (), typeof(TTQCursor)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setOverrideCursor (IntPtr arg1, bool replace); - public static void SetOverrideCursor (TQCursor arg1, bool replace) + public static void SetOverrideCursor (TTQCursor arg1, bool replace) { qt_QApplication_setOverrideCursor (arg1.RawObject, replace); } @@ -567,93 +567,93 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_palette (IntPtr arg1); - public static TQPalette Palette (TQWidget arg1) + public static TTQPalette Palette (TTQWidget arg1) { - return (TQPalette)LookupObject (qt_QApplication_palette (arg1.RawObject), typeof(TQPalette)); + return (TTQPalette)LookupObject (qt_QApplication_palette (arg1.RawObject), typeof(TTQPalette)); } [DllImport("libqtc", 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) + public static void SetPalette (TTQPalette arg1, bool informWidgets, string className) { qt_QApplication_setPalette (arg1.RawObject, informWidgets, className); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_font (IntPtr arg1); - public static TQFont Font (TQWidget arg1) + public static TTQFont Font (TTQWidget arg1) { - return (TQFont)LookupObject (qt_QApplication_font (arg1.RawObject), typeof(TQFont)); + return (TTQFont)LookupObject (qt_QApplication_font (arg1.RawObject), typeof(TTQFont)); } [DllImport("libqtc", 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) + public static void SetFont (TTQFont arg1, bool informWidgets, string className) { qt_QApplication_setFont (arg1.RawObject, informWidgets, className); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_fontMetrics (); - public static TQFontMetrics FontMetrics () + public static TTQFontMetrics FontMetrics () { - return (TQFontMetrics)LookupObject (qt_QApplication_fontMetrics (), typeof(TQFontMetrics)); + return (TTQFontMetrics)LookupObject (qt_QApplication_fontMetrics (), typeof(TTQFontMetrics)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_allWidgets (); - public static TQWidgetList AllWidgets () + public static TTQWidgetList AllWidgets () { - return (TQWidgetList)LookupObject (qt_QApplication_allWidgets (), typeof(TQWidgetList)); + return (TTQWidgetList)LookupObject (qt_QApplication_allWidgets (), typeof(TTQWidgetList)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_topLevelWidgets (); - public static TQWidgetList TopLevelWidgets () + public static TTQWidgetList TopLevelWidgets () { - return (TQWidgetList)LookupObject (qt_QApplication_topLevelWidgets (), typeof(TQWidgetList)); + return (TTQWidgetList)LookupObject (qt_QApplication_topLevelWidgets (), typeof(TTQWidgetList)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_desktop (); - public static TQDesktopWidget Desktop () + public static TTQDesktopWidget Desktop () { - return (TQDesktopWidget)LookupObject (qt_QApplication_desktop (), typeof(TQDesktopWidget)); + return (TTQDesktopWidget)LookupObject (qt_QApplication_desktop (), typeof(TTQDesktopWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_activePopupWidget (); - public static TQWidget ActivePopupWidget () + public static TTQWidget ActivePopupWidget () { - return (TQWidget)LookupObject (qt_QApplication_activePopupWidget (), typeof(TQWidget)); + return (TTQWidget)LookupObject (qt_QApplication_activePopupWidget (), typeof(TTQWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_activeModalWidget (); - public static TQWidget ActiveModalWidget () + public static TTQWidget ActiveModalWidget () { - return (TQWidget)LookupObject (qt_QApplication_activeModalWidget (), typeof(TQWidget)); + return (TTQWidget)LookupObject (qt_QApplication_activeModalWidget (), typeof(TTQWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_clipboard (); - public static QClipboard Clipboard () + public static TQClipboard Clipboard () { - return (QClipboard)LookupObject (qt_QApplication_clipboard (), typeof(QClipboard)); + return (TQClipboard)LookupObject (qt_QApplication_clipboard (), typeof(TQClipboard)); } [DllImport("libqtc", 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) + public static TTQWidget WidgetAt (int x, int y, bool child) { - return (TQWidget)LookupObject (qt_QApplication_widgetAt (x, y, child), typeof(TQWidget)); + return (TTQWidget)LookupObject (qt_QApplication_widgetAt (x, y, child), typeof(TTQWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_widgetAt1 (IntPtr arg1, bool child); - public static TQWidget WidgetAt (TQPoint arg1, bool child) + public static TTQWidget WidgetAt (TTQPoint arg1, bool child) { - return (TQWidget)LookupObject (qt_QApplication_widgetAt1 (arg1.RawObject, child), typeof(TQWidget)); + return (TTQWidget)LookupObject (qt_QApplication_widgetAt1 (arg1.RawObject, child), typeof(TTQWidget)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -665,7 +665,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_sendPostedEvents (IntPtr receiver, int event_type); - public static void SendPostedEvents (TQObject receiver, int event_type) + public static void SendPostedEvents (TTQObject receiver, int event_type) { qt_QApplication_sendPostedEvents (receiver.RawObject, event_type); } @@ -679,7 +679,7 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_removePostedEvents (IntPtr receiver); - public static void RemovePostedEvents (TQObject receiver) + public static void RemovePostedEvents (TTQObject receiver) { qt_QApplication_removePostedEvents (receiver.RawObject); } @@ -728,16 +728,16 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setWinStyleHighlightColor (IntPtr c); - public static void SetWinStyleHighlightColor (TQColor c) + public static void SetWinStyleHighlightColor (TTQColor c) { qt_QApplication_setWinStyleHighlightColor (c.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_winStyleHighlightColor (); - public static TQColor WinStyleHighlightColor () + public static TTQColor WinStyleHighlightColor () { - return (TQColor)LookupObject (qt_QApplication_winStyleHighlightColor (), typeof(TQColor)); + return (TTQColor)LookupObject (qt_QApplication_winStyleHighlightColor (), typeof(TTQColor)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -798,44 +798,44 @@ namespace Qt { [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setGlobalStrut (IntPtr arg1); - public static void SetGlobalStrut (TQSize arg1) + public static void SetGlobalStrut (TTQSize arg1) { qt_QApplication_setGlobalStrut (arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_globalStrut (); - public static TQSize GlobalStrut () + public static TTQSize GlobalStrut () { - return (TQSize)LookupObject (qt_QApplication_globalStrut (), typeof(TQSize)); + return (TTQSize)LookupObject (qt_QApplication_globalStrut (), typeof(TTQSize)); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern void qt_QApplication_setLibraryPaths (IntPtr arg1); - public static void SetLibraryPaths (TQStringList arg1) + public static void SetLibraryPaths (TTQStringList arg1) { qt_QApplication_setLibraryPaths (arg1.RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] private static extern IntPtr qt_QApplication_libraryPaths (); - public static TQStringList LibraryPaths () + public static TTQStringList LibraryPaths () { - return (TQStringList)LookupObject (qt_QApplication_libraryPaths (), typeof(TQStringList)); + return (TTQStringList)LookupObject (qt_QApplication_libraryPaths (), typeof(TTQStringList)); } [DllImport("libqtc", 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); + qt_QApplication_addLibraryPath (new TTQString (arg1).RawObject); } [DllImport("libqtc", 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); + qt_QApplication_removeLibraryPath (new TTQString (arg1).RawObject); } [DllImport("libqtc", CharSet=CharSet.Ansi)] @@ -967,50 +967,50 @@ namespace Qt { public void SetEnableRemoteControl (bool enable) { - SetEnableRemoteControl(enable, new QUuid ()); + SetEnableRemoteControl(enable, new TQUuid ()); } - public static void SetOverrideCursor (TQCursor arg1) + public static void SetOverrideCursor (TTQCursor arg1) { SetOverrideCursor(arg1, false); } - public static TQPalette Palette () + public static TTQPalette Palette () { - return Palette(new TQWidget ()); + return Palette(new TTQWidget ()); } - public static void SetPalette (TQPalette arg1) + public static void SetPalette (TTQPalette arg1) { SetPalette(arg1, false); } - public static void SetPalette (TQPalette arg1, bool informWidgets) + public static void SetPalette (TTQPalette arg1, bool informWidgets) { SetPalette(arg1, informWidgets, ""); } - public static TQFont Font () + public static TTQFont Font () { - return Font(new TQWidget ()); + return Font(new TTQWidget ()); } - public static void SetFont (TQFont arg1) + public static void SetFont (TTQFont arg1) { SetFont(arg1, false); } - public static void SetFont (TQFont arg1, bool informWidgets) + public static void SetFont (TTQFont arg1, bool informWidgets) { SetFont(arg1, informWidgets, ""); } - public static TQWidget WidgetAt (int x, int y) + public static TTQWidget WidgetAt (int x, int y) { return WidgetAt(x, y, false); } - public static TQWidget WidgetAt (TQPoint arg1) + public static TTQWidget WidgetAt (TTQPoint arg1) { return WidgetAt(arg1, false); } |