2011-11-25 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/qtgui/qth/QClipboard.qth
  * contrib/hbqt/qtgui/qth/QDirModel.qth
  * contrib/hbqt/qtgui/qth/QFileSystemModel.qth
    + Implemented: commented out methods returning data of type QMimeData.
This commit is contained in:
Pritpal Bedi
2011-11-25 22:26:14 +00:00
parent fba78cf0f6
commit 6ac276d2f7
4 changed files with 27 additions and 3 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-11-25 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtgui/qth/QClipboard.qth
* contrib/hbqt/qtgui/qth/QDirModel.qth
* contrib/hbqt/qtgui/qth/QFileSystemModel.qth
+ Implemented: commented out methods returning data of type QMimeData.
2011-11-25 11:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/package/mpkg_rpm.sh
! fixed RPM _topdir detection.

View File

@@ -43,7 +43,13 @@ enum Mode { Clipboard, Selection, FindBuffer }
<PROTOS>
void clear ( Mode mode = Clipboard )
QImage image ( Mode mode = Clipboard ) const
//const QMimeData * mimeData ( Mode mode = Clipboard ) const
const QMimeData * mimeData ( Mode mode = Clipboard ) const{
QClipboard * p = ( QClipboard * ) hbqt_par_ptr( 0 );
if( p )
{
hbqt_create_objectGC( hbqt_gcAllocate_QMimeData( ( void* ) p->mimeData( ( QClipboard::Mode ) hb_parni( 1 ) ), false ), "hb_QMimeData" );
}
}
bool ownsClipboard () const
bool ownsFindBuffer () const
bool ownsSelection () const

View File

@@ -54,7 +54,13 @@ QModelIndex index ( const QString & path, int column = 0 ) const
bool isDir ( const QModelIndex & index ) const
bool isReadOnly () const
bool lazyChildCount () const
// virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const
virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const{
QDirModel * p = ( QDirModel * ) hbqt_par_ptr( 0 );
if( p )
{
hbqt_create_objectGC( hbqt_gcAllocate_QMimeData( ( void* ) p->mimeData( *hbqt_par_QModelIndexList( 1 ) ), false ), "hb_QMimeData" );
}
}
virtual QStringList mimeTypes () const
QModelIndex mkdir ( const QModelIndex & parent, const QString & name )
QStringList nameFilters () const

View File

@@ -47,7 +47,13 @@ QModelIndex index ( const QString & path, int column = 0 ) const
bool isDir ( const QModelIndex & index ) const
bool isReadOnly () const
QDateTime lastModified ( const QModelIndex & index ) const
// virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const
virtual QMimeData * mimeData ( const QModelIndexList & indexes ) const{
QFileSystemModel * p = ( QFileSystemModel * ) hbqt_par_ptr( 0 );
if( p )
{
hbqt_create_objectGC( hbqt_gcAllocate_QMimeData( ( void* ) p->mimeData( *hbqt_par_QModelIndexList( 1 ) ), false ), "hb_QMimeData" );
}
}
virtual QStringList mimeTypes () const
QModelIndex mkdir ( const QModelIndex & parent, const QString & name )
QVariant myComputer ( int role = Qt::DisplayRole ) const