diff options
Diffstat (limited to 'libkdeedu')
-rw-r--r-- | libkdeedu/extdate/extdatetimeedit.cpp | 6 | ||||
-rw-r--r-- | libkdeedu/kdeeduui/kdeeduglossary.cpp | 14 | ||||
-rw-r--r-- | libkdeedu/kdeeduui/kedusimpleentrydlgForm.ui | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/libkdeedu/extdate/extdatetimeedit.cpp b/libkdeedu/extdate/extdatetimeedit.cpp index 23871cdb..78bc371b 100644 --- a/libkdeedu/extdate/extdatetimeedit.cpp +++ b/libkdeedu/extdate/extdatetimeedit.cpp @@ -517,12 +517,12 @@ bool ExtDateTimeEditor::eventFilter( TQObject *o, TQEvent *e ) ::tqqt_cast<ExtDateTimeEdit*>(w) ) break; hadDateEdit = hadDateEdit || ::tqqt_cast<ExtDateEdit*>(w); - w = w->tqparentWidget(); + w = w->parentWidget(); } if ( w ) { if ( !::tqqt_cast<ExtDateTimeEdit*>(w) ) { - w = w->tqparentWidget(); + w = w->parentWidget(); } else { ExtDateTimeEdit *ed = (ExtDateTimeEdit*)w; if ( hadDateEdit && ke->key() == Key_Tab ) { @@ -533,7 +533,7 @@ bool ExtDateTimeEditor::eventFilter( TQObject *o, TQEvent *e ) return TRUE; } else { while ( w && !::tqqt_cast<ExtDateTimeEdit*>(w) ) - w = w->tqparentWidget(); + w = w->parentWidget(); } } diff --git a/libkdeedu/kdeeduui/kdeeduglossary.cpp b/libkdeedu/kdeeduui/kdeeduglossary.cpp index ff108975..882b5007 100644 --- a/libkdeedu/kdeeduui/kdeeduglossary.cpp +++ b/libkdeedu/kdeeduui/kdeeduglossary.cpp @@ -41,25 +41,25 @@ Glossary::~Glossary() bool Glossary::loadLayout( TQDomDocument &Document, const KURL& url ) { - TQFile tqlayoutFile( url.path() ); + TQFile layoutFile( url.path() ); - if (!tqlayoutFile.exists()) + if (!layoutFile.exists()) { - kdDebug() << "no such file: " << tqlayoutFile.name() << endl; + kdDebug() << "no such file: " << layoutFile.name() << endl; return false; } - if (!tqlayoutFile.open(IO_ReadOnly)) + if (!layoutFile.open(IO_ReadOnly)) return false; ///Check if document is well-formed - if (!Document.setContent(&tqlayoutFile)) + if (!Document.setContent(&layoutFile)) { kdDebug() << "wrong xml" << endl; - tqlayoutFile.close(); + layoutFile.close(); return false; } - tqlayoutFile.close(); + layoutFile.close(); return true; } diff --git a/libkdeedu/kdeeduui/kedusimpleentrydlgForm.ui b/libkdeedu/kdeeduui/kedusimpleentrydlgForm.ui index 3e198a0c..45ab6c3f 100644 --- a/libkdeedu/kdeeduui/kedusimpleentrydlgForm.ui +++ b/libkdeedu/kdeeduui/kedusimpleentrydlgForm.ui @@ -106,5 +106,5 @@ </property> </widget> </widget> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> </UI> |