summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_multilineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_multilineedit.cpp')
-rw-r--r--src/modules/objects/class_multilineedit.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/modules/objects/class_multilineedit.cpp b/src/modules/objects/class_multilineedit.cpp
index 70d5086c..1d14fcb1 100644
--- a/src/modules/objects/class_multilineedit.cpp
+++ b/src/modules/objects/class_multilineedit.cpp
@@ -226,15 +226,15 @@ static int mod_cod[] = {
Returns 1(TRUE) if undo is available; otherwise returns 0(FALSE).
!fn: <boolean> $isRedoAvailable ()
Returns 1(TRUE) if redo is available; otherwise returns 0(FALSE).
- !fn: $setAlignment(<tqalignment:string>)
- Sets the tqalignment of the current paragraph to <tqalignment>. Valid values are:[br]
+ !fn: $setAlignment(<alignment:string>)
+ Sets the alignment of the current paragraph to <alignment>. Valid values are:[br]
- AlignAuto - Aligns according to the language.[br]
- TQt::AlignLeft - Aligns with the left edge.[br]
- TQt::AlignRight - Aligns with the right edge.[br]
- TQt::AlignCenter - Centers in both dimensions.
- !fn: $setVerticalAlignment(<vertical_tqalignment:string>)
- Sets the vertical tqalignment of the current format to <Valignemnt>. Valid Values are:[br]
- - AlignNormal - Normal tqalignment.[br]
+ !fn: $setVerticalAlignment(<vertical_alignment:string>)
+ Sets the vertical alignment of the current format to <Valignemnt>. Valid Values are:[br]
+ - AlignNormal - Normal alignment.[br]
- AlignSuperScript - Superscript.[br]
- AlignSubScript - Subscript.
!fn: $setAutoFormatting(<afvalue:string>)
@@ -1095,7 +1095,7 @@ bool KviKvsObject_mledit::functionsetAlignment(KviKvsObjectFunctionCall *c)
{
TQString szAlignment;
KVSO_PARAMETERS_BEGIN(c)
- KVSO_PARAMETER("tqalignment",KVS_PT_STRING,0,szAlignment)
+ KVSO_PARAMETER("alignment",KVS_PT_STRING,0,szAlignment)
KVSO_PARAMETERS_END(c)
if(!widget()) return true;
if(KviTQString::equalCI(szAlignment,"Left"))
@@ -1106,7 +1106,7 @@ bool KviKvsObject_mledit::functionsetAlignment(KviKvsObjectFunctionCall *c)
((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignCenter);
else if(KviTQString::equalCI(szAlignment,"Justify"))
((KviTalMultiLineEdit *)widget())->setAlignment(TQt::AlignJustify);
- else c->warning(__tr2qs("Unknown tqalignment '%Q'"),&szAlignment);
+ else c->warning(__tr2qs("Unknown alignment '%Q'"),&szAlignment);
return true;
}
@@ -1131,18 +1131,18 @@ bool KviKvsObject_mledit::functionsetAutoFormatting(KviKvsObjectFunctionCall *c)
bool KviKvsObject_mledit::functionsetVerticalAlignment(KviKvsObjectFunctionCall *c)
{
- TQString szVtqalignment;
+ TQString szValignment;
KVSO_PARAMETERS_BEGIN(c)
- KVSO_PARAMETER("tqalignment",KVS_PT_STRING,0,szVtqalignment)
+ KVSO_PARAMETER("alignment",KVS_PT_STRING,0,szValignment)
KVSO_PARAMETERS_END(c)
if(!widget()) return true;
- if(KviTQString::equalCI(szVtqalignment,"Normal"))
+ if(KviTQString::equalCI(szValignment,"Normal"))
((KviTalMultiLineEdit *)widget())->setVerticalAlignment(KviTalMultiLineEdit::AlignNormal);
- else if(KviTQString::equalCI(szVtqalignment,"SuperScript"))
+ else if(KviTQString::equalCI(szValignment,"SuperScript"))
((KviTalMultiLineEdit *)widget())->setVerticalAlignment(KviTalMultiLineEdit::AlignSuperScript);
- else if(KviTQString::equalCI(szVtqalignment,"SubScript"))
+ else if(KviTQString::equalCI(szValignment,"SubScript"))
((KviTalMultiLineEdit *)widget())->setVerticalAlignment(KviTalMultiLineEdit::AlignSubScript);
- else c->warning(__tr2qs("Unknown vertical tqalignment '%Q'"),&szVtqalignment);
+ else c->warning(__tr2qs("Unknown vertical alignment '%Q'"),&szValignment);
return true;
}