diff options
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/ntqdatabrowser.h | 20 | ||||
-rw-r--r-- | src/sql/ntqdatatable.h | 28 | ||||
-rw-r--r-- | src/sql/ntqsqldatabase.h | 12 | ||||
-rw-r--r-- | src/sql/qsqlpropertymap.cpp | 2 |
4 files changed, 31 insertions, 31 deletions
diff --git a/src/sql/ntqdatabrowser.h b/src/sql/ntqdatabrowser.h index 938b93208..54a1d9e8d 100644 --- a/src/sql/ntqdatabrowser.h +++ b/src/sql/ntqdatabrowser.h @@ -59,16 +59,16 @@ class TQDataBrowserPrivate; class Q_EXPORT TQDataBrowser : public TQWidget { TQ_OBJECT - Q_PROPERTY( bool boundaryChecking READ boundaryChecking WRITE setBoundaryChecking ) - Q_PROPERTY( TQString filter READ filter WRITE setFilter ) - Q_PROPERTY( TQStringList sort READ sort WRITE setSort ) - Q_PROPERTY( bool confirmEdits READ confirmEdits WRITE setConfirmEdits ) - Q_PROPERTY( bool confirmInsert READ confirmInsert WRITE setConfirmInsert ) - Q_PROPERTY( bool confirmUpdate READ confirmUpdate WRITE setConfirmUpdate ) - Q_PROPERTY( bool confirmDelete READ confirmDelete WRITE setConfirmDelete ) - Q_PROPERTY( bool confirmCancels READ confirmCancels WRITE setConfirmCancels ) - Q_PROPERTY( bool readOnly READ isReadOnly WRITE setReadOnly ) - Q_PROPERTY( bool autoEdit READ autoEdit WRITE setAutoEdit ) + TQ_PROPERTY( bool boundaryChecking READ boundaryChecking WRITE setBoundaryChecking ) + TQ_PROPERTY( TQString filter READ filter WRITE setFilter ) + TQ_PROPERTY( TQStringList sort READ sort WRITE setSort ) + TQ_PROPERTY( bool confirmEdits READ confirmEdits WRITE setConfirmEdits ) + TQ_PROPERTY( bool confirmInsert READ confirmInsert WRITE setConfirmInsert ) + TQ_PROPERTY( bool confirmUpdate READ confirmUpdate WRITE setConfirmUpdate ) + TQ_PROPERTY( bool confirmDelete READ confirmDelete WRITE setConfirmDelete ) + TQ_PROPERTY( bool confirmCancels READ confirmCancels WRITE setConfirmCancels ) + TQ_PROPERTY( bool readOnly READ isReadOnly WRITE setReadOnly ) + TQ_PROPERTY( bool autoEdit READ autoEdit WRITE setAutoEdit ) public: TQDataBrowser( TQWidget* parent=0, const char* name=0, WFlags fl = 0 ); diff --git a/src/sql/ntqdatatable.h b/src/sql/ntqdatatable.h index e92f8b6c8..489661c87 100644 --- a/src/sql/ntqdatatable.h +++ b/src/sql/ntqdatatable.h @@ -69,20 +69,20 @@ class TQM_EXPORT_SQL TQDataTable : public TQTable { TQ_OBJECT - Q_PROPERTY( TQString nullText READ nullText WRITE setNullText ) - Q_PROPERTY( TQString trueText READ trueText WRITE setTrueText ) - Q_PROPERTY( TQString falseText READ falseText WRITE setFalseText ) - Q_PROPERTY( DateFormat dateFormat READ dateFormat WRITE setDateFormat ) - Q_PROPERTY( bool confirmEdits READ confirmEdits WRITE setConfirmEdits ) - Q_PROPERTY( bool confirmInsert READ confirmInsert WRITE setConfirmInsert ) - Q_PROPERTY( bool confirmUpdate READ confirmUpdate WRITE setConfirmUpdate ) - Q_PROPERTY( bool confirmDelete READ confirmDelete WRITE setConfirmDelete ) - Q_PROPERTY( bool confirmCancels READ confirmCancels WRITE setConfirmCancels ) - Q_PROPERTY( bool autoEdit READ autoEdit WRITE setAutoEdit ) - Q_PROPERTY( TQString filter READ filter WRITE setFilter ) - Q_PROPERTY( TQStringList sort READ sort WRITE setSort ) - Q_PROPERTY( int numCols READ numCols ) - Q_PROPERTY( int numRows READ numRows ) + TQ_PROPERTY( TQString nullText READ nullText WRITE setNullText ) + TQ_PROPERTY( TQString trueText READ trueText WRITE setTrueText ) + TQ_PROPERTY( TQString falseText READ falseText WRITE setFalseText ) + TQ_PROPERTY( DateFormat dateFormat READ dateFormat WRITE setDateFormat ) + TQ_PROPERTY( bool confirmEdits READ confirmEdits WRITE setConfirmEdits ) + TQ_PROPERTY( bool confirmInsert READ confirmInsert WRITE setConfirmInsert ) + TQ_PROPERTY( bool confirmUpdate READ confirmUpdate WRITE setConfirmUpdate ) + TQ_PROPERTY( bool confirmDelete READ confirmDelete WRITE setConfirmDelete ) + TQ_PROPERTY( bool confirmCancels READ confirmCancels WRITE setConfirmCancels ) + TQ_PROPERTY( bool autoEdit READ autoEdit WRITE setAutoEdit ) + TQ_PROPERTY( TQString filter READ filter WRITE setFilter ) + TQ_PROPERTY( TQStringList sort READ sort WRITE setSort ) + TQ_PROPERTY( int numCols READ numCols ) + TQ_PROPERTY( int numRows READ numRows ) public: TQDataTable ( TQWidget* parent=0, const char* name=0 ); diff --git a/src/sql/ntqsqldatabase.h b/src/sql/ntqsqldatabase.h index 97b744b1a..75aa0dedc 100644 --- a/src/sql/ntqsqldatabase.h +++ b/src/sql/ntqsqldatabase.h @@ -79,12 +79,12 @@ public: class TQM_EXPORT_SQL TQSqlDatabase : public TQObject { TQ_OBJECT - Q_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName ) - Q_PROPERTY( TQString userName READ userName WRITE setUserName ) - Q_PROPERTY( TQString password READ password WRITE setPassword ) - Q_PROPERTY( TQString hostName READ hostName WRITE setHostName ) - Q_PROPERTY( int port READ port WRITE setPort ) - Q_PROPERTY( TQString connectOptions READ connectOptions WRITE setConnectOptions ) + TQ_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName ) + TQ_PROPERTY( TQString userName READ userName WRITE setUserName ) + TQ_PROPERTY( TQString password READ password WRITE setPassword ) + TQ_PROPERTY( TQString hostName READ hostName WRITE setHostName ) + TQ_PROPERTY( int port READ port WRITE setPort ) + TQ_PROPERTY( TQString connectOptions READ connectOptions WRITE setConnectOptions ) public: ~TQSqlDatabase(); diff --git a/src/sql/qsqlpropertymap.cpp b/src/sql/qsqlpropertymap.cpp index 2d32583c3..a83f01862 100644 --- a/src/sql/qsqlpropertymap.cpp +++ b/src/sql/qsqlpropertymap.cpp @@ -250,7 +250,7 @@ void TQSqlPropertyMap::setProperty( TQWidget * widget, const TQVariant & value ) /*! Insert a new classname/property pair, which is used for custom SQL - field editors. There \e must be a \c Q_PROPERTY clause in the \a + field editors. There \e must be a \c TQ_PROPERTY clause in the \a classname class declaration for the \a property. */ void TQSqlPropertyMap::insert( const TQString & classname, |