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) if (argc != 3)
{ {
qDebug("Usage: ./script dirWithkgmFiles fileToOutputTranslations"); tqDebug("Usage: ./script dirWithkgmFiles fileToOutputTranslations");
return 1; return 1;
} }

@ -128,7 +128,7 @@ void KErfassen::deaktivieren()
else else
ComboBoxTypen->setCurrentItem((*position).getGroup()); ComboBoxTypen->setCurrentItem((*position).getGroup());
TabWidgetFormas->setEnabled(false); TabWidgetFormas->setEnabled(false);
qWarning("desaktiviert"); tqWarning("desaktiviert");
TabWidgetFormas->setCurrentPage(0); TabWidgetFormas->setCurrentPage(0);
EditGerundio->setEnabled(false); EditGerundio->setEnabled(false);
EditParticipio->setEnabled(false); EditParticipio->setEnabled(false);
@ -169,7 +169,7 @@ void KErfassen::clearAll()
EditAleman->setText(""); EditAleman->setText("");
// Die Eingabefelder sollen wieder deaktiviert werden. Dabei werden sie auch gelöscht. // Die Eingabefelder sollen wieder deaktiviert werden. Dabei werden sie auch gelöscht.
deaktivieren(); deaktivieren();
qWarning("clearAll deaktiviert"); tqWarning("clearAll deaktiviert");
} }
bool KErfassen::wasChanged() bool KErfassen::wasChanged()
@ -213,7 +213,7 @@ void KErfassen::slotTypChanged(int i)
else else
{ {
deaktivieren(); deaktivieren();
qWarning("slotTypeChanged deaktiviert"); tqWarning("slotTypeChanged deaktiviert");
} }
} }
@ -483,7 +483,7 @@ void KErfassen::verbToWidget()
if (v.isGroupVerb()) if (v.isGroupVerb())
{ {
deaktivieren(); deaktivieren();
qWarning("verbTowidget deaktiviert"); tqWarning("verbTowidget deaktiviert");
} }
else else
{ {

@ -167,12 +167,12 @@ bool KVerbosDoc::openDocument(const KURL& url, const char *format /*=0*/)
deleteContents(); deleteContents();
if ((url.fileName().right(4) == "html")||(url.fileName().right(3) == "htm")) if ((url.fileName().right(4) == "html")||(url.fileName().right(3) == "htm"))
{ {
// qWarning("öffnen eines HTML-files"); // tqWarning("öffnen eines HTML-files");
b = openDocHTML(file); b = openDocHTML(file);
} }
else else
{ {
// qWarning("öffnen eines .verbos-files"); // tqWarning("öffnen eines .verbos-files");
b = openDocVERBOS(file); b = openDocVERBOS(file);
}; };
file.close(); 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 mb("kverbos warning", "An uncomplete verb has been found in the file",
TQMessageBox::Warning, 1, 0, 0, 0); TQMessageBox::Warning, 1, 0, 0, 0);
mb.exec(); mb.exec();
//qWarning("Ein unvollständiges Verb kam vor!"); //tqWarning("Ein unvollständiges Verb kam vor!");
}; };
}; };
appendVerb(NewVerb, false); // an die Liste anhängen 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 { // file opened successfully
if ((url.fileName().right(4) == "html")||(url.fileName().right(3) == "htm")) if ((url.fileName().right(4) == "html")||(url.fileName().right(3) == "htm"))
{ {
// qWarning("als HTML speichern"); // tqWarning("als HTML speichern");
b = saveDocHTML(file); b = saveDocHTML(file);
} }
else else
{ {
// qWarning("als .verbos speichern"); // tqWarning("als .verbos speichern");
b = saveDocVERBOS(file); b = saveDocVERBOS(file);
}; };
}; };
@ -530,7 +530,7 @@ bool KVerbosDoc::saveDocHTML(TQFile &f)
t << "&lt;missing i&gt;</td>" << endl; break; t << "&lt;missing i&gt;</td>" << endl; break;
default: default:
good = false; good = false;
//qWarning("Error! Wrong group!!"); //tqWarning("Error! Wrong group!!");
}; };
} }
else else

@ -362,7 +362,7 @@ endings verbSpanish::getEnding(bool& good)
else else
{ {
good = false; 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; return en;
} }
@ -520,19 +520,19 @@ bool verbSpanish::conjugateCondicional()
// fertigen Zeiten abegewählt. NIcht vergessen! // fertigen Zeiten abegewählt. NIcht vergessen!
bool verbSpanish::conjugateSubPresente() bool verbSpanish::conjugateSubPresente()
{ {
// qWarning("Not yet implemented."); // tqWarning("Not yet implemented.");
return true; return true;
} }
bool verbSpanish::conjugateSubPasado() bool verbSpanish::conjugateSubPasado()
{ {
// qWarning("Not yet implemented."); // tqWarning("Not yet implemented.");
return true; return true;
} }
bool verbSpanish::conjugateImperativo() bool verbSpanish::conjugateImperativo()
{ {
// qWarning("Not yet implemented."); // tqWarning("Not yet implemented.");
return true; return true;
} }
@ -741,7 +741,7 @@ bool verbSpanish::groupVerb(TQString &s, int time/*=-1*/, int person/*=-1*/)
if (imperativo == time) if (imperativo == time)
{ {
good = false; good = false;
// qWarning("Imperativo for group verbs isn't ready."); // tqWarning("Imperativo for group verbs isn't ready.");
}; };
break; break;
case 6: // <c -> qu> (vor e wird c zu qu) 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 ( !isValid(y,m,d) ) {
#if defined(TQT_CHECK_RANGE) #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 #endif
m_year = 0; m_year = 0;
m_month = 0; m_month = 0;
@ -312,7 +312,7 @@ bool ExtDate::setYMD( int y, int m, int d )
{ {
if ( ! isValid(y,m,d) ) { if ( ! isValid(y,m,d) ) {
#if defined(TQT_CHECK_RANGE) #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 #endif
m_year = 0; m_year = 0;
m_month = 0; m_month = 0;
@ -418,7 +418,7 @@ ExtDate ExtDate::fromString( const TQString& s, Qt::DateFormat f )
if ( s.isEmpty() ) { return dt; } if ( s.isEmpty() ) { return dt; }
if ( f == Qt::LocalDate ) { //can't use LocalFormat if ( f == Qt::LocalDate ) { //can't use LocalFormat
#if defined(TQT_CHECK_RANGE) #if defined(TQT_CHECK_RANGE)
qWarning( "TQDate::fromString: Parameter out of range" ); tqWarning( "TQDate::fromString: Parameter out of range" );
#endif #endif
return dt; return dt;
} }
@ -1077,7 +1077,7 @@ ExtDateTime ExtDateTime::fromString( const TQString& s, Qt::DateFormat f )
if ( ( s.isEmpty() ) || ( f == Qt::LocalDate ) ) { if ( ( s.isEmpty() ) || ( f == Qt::LocalDate ) ) {
#if defined(TQT_CHECK_RANGE) #if defined(TQT_CHECK_RANGE)
qWarning( "ExtDateTime::fromString: Parameter out of range" ); tqWarning( "ExtDateTime::fromString: Parameter out of range" );
#endif #endif
dt.d.setJD( INVALID_DAY ); dt.d.setJD( INVALID_DAY );
return dt; return dt;

@ -2004,7 +2004,7 @@ public:
// default: // default:
// accepted = FALSE; // accepted = FALSE;
// #ifdef TQT_CHECK_RANGE // #ifdef TQT_CHECK_RANGE
// qWarning( "TQTimeEdit::stepUp: Focus section out of range!" ); // tqWarning( "TQTimeEdit::stepUp: Focus section out of range!" );
// #endif // #endif
// break; // break;
// } // }
@ -2053,7 +2053,7 @@ public:
// default: // default:
// accepted = FALSE; // accepted = FALSE;
// #ifdef TQT_CHECK_RANGE // #ifdef TQT_CHECK_RANGE
// qWarning( "TQTimeEdit::stepDown: Focus section out of range!" ); // tqWarning( "TQTimeEdit::stepDown: Focus section out of range!" );
// #endif // #endif
// break; // break;
// } // }

Loading…
Cancel
Save