summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /src/dialogs
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/qcolordialog.cpp8
-rw-r--r--src/dialogs/qdialog.cpp2
-rw-r--r--src/dialogs/qerrormessage.cpp4
-rw-r--r--src/dialogs/qinputdialog.cpp2
-rw-r--r--src/dialogs/qmessagebox.cpp10
-rw-r--r--src/dialogs/qmessagebox.h6
-rw-r--r--src/dialogs/qprintdialog.cpp8
-rw-r--r--src/dialogs/qprogressdialog.cpp2
-rw-r--r--src/dialogs/qwizard.cpp4
9 files changed, 23 insertions, 23 deletions
diff --git a/src/dialogs/qcolordialog.cpp b/src/dialogs/qcolordialog.cpp
index 4ce83bb..d807f79 100644
--- a/src/dialogs/qcolordialog.cpp
+++ b/src/dialogs/qcolordialog.cpp
@@ -366,7 +366,7 @@ void QWellArray::setCellBrush( int row, int col, const QBrush &b )
d->brush[row*numCols()+col] = b;
#ifdef QT_CHECK_RANGE
else
- qWarning( "QWellArray::setCellBrush( %d, %d ) out of range", row, col );
+ tqWarning( "QWellArray::setCellBrush( %d, %d ) out of range", row, col );
#endif
}
@@ -471,7 +471,7 @@ QRgb QColorDialog::customColor( int i )
initRGB();
if ( i < 0 || i >= customCount() ) {
#ifdef QT_CHECK_RANGE
- qWarning( "QColorDialog::customColor() index %d out of range", i );
+ tqWarning( "QColorDialog::customColor() index %d out of range", i );
#endif
i = 0;
}
@@ -486,7 +486,7 @@ void QColorDialog::setCustomColor( int i, QRgb c )
initRGB();
if ( i < 0 || i >= customCount() ) {
#ifdef QT_CHECK_RANGE
- qWarning( "QColorDialog::setCustomColor() index %d out of range", i );
+ tqWarning( "QColorDialog::setCustomColor() index %d out of range", i );
#endif
return;
}
@@ -503,7 +503,7 @@ void QColorDialog::setStandardColor( int i, QRgb c )
initRGB();
if ( i < 0 || i >= 6*8 ) {
#ifdef QT_CHECK_RANGE
- qWarning( "QColorDialog::setStandardColor() index %d out of range", i );
+ tqWarning( "QColorDialog::setStandardColor() index %d out of range", i );
#endif
return;
}
diff --git a/src/dialogs/qdialog.cpp b/src/dialogs/qdialog.cpp
index a80f509..07f8cf1 100644
--- a/src/dialogs/qdialog.cpp
+++ b/src/dialogs/qdialog.cpp
@@ -418,7 +418,7 @@ void QDialog::hideSpecial()
int QDialog::exec()
{
if ( in_loop ) {
- qWarning( "QDialog::exec: Recursive call detected" );
+ tqWarning( "QDialog::exec: Recursive call detected" );
return -1;
}
diff --git a/src/dialogs/qerrormessage.cpp b/src/dialogs/qerrormessage.cpp
index 4e4dc5a..20da497 100644
--- a/src/dialogs/qerrormessage.cpp
+++ b/src/dialogs/qerrormessage.cpp
@@ -95,7 +95,7 @@ message() slot, or connect signals to it.
\i For developers. In this context the static qtHandler() installs
a message handler using qInstallMsgHandler() and creates a QErrorMessage
-that displays qDebug(), qWarning() and qFatal() messages.
+that displays tqDebug(), tqWarning() and tqFatal() messages.
\endlist
In both cases QErrorMessage will queue pending messages, and display
@@ -224,7 +224,7 @@ QErrorMessage * QErrorMessage::qtHandler()
{
if ( !qtMessageHandler ) {
qtMessageHandler = new QErrorMessage( 0, "automatic message handler" );
- qAddPostRoutine( deleteStaticcQErrorMessage ); // clean up
+ tqAddPostRoutine( deleteStaticcQErrorMessage ); // clean up
#ifndef QT_NO_WIDGET_TOPEXTRA
if ( qApp->mainWidget() )
qtMessageHandler->setCaption( qApp->mainWidget()->caption() );
diff --git a/src/dialogs/qinputdialog.cpp b/src/dialogs/qinputdialog.cpp
index fd73e0a..a0f39dd 100644
--- a/src/dialogs/qinputdialog.cpp
+++ b/src/dialogs/qinputdialog.cpp
@@ -231,7 +231,7 @@ void QInputDialog::setType( Type t )
break;
default:
#if defined(QT_CHECK_STATE)
- qWarning( "QInputDialog::setType: Invalid type" );
+ tqWarning( "QInputDialog::setType: Invalid type" );
#endif
break;
}
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp
index 37407b0..d287576 100644
--- a/src/dialogs/qmessagebox.cpp
+++ b/src/dialogs/qmessagebox.cpp
@@ -614,7 +614,7 @@ void QMessageBox::init( int button0, int button1, int button2 )
if ( (button2 && !button1) || (button1 && !button0) ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QMessageBox: Inconsistent button parameters" );
+ tqWarning( "QMessageBox: Inconsistent button parameters" );
#endif
button0 = button1 = button2 = 0;
}
@@ -634,7 +634,7 @@ void QMessageBox::init( int button0, int button1, int button2 )
if ( (b & Default) ) {
if ( mbd->defButton >= 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QMessageBox: There can be at most one "
+ tqWarning( "QMessageBox: There can be at most one "
"default button" );
#endif
} else {
@@ -644,7 +644,7 @@ void QMessageBox::init( int button0, int button1, int button2 )
if ( (b & Escape) ) {
if ( mbd->escButton >= 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QMessageBox: There can be at most one "
+ tqWarning( "QMessageBox: There can be at most one "
"escape button" );
#endif
} else {
@@ -657,13 +657,13 @@ void QMessageBox::init( int button0, int button1, int button2 )
b = Ok;
} else if ( b < 0 || b > LastButton ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QMessageBox: Invalid button specifier" );
+ tqWarning( "QMessageBox: Invalid button specifier" );
#endif
b = Ok;
} else {
if ( i > 0 && mbd->button[i-1] == 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QMessageBox: Inconsistent button parameters; "
+ tqWarning( "QMessageBox: Inconsistent button parameters; "
"button %d defined but not button %d",
i+1, i );
#endif
diff --git a/src/dialogs/qmessagebox.h b/src/dialogs/qmessagebox.h
index 338525b..781efd1 100644
--- a/src/dialogs/qmessagebox.h
+++ b/src/dialogs/qmessagebox.h
@@ -209,13 +209,13 @@ private: // Disabled copy constructor and operator=
* }
*/
#define QT_REQUIRE_VERSION( argc, argv, str ) { QString s=QString::fromLatin1(str);\
-QString sq=QString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()<<16)+\
+QString sq=QString::fromLatin1(tqVersion()); if ( (sq.section('.',0,0).toInt()<<16)+\
(sq.section('.',1,1).toInt()<<8)+sq.section('.',2,2).toInt()<(s.section('.',0,0).toInt()<<16)+\
(s.section('.',1,1).toInt()<<8)+s.section('.',2,2).toInt() ){if ( !qApp){ int c=0; new \
QApplication(argc,argv);} QString s = QApplication::tr("Executable '%1' requires Qt "\
"%2, found Qt %3.").arg(QString::fromLatin1(qAppName())).arg(QString::fromLatin1(\
-str)).arg(QString::fromLatin1(qVersion()) ); QMessageBox::critical( 0, QApplication::tr(\
-"Incompatible Qt Library Error" ), s, QMessageBox::Abort,0 ); qFatal(s.ascii()); }}
+str)).arg(QString::fromLatin1(tqVersion()) ); QMessageBox::critical( 0, QApplication::tr(\
+"Incompatible Qt Library Error" ), s, QMessageBox::Abort,0 ); tqFatal(s.ascii()); }}
#endif // QT_NO_MESSAGEBOX
diff --git a/src/dialogs/qprintdialog.cpp b/src/dialogs/qprintdialog.cpp
index 3f3e2a1..7c0e015 100644
--- a/src/dialogs/qprintdialog.cpp
+++ b/src/dialogs/qprintdialog.cpp
@@ -404,7 +404,7 @@ static char * parsePrintersConf( QListView * printers, bool *found = 0 )
j++;
// that's our default printer
defaultPrinter =
- qstrdup( printerDesc.mid( i, j-i ).ascii() );
+ tqstrdup( printerDesc.mid( i, j-i ).ascii() );
printerName = "";
printerDesc = "";
} else if ( printerName == QString::fromLatin1("_all") ) {
@@ -807,7 +807,7 @@ static char * parseCupsOutput( QListView * printers )
perhapsAddPrinter( printers, d[n].name,
QPrintDialog::tr("Unknown Location"), 0 );
if ( d[n].is_default && !defaultPrinter )
- defaultPrinter = qstrdup( d[n].instance );
+ defaultPrinter = tqstrdup( d[n].instance );
n++;
}
}
@@ -977,7 +977,7 @@ void QPrintDialog::setGlobalPrintDialog( QPrintDialog *pd )
if ( oldPd )
delete oldPd;
else
- qAddPostRoutine( qpd_cleanup_globaldialog );
+ tqAddPostRoutine( qpd_cleanup_globaldialog );
globalPrintDialog->adjustSize();
}
@@ -1375,7 +1375,7 @@ bool QPrintDialog::getPrinterSetup( QPrinter * p, QWidget* w )
#ifndef QT_NO_WIDGET_TOPEXTRA
globalPrintDialog->setCaption( QPrintDialog::tr( "Setup Printer" ) );
#endif
- qAddPostRoutine( qpd_cleanup_globaldialog );
+ tqAddPostRoutine( qpd_cleanup_globaldialog );
globalPrintDialog->setPrinter( p, TRUE );
globalPrintDialog->adjustSize();
} else {
diff --git a/src/dialogs/qprogressdialog.cpp b/src/dialogs/qprogressdialog.cpp
index bdae310..b7d83eb 100644
--- a/src/dialogs/qprogressdialog.cpp
+++ b/src/dialogs/qprogressdialog.cpp
@@ -456,7 +456,7 @@ void QProgressDialog::setBar( QProgressBar *bar )
{
if ( progress() > 0 ) {
#if defined(QT_CHECK_STATE)
- qWarning( "QProgrssDialog::setBar: Cannot set a new progress bar "
+ tqWarning( "QProgrssDialog::setBar: Cannot set a new progress bar "
"while the old one is active" );
#endif
}
diff --git a/src/dialogs/qwizard.cpp b/src/dialogs/qwizard.cpp
index 32c386a..3197af7 100644
--- a/src/dialogs/qwizard.cpp
+++ b/src/dialogs/qwizard.cpp
@@ -264,7 +264,7 @@ void QWizard::addPage( QWidget * page, const QString & title )
return;
if ( d->page( page ) ) {
#if defined(QT_CHECK_STATE)
- qWarning( "QWizard::addPage(): already added %s/%s to %s/%s",
+ tqWarning( "QWizard::addPage(): already added %s/%s to %s/%s",
page->className(), page->name(),
className(), name() );
#endif
@@ -293,7 +293,7 @@ void QWizard::insertPage( QWidget * page, const QString & title, int index )
return;
if ( d->page( page ) ) {
#if defined(QT_CHECK_STATE)
- qWarning( "QWizard::insertPage(): already added %s/%s to %s/%s",
+ tqWarning( "QWizard::insertPage(): already added %s/%s to %s/%s",
page->className(), page->name(),
className(), name() );
#endif