# bool initializeIntegration()
#
FUNCTION initializeIntegration
    RETURN_TYPE bool
    ARG hostname
        TYPE TQString
        CONST_REF
        CREATE getHostname
    ENDARG
ENDFUNCTION
# TQStringList getOpenFileNames( const TQString &filter,
#     TQString* workingDirectory, TQWidget *parent, const char* name,
#     const TQString& caption, TQString* selectedFilter, bool multiple );
#
FUNCTION getOpenFileNames
    RETURN_TYPE TQStringList
    DELAYED_RETURN
    ADD_APPINFO
    ARG filter
        TYPE TQString
        CONST_REF
        CONVERSION convertFileFilter
    ENDARG
    ARG workingDirectory
        TYPE TQString
        NEEDS_DEREF
        OUT_ARGUMENT
    ENDARG
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG name
        TYPE TQCString
        CONST_REF
        ORIG_TYPE const char*
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG selectedFilter
        TYPE TQString
        NEEDS_DEREF
        OUT_ARGUMENT
        CONVERSION convertFileFilter
        BACK_CONVERSION convertBackFileFilter
    ENDARG
    ARG multiple
        TYPE bool
    ENDARG
ENDFUNCTION

# TQString getSaveFileName( const TQString &initialSelection,
#     const TQString &filter, TQString* workingDirectory, TQWidget *parent,
#     const char* name, const TQString& caption, TQString* selectedFilter );
#
FUNCTION getSaveFileName
    RETURN_TYPE TQString
    DELAYED_RETURN
    ADD_APPINFO
    ARG initialSelection
        TYPE TQString
        CONST_REF
    ENDARG
    ARG filter
        TYPE TQString
        CONST_REF
        CONVERSION convertFileFilter
    ENDARG
    ARG workingDirectory
        TYPE TQString
        NEEDS_DEREF
        OUT_ARGUMENT
    ENDARG
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG name
        TYPE TQCString
        CONST_REF
        ORIG_TYPE const char*
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG selectedFilter
        TYPE TQString
        NEEDS_DEREF
        OUT_ARGUMENT
        CONVERSION convertFileFilter
        BACK_CONVERSION convertBackFileFilter
    ENDARG
ENDFUNCTION

# TQString getExistingDirectory( const TQString &initialDirectory,
#     TQWidget* parent, const char* name, const TQString& caption );
#
FUNCTION getExistingDirectory
    RETURN_TYPE TQString
    DELAYED_RETURN
    ADD_APPINFO
    ARG initialDirectory
        TYPE TQString
        CONST_REF
    ENDARG
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG name
        TYPE TQCString
        CONST_REF
        ORIG_TYPE const char*
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
ENDFUNCTION

# TQColor getColor( const TQColor& color, TQWidget* parent, const char* name );
#
FUNCTION getColor
    RETURN_TYPE TQColor
    DELAYED_RETURN
    ADD_APPINFO
    ARG color
        TYPE TQColor
        CONST_REF
    ENDARG
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG name
        TYPE TQCString
        CONST_REF
        ORIG_TYPE const char*
    ENDARG
ENDFUNCTION

# TQFont getFont( bool* ok, const TQFont* def, TQWidget *parent, const char* name);
FUNCTION getFont
    RETURN_TYPE TQFont
    DELAYED_RETURN
    ADD_APPINFO
    ARG ok
        TYPE bool
        NEEDS_DEREF
        OUT_ARGUMENT
    ENDARG
    ARG def
        TYPE TQFont
        ORIG_TYPE const TQFont*
        ORIG_CONVERSION fontPtrToFontRef
        CONST_REF
    ENDARG
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG name
        TYPE TQCString
        CONST_REF
        ORIG_TYPE const char*
    ENDARG
ENDFUNCTION

# int messageBox1( int type, TQWidget *parent, const TQString& caption, const TQString& text,
#     int button0, int button1, int button2 );
FUNCTION messageBox1
    RETURN_TYPE int
    DELAYED_RETURN
    ADD_APPINFO
    ARG type
        TYPE int
    ENDARG
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0
        TYPE int
    ENDARG
    ARG button1
        TYPE int
    ENDARG
    ARG button2
        TYPE int
    ENDARG
ENDFUNCTION

# int information( TQWidget *parent, const TQString& caption, const TQString& text,
#     int button0, int button1, int button2 );
FUNCTION information
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0
        TYPE int
    ENDARG
    ARG button1
        TYPE int
    ENDARG
    ARG button2
        TYPE int
    ENDARG
ENDFUNCTION

# int question( TQWidget *parent, const TQString& caption, const TQString& text,
#     int button0, int button1, int button2 );
FUNCTION question
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0
        TYPE int
    ENDARG
    ARG button1
        TYPE int
    ENDARG
    ARG button2
        TYPE int
    ENDARG
ENDFUNCTION

# int warning( TQWidget *parent, const TQString& caption, const TQString& text,
#     int button0, int button1, int button2 );
FUNCTION warning
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0
        TYPE int
    ENDARG
    ARG button1
        TYPE int
    ENDARG
    ARG button2
        TYPE int
    ENDARG
ENDFUNCTION

# int critical( TQWidget *parent, const TQString& caption, const TQString& text,
#     int button0, int button1, int button2 );
FUNCTION critical
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0
        TYPE int
    ENDARG
    ARG button1
        TYPE int
    ENDARG
    ARG button2
        TYPE int
    ENDARG
ENDFUNCTION

# int messageBox2( int type, TQWidget* parent, const TQString& caption, const TQString& text,
#     const TQString& button0Text, const TQString& button1Text, const TQString& button2Text,
#     int defaultButton, int escapeButton );
FUNCTION messageBox2
    RETURN_TYPE int
    DELAYED_RETURN
    ADD_APPINFO
    ARG type
        TYPE int
    ENDARG
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button1Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button2Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG defaultButton
        TYPE int
    ENDARG
    ARG escapeButton
        TYPE int
    ENDARG
ENDFUNCTION

# int information( TQWidget* parent, const TQString& caption, const TQString& text,
#     const TQString& button0Text, const TQString& button1Text, const TQString& button2Text,
#     int defaultButton, int escapeButton );
FUNCTION information
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button1Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button2Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG defaultButton
        TYPE int
    ENDARG
    ARG escapeButton
        TYPE int
    ENDARG
ENDFUNCTION

# int question( TQWidget* parent, const TQString& caption, const TQString& text,
#     const TQString& button0Text, const TQString& button1Text, const TQString& button2Text,
#     int defaultButton, int escapeButton );
FUNCTION question
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button1Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button2Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG defaultButton
        TYPE int
    ENDARG
    ARG escapeButton
        TYPE int
    ENDARG
ENDFUNCTION

# int warning( TQWidget* parent, const TQString& caption, const TQString& text,
#     const TQString& button0Text, const TQString& button1Text, const TQString& button2Text,
#     int defaultButton, int escapeButton );
FUNCTION warning
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button1Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button2Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG defaultButton
        TYPE int
    ENDARG
    ARG escapeButton
        TYPE int
    ENDARG
ENDFUNCTION

# int critical( TQWidget* parent, const TQString& caption, const TQString& text,
#     const TQString& button0Text, const TQString& button1Text, const TQString& button2Text,
#     int defaultButton, int escapeButton );
FUNCTION critical
    RETURN_TYPE int
    DELAYED_RETURN
    ONLY_QT
    ARG parent
        TYPE long
        ORIG_TYPE TQWidget*
        ORIG_CONVERSION parentToWinId
        PARENT
    ENDARG
    ARG caption
        TYPE TQString
        CONST_REF
    ENDARG
    ARG text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button0Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button1Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG button2Text
        TYPE TQString
        CONST_REF
    ENDARG
    ARG defaultButton
        TYPE int
    ENDARG
    ARG escapeButton
        TYPE int
    ENDARG
ENDFUNCTION