Rename additional global TQt functions

pull/1/head
Timothy Pearson 13 years ago
parent 7d4bf80194
commit 85455af9e4

@ -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;
}

@ -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
{

@ -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

@ -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)

@ -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;

@ -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;
// }

Loading…
Cancel
Save