2009-03-31 18:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
+ harbour/contrib/hbqt/qth/QAxBase.qth
+ harbour/contrib/hbqt/qth/QAxBindable.qth
+ harbour/contrib/hbqt/qth/QAxObject.qth
+ harbour/contrib/hbqt/qth/QAxWidget.qth
+ harbour/contrib/hbqt/qth/QDesktopWidget.qth
+ harbour/contrib/hbqt/qth/QDir.qth
+ harbour/contrib/hbqt/qth/QDockWidget.qth
+ harbour/contrib/hbqt/qth/QFontInfo.qth
+ harbour/contrib/hbqt/qth/QFtp.qth
+ harbour/contrib/hbqt/qth/QGridLayout.qth
+ harbour/contrib/hbqt/qth/QHeaderView.qth
+ harbour/contrib/hbqt/qth/QHttp.qth
+ harbour/contrib/hbqt/qth/QListWidget.qth
+ harbour/contrib/hbqt/qth/QListWidgetItem.qth
+ harbour/contrib/hbqt/qth/QSignalMapper.qth
+ harbour/contrib/hbqt/qth/QSplashScreen.qth
+ harbour/contrib/hbqt/qth/QTimer.qth
+ harbour/contrib/hbqt/qth/QUrl.qth
+ Added more source headers - RAW - not compiled.
This commit is contained in:
@@ -8,6 +8,27 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-03-31 18:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
+ harbour/contrib/hbqt/qth/QAxBase.qth
|
||||
+ harbour/contrib/hbqt/qth/QAxBindable.qth
|
||||
+ harbour/contrib/hbqt/qth/QAxObject.qth
|
||||
+ harbour/contrib/hbqt/qth/QAxWidget.qth
|
||||
+ harbour/contrib/hbqt/qth/QDesktopWidget.qth
|
||||
+ harbour/contrib/hbqt/qth/QDir.qth
|
||||
+ harbour/contrib/hbqt/qth/QDockWidget.qth
|
||||
+ harbour/contrib/hbqt/qth/QFontInfo.qth
|
||||
+ harbour/contrib/hbqt/qth/QFtp.qth
|
||||
+ harbour/contrib/hbqt/qth/QGridLayout.qth
|
||||
+ harbour/contrib/hbqt/qth/QHeaderView.qth
|
||||
+ harbour/contrib/hbqt/qth/QHttp.qth
|
||||
+ harbour/contrib/hbqt/qth/QListWidget.qth
|
||||
+ harbour/contrib/hbqt/qth/QListWidgetItem.qth
|
||||
+ harbour/contrib/hbqt/qth/QSignalMapper.qth
|
||||
+ harbour/contrib/hbqt/qth/QSplashScreen.qth
|
||||
+ harbour/contrib/hbqt/qth/QTimer.qth
|
||||
+ harbour/contrib/hbqt/qth/QUrl.qth
|
||||
+ Added more source headers - RAW - not compiled.
|
||||
|
||||
2009-03-31 21:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* bin/postinst.bat
|
||||
! Fixed regression causing shared hbrun/hbtest binaries to
|
||||
|
||||
49
harbour/contrib/hbqt/qth/QAxBase.qth
Normal file
49
harbour/contrib/hbqt/qth/QAxBase.qth
Normal file
@@ -0,0 +1,49 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <ActiveQt/QAxBase>
|
||||
|
||||
|
||||
/*
|
||||
* QAxBase ( IUnknown * iface = 0 )
|
||||
* virtual ~QAxBase ()
|
||||
*/
|
||||
HB_FUNC( QT_QAXBASE )
|
||||
{
|
||||
hb_retptr( new QAxBase( hbqt_par_IUnknown( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
QVariant asVariant () const
|
||||
virtual void clear ()
|
||||
QString control () const
|
||||
void disableClassInfo ()
|
||||
void disableEventSink ()
|
||||
void disableMetaObject ()
|
||||
QVariant dynamicCall ( const char * function, const QVariant & var1 = QVariant(), const QVariant & var2 = QVariant(), const QVariant & var3 = QVariant(), const QVariant & var4 = QVariant(), const QVariant & var5 = QVariant(), const QVariant & var6 = QVariant(), const QVariant & var7 = QVariant(), const QVariant & var8 = QVariant() )
|
||||
QVariant dynamicCall ( const char * function, QList<QVariant> & vars )
|
||||
QString generateDocumentation ()
|
||||
bool isNull () const
|
||||
PropertyBag propertyBag () const
|
||||
virtual bool propertyWritable ( const char * prop ) const
|
||||
long queryInterface ( const QUuid & uuid, void ** iface ) const
|
||||
QAxObject * querySubObject ( const char * name, const QVariant & var1 = QVariant(), const QVariant & var2 = QVariant(), const QVariant & var3 = QVariant(), const QVariant & var4 = QVariant(), const QVariant & var5 = QVariant(), const QVariant & var6 = QVariant(), const QVariant & var7 = QVariant(), const QVariant & var8 = QVariant() )
|
||||
QAxObject * querySubObject ( const char * name, QList<QVariant> & vars )
|
||||
bool setControl ( const QString & )
|
||||
void setPropertyBag ( const PropertyBag & bag )
|
||||
virtual void setPropertyWritable ( const char * prop, bool ok )
|
||||
QStringList verbs () const
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
34
harbour/contrib/hbqt/qth/QAxBindable.qth
Normal file
34
harbour/contrib/hbqt/qth/QAxBindable.qth
Normal file
@@ -0,0 +1,34 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <ActiveQt/QAxBindable>
|
||||
|
||||
|
||||
/*
|
||||
* QAxBindable ()
|
||||
* virtual ~QAxBindable ()
|
||||
*/
|
||||
HB_FUNC( QT_QAXBINDABLE )
|
||||
{
|
||||
hb_retptr( new QAxBindable() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
virtual QAxAggregated * createAggregate ()
|
||||
virtual bool readData ( QIODevice * source, const QString & format )
|
||||
void reportError ( int code, const QString & src, const QString & desc, const QString & context = QString() )
|
||||
virtual bool writeData ( QIODevice * sink )
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
34
harbour/contrib/hbqt/qth/QAxObject.qth
Normal file
34
harbour/contrib/hbqt/qth/QAxObject.qth
Normal file
@@ -0,0 +1,34 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QObject, QAxBase
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <ActiveQt/QAxObject>
|
||||
|
||||
|
||||
/*
|
||||
* QAxObject ( QObject * parent = 0 )
|
||||
* QAxObject ( const QString & c, QObject * parent = 0 )
|
||||
* QAxObject ( IUnknown * iface, QObject * parent = 0 )
|
||||
* ~QAxObject ()
|
||||
*/
|
||||
HB_FUNC( QT_QAXOBJECT )
|
||||
{
|
||||
hb_retptr( new QAxObject( hbqt_par_IUnknown( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
bool doVerb ( const QString & verb )
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
35
harbour/contrib/hbqt/qth/QAxWidget.qth
Normal file
35
harbour/contrib/hbqt/qth/QAxWidget.qth
Normal file
@@ -0,0 +1,35 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QWidget, QAxBase
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <ActiveQt/QAxWidget>
|
||||
|
||||
|
||||
/*
|
||||
* QAxWidget ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
|
||||
* QAxWidget ( const QString & c, QWidget * parent = 0, Qt::WindowFlags f = 0 )
|
||||
* QAxWidget ( IUnknown * iface, QWidget * parent = 0, Qt::WindowFlags f = 0 )
|
||||
* ~QAxWidget ()
|
||||
*/
|
||||
HB_FUNC( QT_QAXWIDGET )
|
||||
{
|
||||
hb_retptr( new QAxWidget( hbqt_par_QWidget( 1 ), hb_parni( 2 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
virtual QAxAggregated * createAggregate ()
|
||||
bool doVerb ( const QString & verb )
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
43
harbour/contrib/hbqt/qth/QDesktopWidget.qth
Normal file
43
harbour/contrib/hbqt/qth/QDesktopWidget.qth
Normal file
@@ -0,0 +1,43 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QWidget
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <Qt/QDesktopWidget>
|
||||
|
||||
|
||||
/*
|
||||
* QDesktopWidget ()
|
||||
* ~QDesktopWidget ()
|
||||
*/
|
||||
HB_FUNC( QT_QDESKTOPWIDGET )
|
||||
{
|
||||
hb_retptr( new QDesktopWidget() );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
const QRect availableGeometry ( int screen = -1 ) const
|
||||
const QRect availableGeometry ( const QWidget * widget ) const
|
||||
const QRect availableGeometry ( const QPoint & p ) const
|
||||
bool isVirtualDesktop () const
|
||||
int numScreens () const
|
||||
int primaryScreen () const
|
||||
QWidget * screen ( int screen = -1 )
|
||||
const QRect screenGeometry ( int screen = -1 ) const
|
||||
const QRect screenGeometry ( const QWidget * widget ) const
|
||||
const QRect screenGeometry ( const QPoint & p ) const
|
||||
int screenNumber ( const QWidget * widget = 0 ) const
|
||||
int screenNumber ( const QPoint & point ) const
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
73
harbour/contrib/hbqt/qth/QDir.qth
Normal file
73
harbour/contrib/hbqt/qth/QDir.qth
Normal file
@@ -0,0 +1,73 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <Qt/QDir>
|
||||
|
||||
|
||||
/*
|
||||
* QDir ( const QDir & dir )
|
||||
* QDir ( const QString & path = QString() )
|
||||
* QDir ( const QString & path, const QString & nameFilter, SortFlags sort = SortFlags( Name | IgnoreCase ), Filters filters = AllEntries )
|
||||
* ~QDir ()
|
||||
*/
|
||||
HB_FUNC( QT_QDIR )
|
||||
{
|
||||
hb_retptr( new QDir( hbqt_par_QString( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
enum Filter { Dirs, AllDirs, Files, Drives, ..., CaseSensitive }
|
||||
typedef FilterSpec
|
||||
flags Filters
|
||||
enum SortFlag { Name, Time, Size, Type, ..., LocaleAware }
|
||||
flags SortFlags
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
QString absoluteFilePath ( const QString & fileName ) const
|
||||
QString absolutePath () const
|
||||
QString canonicalPath () const
|
||||
bool cd ( const QString & dirName )
|
||||
bool cdUp ()
|
||||
uint count () const
|
||||
QString dirName () const
|
||||
QFileInfoList entryInfoList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const
|
||||
QFileInfoList entryInfoList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const
|
||||
QStringList entryList ( const QStringList & nameFilters, Filters filters = NoFilter, SortFlags sort = NoSort ) const
|
||||
QStringList entryList ( Filters filters = NoFilter, SortFlags sort = NoSort ) const
|
||||
bool exists ( const QString & name ) const
|
||||
bool exists () const
|
||||
QString filePath ( const QString & fileName ) const
|
||||
Filters filter () const
|
||||
bool isAbsolute () const
|
||||
bool isReadable () const
|
||||
bool isRelative () const
|
||||
bool isRoot () const
|
||||
bool makeAbsolute ()
|
||||
bool mkdir ( const QString & dirName ) const
|
||||
bool mkpath ( const QString & dirPath ) const
|
||||
QStringList nameFilters () const
|
||||
QString path () const
|
||||
void refresh () const
|
||||
QString relativeFilePath ( const QString & fileName ) const
|
||||
bool remove ( const QString & fileName )
|
||||
bool rename ( const QString & oldName, const QString & newName )
|
||||
bool rmdir ( const QString & dirName ) const
|
||||
bool rmpath ( const QString & dirPath ) const
|
||||
void setFilter ( Filters filters )
|
||||
void setNameFilters ( const QStringList & nameFilters )
|
||||
void setPath ( const QString & path )
|
||||
void setSorting ( SortFlags sort )
|
||||
SortFlags sorting () const
|
||||
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
47
harbour/contrib/hbqt/qth/QDockWidget.qth
Normal file
47
harbour/contrib/hbqt/qth/QDockWidget.qth
Normal file
@@ -0,0 +1,47 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QWidget
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QDockWidget>
|
||||
|
||||
|
||||
/*
|
||||
* QDockWidget ( const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0 )
|
||||
* QDockWidget ( QWidget * parent = 0, Qt::WindowFlags flags = 0 )
|
||||
* ~QDockWidget ()
|
||||
*/
|
||||
HB_FUNC( QT_QDOCKWIDGET )
|
||||
{
|
||||
hb_retptr( new QDockWidget( hbqt_par_QWidget( 1 ), hb_parni( 2 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
enum DockWidgetFeature { DockWidgetClosable, DockWidgetMovable, DockWidgetFloatable, DockWidgetVerticalTitleBar, AllDockWidgetFeatures, NoDockWidgetFeatures }
|
||||
flags DockWidgetFeatures
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
Qt::DockWidgetAreas allowedAreas () const
|
||||
DockWidgetFeatures features () const
|
||||
bool isAreaAllowed ( Qt::DockWidgetArea area ) const
|
||||
bool isFloating () const
|
||||
void setAllowedAreas ( Qt::DockWidgetAreas areas )
|
||||
void setFeatures ( DockWidgetFeatures features )
|
||||
void setFloating ( bool floating )
|
||||
void setTitleBarWidget ( QWidget * widget )
|
||||
void setWidget ( QWidget * widget )
|
||||
QWidget * titleBarWidget () const
|
||||
QAction * toggleViewAction () const
|
||||
QWidget * widget () const
|
||||
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
43
harbour/contrib/hbqt/qth/QFontInfo.qth
Normal file
43
harbour/contrib/hbqt/qth/QFontInfo.qth
Normal file
@@ -0,0 +1,43 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QFontInfo>
|
||||
|
||||
|
||||
/*
|
||||
* QFontInfo ( const QFont & font )
|
||||
* QFontInfo ( const QFontInfo & fi )
|
||||
* ~QFontInfo ()
|
||||
*/
|
||||
HB_FUNC( QT_QFONTINFO )
|
||||
{
|
||||
hb_retptr( new QFontInfo( hbqt_par_QFont( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
bool bold () const
|
||||
bool exactMatch () const
|
||||
QString family () const
|
||||
bool fixedPitch () const
|
||||
bool italic () const
|
||||
int pixelSize () const
|
||||
int pointSize () const
|
||||
qreal pointSizeF () const
|
||||
bool rawMode () const
|
||||
QFont::Style style () const
|
||||
QFont::StyleHint styleHint () const
|
||||
int weight () const
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
62
harbour/contrib/hbqt/qth/QFtp.qth
Normal file
62
harbour/contrib/hbqt/qth/QFtp.qth
Normal file
@@ -0,0 +1,62 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QObject
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <Qt/QFtp>
|
||||
|
||||
|
||||
/*
|
||||
* QFtp ( QObject * parent = 0 )
|
||||
* virtual ~QFtp ()
|
||||
*/
|
||||
HB_FUNC( QT_QFTP )
|
||||
{
|
||||
hb_retptr( new QFtp( hbqt_par_QObject( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
enum Command { None, SetTransferMode, SetProxy, ConnectToHost, ..., RawCommand }
|
||||
enum Error { NoError, HostNotFound, ConnectionRefused, NotConnected, UnknownError }
|
||||
enum State { Unconnected, HostLookup, Connecting, Connected, LoggedIn, Closing }
|
||||
enum TransferMode { Passive, Active }
|
||||
enum TransferType { Binary, Ascii }
|
||||
|
||||
; PROTOTYPES
|
||||
qint64 bytesAvailable () const
|
||||
int cd ( const QString & dir )
|
||||
void clearPendingCommands ()
|
||||
int close ()
|
||||
int connectToHost ( const QString & host, quint16 port = 21 )
|
||||
Command currentCommand () const
|
||||
QIODevice * currentDevice () const
|
||||
int currentId () const
|
||||
Error error () const
|
||||
QString errorString () const
|
||||
int get ( const QString & file, QIODevice * dev = 0, TransferType type = Binary )
|
||||
bool hasPendingCommands () const
|
||||
int list ( const QString & dir = QString() )
|
||||
int login ( const QString & user = QString(), const QString & password = QString() )
|
||||
int mkdir ( const QString & dir )
|
||||
int put ( QIODevice * dev, const QString & file, TransferType type = Binary )
|
||||
int put ( const QByteArray & data, const QString & file, TransferType type = Binary )
|
||||
int rawCommand ( const QString & command )
|
||||
qint64 read ( char * data, qint64 maxlen )
|
||||
QByteArray readAll ()
|
||||
int remove ( const QString & file )
|
||||
int rename ( const QString & oldname, const QString & newname )
|
||||
int rmdir ( const QString & dir )
|
||||
int setProxy ( const QString & host, quint16 port )
|
||||
int setTransferMode ( TransferMode mode )
|
||||
State state () const
|
||||
|
||||
; SLOTS
|
||||
void abort ()
|
||||
|
||||
|
||||
60
harbour/contrib/hbqt/qth/QGridLayout.qth
Normal file
60
harbour/contrib/hbqt/qth/QGridLayout.qth
Normal file
@@ -0,0 +1,60 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QLayout
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QGridLayout>
|
||||
|
||||
|
||||
/*
|
||||
* QGridLayout ( QWidget * parent )
|
||||
* QGridLayout ()
|
||||
* ~QGridLayout ()
|
||||
*/
|
||||
HB_FUNC( QT_QGRIDLAYOUT )
|
||||
{
|
||||
hb_retptr( new QGridLayout( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
|
||||
void addItem ( QLayoutItem * item, int row, int column, int rowSpan = 1, int columnSpan = 1, Qt::Alignment alignment = 0 )
|
||||
void addLayout ( QLayout * layout, int row, int column, Qt::Alignment alignment = 0 )
|
||||
void addLayout ( QLayout * layout, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 )
|
||||
void addWidget ( QWidget * widget, int row, int column, Qt::Alignment alignment = 0 )
|
||||
void addWidget ( QWidget * widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 )
|
||||
QRect cellRect ( int row, int column ) const
|
||||
int columnCount () const
|
||||
int columnMinimumWidth ( int column ) const
|
||||
int columnStretch ( int column ) const
|
||||
void getItemPosition ( int index, int * row, int * column, int * rowSpan, int * columnSpan )
|
||||
int horizontalSpacing () const
|
||||
QLayoutItem * itemAtPosition ( int row, int column ) const
|
||||
Qt::Corner originCorner () const
|
||||
int rowCount () const
|
||||
int rowMinimumHeight ( int row ) const
|
||||
int rowStretch ( int row ) const
|
||||
void setColumnMinimumWidth ( int column, int minSize )
|
||||
void setColumnStretch ( int column, int stretch )
|
||||
void setHorizontalSpacing ( int spacing )
|
||||
void setOriginCorner ( Qt::Corner corner )
|
||||
void setRowMinimumHeight ( int row, int minSize )
|
||||
void setRowStretch ( int row, int stretch )
|
||||
void setSpacing ( int spacing )
|
||||
void setVerticalSpacing ( int spacing )
|
||||
int spacing () const
|
||||
int verticalSpacing () const
|
||||
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
90
harbour/contrib/hbqt/qth/QHeaderView.qth
Normal file
90
harbour/contrib/hbqt/qth/QHeaderView.qth
Normal file
@@ -0,0 +1,90 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QAbstractItemView
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QHeaderView>
|
||||
|
||||
|
||||
/*
|
||||
* QHeaderView ( Qt::Orientation orientation, QWidget * parent = 0 )
|
||||
* virtual ~QHeaderView ()
|
||||
*/
|
||||
HB_FUNC( QT_QHEADERVIEW )
|
||||
{
|
||||
hb_retptr( new QHeaderView( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
enum ResizeMode { Interactive, Fixed, Stretch, ResizeToContents, Custom }
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
bool cascadingSectionResizes () const
|
||||
int count () const
|
||||
Qt::Alignment defaultAlignment () const
|
||||
int defaultSectionSize () const
|
||||
int hiddenSectionCount () const
|
||||
void hideSection ( int logicalIndex )
|
||||
bool highlightSections () const
|
||||
bool isClickable () const
|
||||
bool isMovable () const
|
||||
bool isSectionHidden ( int logicalIndex ) const
|
||||
bool isSortIndicatorShown () const
|
||||
int length () const
|
||||
int logicalIndex ( int visualIndex ) const
|
||||
int logicalIndexAt ( int position ) const
|
||||
int logicalIndexAt ( int x, int y ) const
|
||||
int logicalIndexAt ( const QPoint & pos ) const
|
||||
int minimumSectionSize () const
|
||||
void moveSection ( int from, int to )
|
||||
int offset () const
|
||||
Qt::Orientation orientation () const
|
||||
ResizeMode resizeMode ( int logicalIndex ) const
|
||||
void resizeSection ( int logicalIndex, int size )
|
||||
void resizeSections ( QHeaderView::ResizeMode mode )
|
||||
bool restoreState ( const QByteArray & state )
|
||||
QByteArray saveState () const
|
||||
int sectionPosition ( int logicalIndex ) const
|
||||
int sectionSize ( int logicalIndex ) const
|
||||
int sectionSizeHint ( int logicalIndex ) const
|
||||
int sectionViewportPosition ( int logicalIndex ) const
|
||||
bool sectionsHidden () const
|
||||
bool sectionsMoved () const
|
||||
void setCascadingSectionResizes ( bool enable )
|
||||
void setClickable ( bool clickable )
|
||||
void setDefaultAlignment ( Qt::Alignment alignment )
|
||||
void setDefaultSectionSize ( int size )
|
||||
void setHighlightSections ( bool highlight )
|
||||
void setMinimumSectionSize ( int size )
|
||||
void setMovable ( bool movable )
|
||||
void setResizeMode ( ResizeMode mode )
|
||||
void setResizeMode ( int logicalIndex, ResizeMode mode )
|
||||
void setSectionHidden ( int logicalIndex, bool hide )
|
||||
void setSortIndicator ( int logicalIndex, Qt::SortOrder order )
|
||||
void setSortIndicatorShown ( bool show )
|
||||
void setStretchLastSection ( bool stretch )
|
||||
void showSection ( int logicalIndex )
|
||||
virtual QSize sizeHint () const
|
||||
Qt::SortOrder sortIndicatorOrder () const
|
||||
int sortIndicatorSection () const
|
||||
bool stretchLastSection () const
|
||||
int stretchSectionCount () const
|
||||
void swapSections ( int first, int second )
|
||||
int visualIndex ( int logicalIndex ) const
|
||||
int visualIndexAt ( int position ) const
|
||||
|
||||
|
||||
; SLOTS
|
||||
|
||||
void headerDataChanged ( Qt::Orientation orientation, int logicalFirst, int logicalLast )
|
||||
void setOffset ( int offset )
|
||||
void setOffsetToLastSection ()
|
||||
void setOffsetToSectionPosition ( int visualIndex )
|
||||
|
||||
65
harbour/contrib/hbqt/qth/QHttp.qth
Normal file
65
harbour/contrib/hbqt/qth/QHttp.qth
Normal file
@@ -0,0 +1,65 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QObject
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <Qt/QHttp>
|
||||
|
||||
|
||||
/*
|
||||
* QHttp ( QObject * parent = 0 )
|
||||
* QHttp ( const QString & hostName, quint16 port = 80, QObject * parent = 0 )
|
||||
* QHttp ( const QString & hostName, ConnectionMode mode, quint16 port = 0, QObject * parent = 0 )
|
||||
* virtual ~QHttp ()
|
||||
*/
|
||||
HB_FUNC( QT_QHTTP )
|
||||
{
|
||||
hb_retptr( new QHttp( hbqt_par_QObject( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
enum ConnectionMode { ConnectionModeHttp, ConnectionModeHttps }
|
||||
enum Error { NoError, HostNotFound, ConnectionRefused, UnexpectedClose, ..., UnknownError }
|
||||
enum State { Unconnected, HostLookup, Connecting, Sending, ..., Closing }
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
qint64 bytesAvailable () const
|
||||
void clearPendingRequests ()
|
||||
int close ()
|
||||
QIODevice * currentDestinationDevice () const
|
||||
int currentId () const
|
||||
QHttpRequestHeader currentRequest () const
|
||||
QIODevice * currentSourceDevice () const
|
||||
Error error () const
|
||||
QString errorString () const
|
||||
int get ( const QString & path, QIODevice * to = 0 )
|
||||
bool hasPendingRequests () const
|
||||
int head ( const QString & path )
|
||||
QHttpResponseHeader lastResponse () const
|
||||
int post ( const QString & path, QIODevice * data, QIODevice * to = 0 )
|
||||
int post ( const QString & path, const QByteArray & data, QIODevice * to = 0 )
|
||||
qint64 read ( char * data, qint64 maxlen )
|
||||
QByteArray readAll ()
|
||||
int request ( const QHttpRequestHeader & header, QIODevice * data = 0, QIODevice * to = 0 )
|
||||
int request ( const QHttpRequestHeader & header, const QByteArray & data, QIODevice * to = 0 )
|
||||
int setHost ( const QString & hostName, quint16 port = 80 )
|
||||
int setHost ( const QString & hostName, ConnectionMode mode, quint16 port = 0 )
|
||||
int setProxy ( const QString & host, int port, const QString & username = QString(), const QString & password = QString() )
|
||||
int setProxy ( const QNetworkProxy & proxy )
|
||||
int setSocket ( QTcpSocket * socket )
|
||||
int setUser ( const QString & userName, const QString & password = QString() )
|
||||
State state () const
|
||||
|
||||
|
||||
; SLOTS
|
||||
void abort ()
|
||||
void ignoreSslErrors ()
|
||||
|
||||
|
||||
64
harbour/contrib/hbqt/qth/QListWidget.qth
Normal file
64
harbour/contrib/hbqt/qth/QListWidget.qth
Normal file
@@ -0,0 +1,64 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QListView
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QListWidget>
|
||||
|
||||
|
||||
/*
|
||||
* QListWidget ( QWidget * parent = 0 )
|
||||
* ~QListWidget ()
|
||||
*/
|
||||
HB_FUNC( QT_QLISTWIDGET )
|
||||
{
|
||||
hb_retptr( new QListWidget( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
void addItem ( const QString & label )
|
||||
void addItem ( QListWidgetItem * item )
|
||||
void addItems ( const QStringList & labels )
|
||||
void closePersistentEditor ( QListWidgetItem * item )
|
||||
int count () const
|
||||
QListWidgetItem * currentItem () const
|
||||
int currentRow () const
|
||||
void editItem ( QListWidgetItem * item )
|
||||
QList<QListWidgetItem *> findItems ( const QString & text, Qt::MatchFlags flags ) const
|
||||
void insertItem ( int row, QListWidgetItem * item )
|
||||
void insertItem ( int row, const QString & label )
|
||||
void insertItems ( int row, const QStringList & labels )
|
||||
bool isSortingEnabled () const
|
||||
QListWidgetItem * item ( int row ) const
|
||||
QListWidgetItem * itemAt ( const QPoint & p ) const
|
||||
QListWidgetItem * itemAt ( int x, int y ) const
|
||||
QWidget * itemWidget ( QListWidgetItem * item ) const
|
||||
void openPersistentEditor ( QListWidgetItem * item )
|
||||
void removeItemWidget ( QListWidgetItem * item )
|
||||
int row ( const QListWidgetItem * item ) const
|
||||
QList<QListWidgetItem *> selectedItems () const
|
||||
void setCurrentItem ( QListWidgetItem * item )
|
||||
void setCurrentItem ( QListWidgetItem * item, QItemSelectionModel::SelectionFlags command )
|
||||
void setCurrentRow ( int row )
|
||||
void setCurrentRow ( int row, QItemSelectionModel::SelectionFlags command )
|
||||
void setItemWidget ( QListWidgetItem * item, QWidget * widget )
|
||||
void setSortingEnabled ( bool enable )
|
||||
void sortItems ( Qt::SortOrder order = Qt::AscendingOrder )
|
||||
QListWidgetItem * takeItem ( int row )
|
||||
QRect visualItemRect ( const QListWidgetItem * item ) const
|
||||
|
||||
|
||||
; SLOTS
|
||||
void clear ()
|
||||
void scrollToItem ( const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = EnsureVisible )
|
||||
|
||||
|
||||
72
harbour/contrib/hbqt/qth/QListWidgetItem.qth
Normal file
72
harbour/contrib/hbqt/qth/QListWidgetItem.qth
Normal file
@@ -0,0 +1,72 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QWidget
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QListWidgetItem>
|
||||
|
||||
|
||||
/*
|
||||
* QListWidgetItem ( QListWidget * parent = 0, int type = Type )
|
||||
* QListWidgetItem ( const QString & text, QListWidget * parent = 0, int type = Type )
|
||||
* QListWidgetItem ( const QIcon & icon, const QString & text, QListWidget * parent = 0, int type = Type )
|
||||
* QListWidgetItem ( const QListWidgetItem & other )
|
||||
* virtual ~QListWidgetItem ()
|
||||
*/
|
||||
HB_FUNC( QT_QLISTWIDGETITEM )
|
||||
{
|
||||
hb_retptr( new QListWidgetItem( hbqt_par_QWidget( 1 ), hb_parni( 2 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
enum ItemType { Type, UserType }
|
||||
|
||||
; PROTOTYPES
|
||||
QBrush background () const
|
||||
Qt::CheckState checkState () const
|
||||
virtual QListWidgetItem * clone () const
|
||||
virtual QVariant data ( int role ) const
|
||||
Qt::ItemFlags flags () const
|
||||
QFont font () const
|
||||
QBrush foreground () const
|
||||
QIcon icon () const
|
||||
bool isHidden () const
|
||||
bool isSelected () const
|
||||
QListWidget * listWidget () const
|
||||
virtual void read ( QDataStream & in )
|
||||
void setBackground ( const QBrush & brush )
|
||||
void setCheckState ( Qt::CheckState state )
|
||||
virtual void setData ( int role, const QVariant & value )
|
||||
void setFlags ( Qt::ItemFlags flags )
|
||||
void setFont ( const QFont & font )
|
||||
void setForeground ( const QBrush & brush )
|
||||
void setHidden ( bool hide )
|
||||
void setIcon ( const QIcon & icon )
|
||||
void setSelected ( bool select )
|
||||
void setSizeHint ( const QSize & size )
|
||||
void setStatusTip ( const QString & statusTip )
|
||||
void setText ( const QString & text )
|
||||
void setTextAlignment ( int alignment )
|
||||
void setToolTip ( const QString & toolTip )
|
||||
void setWhatsThis ( const QString & whatsThis )
|
||||
QSize sizeHint () const
|
||||
QString statusTip () const
|
||||
QString text () const
|
||||
int textAlignment () const
|
||||
QString toolTip () const
|
||||
int type () const
|
||||
QString whatsThis () const
|
||||
virtual void write ( QDataStream & out ) const
|
||||
virtual bool operator< ( const QListWidgetItem & other ) const
|
||||
QListWidgetItem & operator= ( const QListWidgetItem & other )
|
||||
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
43
harbour/contrib/hbqt/qth/QSignalMapper.qth
Normal file
43
harbour/contrib/hbqt/qth/QSignalMapper.qth
Normal file
@@ -0,0 +1,43 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QObject
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <Qt/QSignalMapper>
|
||||
|
||||
|
||||
/*
|
||||
* QSignalMapper ( QObject * parent = 0 )
|
||||
* ~QSignalMapper ()
|
||||
*/
|
||||
HB_FUNC( QT_QSIGNALMAPPER )
|
||||
{
|
||||
hb_retptr( new Q( hbqt_par_QObject( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
QObject * mapping ( int id ) const
|
||||
QObject * mapping ( const QString & id ) const
|
||||
QObject * mapping ( QWidget * widget ) const
|
||||
QObject * mapping ( QObject * object ) const
|
||||
void removeMappings ( QObject * sender )
|
||||
void setMapping ( QObject * sender, int id )
|
||||
void setMapping ( QObject * sender, const QString & text )
|
||||
void setMapping ( QObject * sender, QWidget * widget )
|
||||
void setMapping ( QObject * sender, QObject * object )
|
||||
|
||||
|
||||
; SLOTS
|
||||
void map ()
|
||||
void map ( QObject * sender )
|
||||
|
||||
|
||||
38
harbour/contrib/hbqt/qth/QSplashScreen.qth
Normal file
38
harbour/contrib/hbqt/qth/QSplashScreen.qth
Normal file
@@ -0,0 +1,38 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QWidget
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QSplashScreen>
|
||||
|
||||
|
||||
/*
|
||||
* QSplashScreen ( const QPixmap & pixmap = QPixmap(), Qt::WindowFlags f = 0 )
|
||||
* QSplashScreen ( QWidget * parent, const QPixmap & pixmap = QPixmap(), Qt::WindowFlags f = 0 )
|
||||
* virtual ~QSplashScreen ()
|
||||
*/
|
||||
HB_FUNC( QT_QSPLASHSCREEN )
|
||||
{
|
||||
hb_retptr( new QSplashScreen( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
void finish ( QWidget * mainWin )
|
||||
const QPixmap pixmap () const
|
||||
void repaint ()
|
||||
void setPixmap ( const QPixmap & pixmap )
|
||||
|
||||
; SLOTS
|
||||
void clearMessage ()
|
||||
void showMessage ( const QString & message, int alignment = Qt::AlignLeft, const QColor & color = Qt::black )
|
||||
|
||||
|
||||
41
harbour/contrib/hbqt/qth/QTimer.qth
Normal file
41
harbour/contrib/hbqt/qth/QTimer.qth
Normal file
@@ -0,0 +1,41 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QObject
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <Qt/QTimer>
|
||||
|
||||
|
||||
/*
|
||||
* QTimer ( QObject * parent = 0 )
|
||||
* ~QTimer ()
|
||||
*/
|
||||
HB_FUNC( QT_QTIMER )
|
||||
{
|
||||
hb_retptr( new QTimer( hbqt_par_QObject( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
|
||||
|
||||
; PROTOTYPES
|
||||
|
||||
int interval () const
|
||||
bool isActive () const
|
||||
bool isSingleShot () const
|
||||
void setInterval ( int msec )
|
||||
void setSingleShot ( bool singleShot )
|
||||
int timerId () const
|
||||
|
||||
; SLOTS
|
||||
void start ()
|
||||
void stop ()
|
||||
void start ( int msec )
|
||||
|
||||
|
||||
102
harbour/contrib/hbqt/qth/QUrl.qth
Normal file
102
harbour/contrib/hbqt/qth/QUrl.qth
Normal file
@@ -0,0 +1,102 @@
|
||||
; Header File to Generate Sources
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
Inherit = QWidget
|
||||
New = pParent
|
||||
</CLASS>
|
||||
|
||||
<CODE>
|
||||
#include <Qt/QUrl>
|
||||
|
||||
|
||||
/*
|
||||
* QUrl ()
|
||||
* QUrl ( const QString & url )
|
||||
* QUrl ( const QUrl & other )
|
||||
* QUrl ( const QString & url, ParsingMode parsingMode )
|
||||
* ~QUrl ()
|
||||
*/
|
||||
HB_FUNC( QT_QURL )
|
||||
{
|
||||
hb_retptr( new QUrl( hbqt_par_QString( 1 ) ) );
|
||||
}
|
||||
</CODE>
|
||||
|
||||
|
||||
; ENUMS
|
||||
enum FormattingOption { None, RemoveScheme, RemovePassword, RemoveUserInfo, ..., StripTrailingSlash }
|
||||
flags FormattingOptions
|
||||
enum ParsingMode { TolerantMode, StrictMode }
|
||||
|
||||
; PROTOTYPES
|
||||
void addEncodedQueryItem ( const QByteArray & key, const QByteArray & value )
|
||||
void addQueryItem ( const QString & key, const QString & value )
|
||||
QList<QByteArray> allEncodedQueryItemValues ( const QByteArray & key ) const
|
||||
QStringList allQueryItemValues ( const QString & key ) const
|
||||
QString authority () const
|
||||
void clear ()
|
||||
QByteArray encodedFragment () const
|
||||
QByteArray encodedHost () const
|
||||
QByteArray encodedPassword () const
|
||||
QByteArray encodedPath () const
|
||||
QByteArray encodedQuery () const
|
||||
QByteArray encodedQueryItemValue ( const QByteArray & key ) const
|
||||
QList<QPair<QByteArray, QByteArray> > encodedQueryItems () const
|
||||
QByteArray encodedUserName () const
|
||||
QString errorString () const
|
||||
QString fragment () const
|
||||
bool hasEncodedQueryItem ( const QByteArray & key ) const
|
||||
bool hasFragment () const
|
||||
bool hasQuery () const
|
||||
bool hasQueryItem ( const QString & key ) const
|
||||
QString host () const
|
||||
bool isEmpty () const
|
||||
bool isParentOf ( const QUrl & childUrl ) const
|
||||
bool isRelative () const
|
||||
bool isValid () const
|
||||
QString password () const
|
||||
QString path () const
|
||||
int port () const
|
||||
int port ( int defaultPort ) const
|
||||
QString queryItemValue ( const QString & key ) const
|
||||
QList<QPair<QString, QString> > queryItems () const
|
||||
char queryPairDelimiter () const
|
||||
char queryValueDelimiter () const
|
||||
void removeAllEncodedQueryItems ( const QByteArray & key )
|
||||
void removeAllQueryItems ( const QString & key )
|
||||
void removeEncodedQueryItem ( const QByteArray & key )
|
||||
void removeQueryItem ( const QString & key )
|
||||
QUrl resolved ( const QUrl & relative ) const
|
||||
QString scheme () const
|
||||
void setAuthority ( const QString & authority )
|
||||
void setEncodedFragment ( const QByteArray & fragment )
|
||||
void setEncodedHost ( const QByteArray & host )
|
||||
void setEncodedPassword ( const QByteArray & password )
|
||||
void setEncodedPath ( const QByteArray & path )
|
||||
void setEncodedQuery ( const QByteArray & query )
|
||||
void setEncodedQueryItems ( const QList<QPair<QByteArray, QByteArray> > & query )
|
||||
void setEncodedUrl ( const QByteArray & encodedUrl )
|
||||
void setEncodedUrl ( const QByteArray & encodedUrl, ParsingMode parsingMode )
|
||||
void setEncodedUserName ( const QByteArray & userName )
|
||||
void setFragment ( const QString & fragment )
|
||||
void setHost ( const QString & host )
|
||||
void setPassword ( const QString & password )
|
||||
void setPath ( const QString & path )
|
||||
void setPort ( int port )
|
||||
void setQueryDelimiters ( char valueDelimiter, char pairDelimiter )
|
||||
void setQueryItems ( const QList<QPair<QString, QString> > & query )
|
||||
void setScheme ( const QString & scheme )
|
||||
void setUrl ( const QString & url )
|
||||
void setUrl ( const QString & url, ParsingMode parsingMode )
|
||||
void setUserInfo ( const QString & userInfo )
|
||||
void setUserName ( const QString & userName )
|
||||
QByteArray toEncoded ( FormattingOptions options = None ) const
|
||||
QString toLocalFile () const
|
||||
QString toString ( FormattingOptions options = None ) const
|
||||
QString userInfo () const
|
||||
QString userName () const
|
||||
|
||||
; SLOTS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user