summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:31:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:31:17 -0600
commit85455af9e423ed615f246d2faa5d3a0b99b90f95 (patch)
treea6336870987881d46f9319bd562161f7775ad739
parent7d4bf8019432296e9a3786673cafacc40cb519df (diff)
downloadtdeedu-85455af9e423ed615f246d2faa5d3a0b99b90f95.tar.gz
tdeedu-85455af9e423ed615f246d2faa5d3a0b99b90f95.zip
Rename additional global TQt functions
-rw-r--r--kgeography/src/script.cpp2
-rw-r--r--kverbos/kverbos/kerfassen.cpp8
-rw-r--r--kverbos/kverbos/kverbosdoc.cpp12
-rw-r--r--kverbos/kverbos/verbspanish.cpp10
-rw-r--r--libtdeedu/extdate/extdatetime.cpp8
-rw-r--r--libtdeedu/extdate/extdatetimeedit.cpp4
6 files changed, 22 insertions, 22 deletions
diff --git a/kgeography/src/script.cpp b/kgeography/src/script.cpp
index bae8e3c8..d6da14e8 100644
--- a/kgeography/src/script.cpp
+++ b/kgeography/src/script.cpp
@@ -19,7 +19,7 @@ int main(int argc, char *argv[])
{
if (argc != 3)
{
- qDebug("Usage: ./script dirWithkgmFiles fileToOutputTranslations");
+ tqDebug("Usage: ./script dirWithkgmFiles fileToOutputTranslations");
return 1;
}
diff --git a/kverbos/kverbos/kerfassen.cpp b/kverbos/kverbos/kerfassen.cpp
index 9ae8c2b7..36037670 100644
--- a/kverbos/kverbos/kerfassen.cpp
+++ b/kverbos/kverbos/kerfassen.cpp
@@ -128,7 +128,7 @@ void KErfassen::deaktivieren()
else
ComboBoxTypen->setCurrentItem((*position).getGroup());
TabWidgetFormas->setEnabled(false);
- qWarning("desaktiviert");
+ tqWarning("desaktiviert");
TabWidgetFormas->setCurrentPage(0);
EditGerundio->setEnabled(false);
EditParticipio->setEnabled(false);
@@ -169,7 +169,7 @@ void KErfassen::clearAll()
EditAleman->setText("");
// Die Eingabefelder sollen wieder deaktiviert werden. Dabei werden sie auch gelöscht.
deaktivieren();
- qWarning("clearAll deaktiviert");
+ tqWarning("clearAll deaktiviert");
}
bool KErfassen::wasChanged()
@@ -213,7 +213,7 @@ void KErfassen::slotTypChanged(int i)
else
{
deaktivieren();
-qWarning("slotTypeChanged deaktiviert");
+tqWarning("slotTypeChanged deaktiviert");
}
}
@@ -483,7 +483,7 @@ void KErfassen::verbToWidget()
if (v.isGroupVerb())
{
deaktivieren();
-qWarning("verbTowidget deaktiviert");
+tqWarning("verbTowidget deaktiviert");
}
else
{
diff --git a/kverbos/kverbos/kverbosdoc.cpp b/kverbos/kverbos/kverbosdoc.cpp
index 5856ea55..3670b7db 100644
--- a/kverbos/kverbos/kverbosdoc.cpp
+++ b/kverbos/kverbos/kverbosdoc.cpp
@@ -167,12 +167,12 @@ bool KVerbosDoc::openDocument(const KURL& url, const char *format /*=0*/)
deleteContents();
if ((url.fileName().right(4) == "html")||(url.fileName().right(3) == "htm"))
{
- // qWarning("öffnen eines HTML-files");
+ // tqWarning("öffnen eines HTML-files");
b = openDocHTML(file);
}
else
{
- // qWarning("öffnen eines .verbos-files");
+ // tqWarning("öffnen eines .verbos-files");
b = openDocVERBOS(file);
};
file.close();
@@ -406,7 +406,7 @@ bool KVerbosDoc::openDocVERBOS(TQFile &f)
TQMessageBox mb("kverbos warning", "An uncomplete verb has been found in the file",
TQMessageBox::Warning, 1, 0, 0, 0);
mb.exec();
- //qWarning("Ein unvollständiges Verb kam vor!");
+ //tqWarning("Ein unvollständiges Verb kam vor!");
};
};
appendVerb(NewVerb, false); // an die Liste anhängen
@@ -425,12 +425,12 @@ bool KVerbosDoc::saveDocument(const KURL& url, const char *format /*=0*/)
{ // file opened successfully
if ((url.fileName().right(4) == "html")||(url.fileName().right(3) == "htm"))
{
- // qWarning("als HTML speichern");
+ // tqWarning("als HTML speichern");
b = saveDocHTML(file);
}
else
{
- // qWarning("als .verbos speichern");
+ // tqWarning("als .verbos speichern");
b = saveDocVERBOS(file);
};
};
@@ -530,7 +530,7 @@ bool KVerbosDoc::saveDocHTML(TQFile &f)
t << "&lt;missing i&gt;</td>" << endl; break;
default:
good = false;
- //qWarning("Error! Wrong group!!");
+ //tqWarning("Error! Wrong group!!");
};
}
else
diff --git a/kverbos/kverbos/verbspanish.cpp b/kverbos/kverbos/verbspanish.cpp
index 9db1e466..a5085d89 100644
--- a/kverbos/kverbos/verbspanish.cpp
+++ b/kverbos/kverbos/verbspanish.cpp
@@ -362,7 +362,7 @@ endings verbSpanish::getEnding(bool& good)
else
{
good = false;
- // qWarning("The class verb couldn't find the ending of the verb " + spanish + ".");
+ // tqWarning("The class verb couldn't find the ending of the verb " + spanish + ".");
};
return en;
}
@@ -520,19 +520,19 @@ bool verbSpanish::conjugateCondicional()
// fertigen Zeiten abegewählt. NIcht vergessen!
bool verbSpanish::conjugateSubPresente()
{
- // qWarning("Not yet implemented.");
+ // tqWarning("Not yet implemented.");
return true;
}
bool verbSpanish::conjugateSubPasado()
{
- // qWarning("Not yet implemented.");
+ // tqWarning("Not yet implemented.");
return true;
}
bool verbSpanish::conjugateImperativo()
{
- // qWarning("Not yet implemented.");
+ // tqWarning("Not yet implemented.");
return true;
}
@@ -741,7 +741,7 @@ bool verbSpanish::groupVerb(TQString &s, int time/*=-1*/, int person/*=-1*/)
if (imperativo == time)
{
good = false;
- // qWarning("Imperativo for group verbs isn't ready.");
+ // tqWarning("Imperativo for group verbs isn't ready.");
};
break;
case 6: // <c -> qu> (vor e wird c zu qu)
diff --git a/libtdeedu/extdate/extdatetime.cpp b/libtdeedu/extdate/extdatetime.cpp
index fa87a85f..681db123 100644
--- a/libtdeedu/extdate/extdatetime.cpp
+++ b/libtdeedu/extdate/extdatetime.cpp
@@ -78,7 +78,7 @@ ExtDate::ExtDate( int y, int m, int d)
{
if ( !isValid(y,m,d) ) {
#if defined(TQT_CHECK_RANGE)
- qWarning( "ExtDate: Invalid date %04d-%02d-%02d", y, m, d );
+ tqWarning( "ExtDate: Invalid date %04d-%02d-%02d", y, m, d );
#endif
m_year = 0;
m_month = 0;
@@ -312,7 +312,7 @@ bool ExtDate::setYMD( int y, int m, int d )
{
if ( ! isValid(y,m,d) ) {
#if defined(TQT_CHECK_RANGE)
- qWarning( "ExtDate: Invalid date %04d-%02d-%02d", y, m, d );
+ tqWarning( "ExtDate: Invalid date %04d-%02d-%02d", y, m, d );
#endif
m_year = 0;
m_month = 0;
@@ -418,7 +418,7 @@ ExtDate ExtDate::fromString( const TQString& s, Qt::DateFormat f )
if ( s.isEmpty() ) { return dt; }
if ( f == Qt::LocalDate ) { //can't use LocalFormat
#if defined(TQT_CHECK_RANGE)
- qWarning( "TQDate::fromString: Parameter out of range" );
+ tqWarning( "TQDate::fromString: Parameter out of range" );
#endif
return dt;
}
@@ -1077,7 +1077,7 @@ ExtDateTime ExtDateTime::fromString( const TQString& s, Qt::DateFormat f )
if ( ( s.isEmpty() ) || ( f == Qt::LocalDate ) ) {
#if defined(TQT_CHECK_RANGE)
- qWarning( "ExtDateTime::fromString: Parameter out of range" );
+ tqWarning( "ExtDateTime::fromString: Parameter out of range" );
#endif
dt.d.setJD( INVALID_DAY );
return dt;
diff --git a/libtdeedu/extdate/extdatetimeedit.cpp b/libtdeedu/extdate/extdatetimeedit.cpp
index bc64c6ed..21e74809 100644
--- a/libtdeedu/extdate/extdatetimeedit.cpp
+++ b/libtdeedu/extdate/extdatetimeedit.cpp
@@ -2004,7 +2004,7 @@ public:
// default:
// accepted = FALSE;
// #ifdef TQT_CHECK_RANGE
-// qWarning( "TQTimeEdit::stepUp: Focus section out of range!" );
+// tqWarning( "TQTimeEdit::stepUp: Focus section out of range!" );
// #endif
// break;
// }
@@ -2053,7 +2053,7 @@ public:
// default:
// accepted = FALSE;
// #ifdef TQT_CHECK_RANGE
-// qWarning( "TQTimeEdit::stepDown: Focus section out of range!" );
+// tqWarning( "TQTimeEdit::stepDown: Focus section out of range!" );
// #endif
// break;
// }