summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/sourceeditor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:33:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:33:14 +0900
commit676a13490dc7163e5c99a0f39094a2a4148d3963 (patch)
tree2eff206a80899e040b1c6221e0c4fdcb9b38d237 /kdevdesigner/designer/sourceeditor.cpp
parentaefcba8280fc1520675866143baf2f8c020ec82e (diff)
downloadtdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.tar.gz
tdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/sourceeditor.cpp')
-rw-r--r--kdevdesigner/designer/sourceeditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdevdesigner/designer/sourceeditor.cpp b/kdevdesigner/designer/sourceeditor.cpp
index 2850e20e..1efbe164 100644
--- a/kdevdesigner/designer/sourceeditor.cpp
+++ b/kdevdesigner/designer/sourceeditor.cpp
@@ -77,7 +77,7 @@ void SourceEditor::setObject( TQObject *o, Project *p )
formWindow()->formFile()->setCodeEdited( FALSE );
formWindow()->formFile()->setEditor( 0 );
}
- if ( ::tqqt_cast<FormWindow*>(o) )
+ if ( ::tqt_cast<FormWindow*>(o) )
( (FormWindow*)o )->formFile()->setCodeEdited( TRUE );
save();
bool changed = FALSE;
@@ -119,9 +119,9 @@ TQString SourceEditor::sourceOfObject( TQObject *o, const TQString &,
TQString txt;
if ( !o )
return txt;
- if ( ::tqqt_cast<FormWindow*>(o) )
+ if ( ::tqt_cast<FormWindow*>(o) )
txt = ( (FormWindow*)o )->formFile()->code();
- else if ( ::tqqt_cast<SourceFile*>(o) )
+ else if ( ::tqt_cast<SourceFile*>(o) )
txt = ( (SourceFile*)o )->text();
return txt;
}
@@ -307,14 +307,14 @@ bool SourceEditor::saveAs()
SourceFile *SourceEditor::sourceFile() const
{
- if ( !::tqqt_cast<SourceFile*>((TQObject *)obj) )
+ if ( !::tqt_cast<SourceFile*>((TQObject *)obj) )
return 0;
return (SourceFile*)(TQObject*)obj;
}
FormWindow *SourceEditor::formWindow() const
{
- if ( !::tqqt_cast<FormWindow*>((TQObject *)obj) )
+ if ( !::tqt_cast<FormWindow*>((TQObject *)obj) )
return 0;
return (FormWindow*)(TQObject*)obj;
}