diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /src/sql/qdatatable.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/sql/qdatatable.cpp')
-rw-r--r-- | src/sql/qdatatable.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/sql/qdatatable.cpp b/src/sql/qdatatable.cpp index 3a901a86e..6df0cce08 100644 --- a/src/sql/qdatatable.cpp +++ b/src/sql/qdatatable.cpp @@ -40,7 +40,7 @@ #include "ntqdatatable.h" -#ifndef QT_NO_SQL_VIEW_WIDGETS +#ifndef TQT_NO_SQL_VIEW_WIDGETS #include "ntqsqldriver.h" #include "ntqsqleditorfactory.h" @@ -722,7 +722,7 @@ bool TQDataTable::eventFilter( TQObject *o, TQEvent *e ) if ( sql && sql->driver() && !sql->driver()->hasFeature( TQSqlDriver::QuerySize ) && ke->key() == Key_End && d->dat.mode() == TQSql::None ) { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::setOverrideCursor( TQt::WaitCursor ); #endif int i = sql->at(); @@ -734,7 +734,7 @@ bool TQDataTable::eventFilter( TQObject *o, TQEvent *e ) i++; setNumRows( i+1 ); setCurrentCell( i+1, currentColumn() ); -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::restoreOverrideCursor(); #endif return TRUE; @@ -1059,12 +1059,12 @@ bool TQDataTable::insertCurrent() conf = confirmEdit( TQSql::Insert ); switch ( conf ) { case TQSql::Yes: { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::setOverrideCursor( TQt::waitCursor ); #endif emit beforeInsert( d->editBuffer ); b = sqlCursor()->insert(); -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::restoreOverrideCursor(); #endif if ( ( !b && !sqlCursor()->isActive() ) || !sqlCursor()->isActive() ) { @@ -1141,12 +1141,12 @@ bool TQDataTable::updateCurrent() conf = confirmEdit( TQSql::Update ); switch ( conf ) { case TQSql::Yes: { -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::setOverrideCursor( TQt::waitCursor ); #endif emit beforeUpdate( d->editBuffer ); b = sqlCursor()->update(); -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::restoreOverrideCursor(); #endif if ( ( !b && !sqlCursor()->isActive() ) || !sqlCursor()->isActive() ) { @@ -1215,14 +1215,14 @@ bool TQDataTable::deleteCurrent() return FALSE; switch ( conf ) { case TQSql::Yes:{ -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::setOverrideCursor( TQt::waitCursor ); #endif sqlCursor()->primeDelete(); emit primeDelete( sqlCursor()->editBuffer() ); emit beforeDelete( sqlCursor()->editBuffer() ); b = sqlCursor()->del(); -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::restoreOverrideCursor(); #endif if ( !b ) @@ -1300,7 +1300,7 @@ void TQDataTable::find( const TQString & str, bool caseSensitive, bool backwards else tmp = str; -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::setOverrideCursor( TQt::waitCursor ); #endif while( wrap ){ @@ -1344,7 +1344,7 @@ void TQDataTable::find( const TQString & str, bool caseSensitive, bool backwards row = numRows() - 1; } } -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR TQApplication::restoreOverrideCursor(); #endif } |