diff options
Diffstat (limited to 'src/modules/objects')
| -rw-r--r-- | src/modules/objects/KvsObject_groupBox.cpp | 2 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_listWidget.cpp | 4 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_popupMenu.cpp | 6 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_socket.cpp | 2 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_treeWidgeteItem.cpp | 8 | ||||
| -rw-r--r-- | src/modules/objects/KvsObject_widget.cpp | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/objects/KvsObject_groupBox.cpp b/src/modules/objects/KvsObject_groupBox.cpp index 2aff37437..04e5f31ef 100644 --- a/src/modules/objects/KvsObject_groupBox.cpp +++ b/src/modules/objects/KvsObject_groupBox.cpp @@ -65,7 +65,7 @@ const int align_cod[] = { @description: This widget can be used to display a groupbox. It will be usually a parent for other child controls. - You can either use a child layout to manage the children geometries + You can either use a child layout to manage the child geometries or use $setColumnLayout to manage the layout automatically. @functions: !fn: $setTitle(<text:String>) diff --git a/src/modules/objects/KvsObject_listWidget.cpp b/src/modules/objects/KvsObject_listWidget.cpp index 6e6b62ffd..b3789b41b 100644 --- a/src/modules/objects/KvsObject_listWidget.cpp +++ b/src/modules/objects/KvsObject_listWidget.cpp @@ -90,7 +90,7 @@ const char * const itemflags_tbl[] = { "none" : no items can be selected[br] The default mode is "single" !fn: $setFlag(<idx:integer>,<flag1:string>, <flag2:string>, ...) - Sets the flags for the item at index idz to the given flags. These determine whether the item can be selected or modified. This is often used to disable an item.[br] + Sets the flags for the item at index idx to the given flags. These determine whether the item can be selected or modified. This is often used to disable an item.[br] Supported flags are: [exmaple] [br]- noitemflag : no flag sets; @@ -143,7 +143,7 @@ const char * const itemflags_tbl[] = { !fn: $currentItemChangedEvent() This function is called by KVIrc when the current item changes. !fn: $itemChangedEvent() - This function is called by KVIrc when the current data item changes (i.e. the user check a ckeckable item) . + This function is called by KVIrc when the current data item changes (i.e. the user check a checkable item) . @signals: !sg: <string> $currentItemChanged() This signal is emitted by the default implementation of [classfnc]$currentItemChangedEvent[/classfnc]().[br] diff --git a/src/modules/objects/KvsObject_popupMenu.cpp b/src/modules/objects/KvsObject_popupMenu.cpp index aa456f0bf..c368e9a02 100644 --- a/src/modules/objects/KvsObject_popupMenu.cpp +++ b/src/modules/objects/KvsObject_popupMenu.cpp @@ -65,17 +65,17 @@ If called without paramaters show the popup menu at the current pointer position.[br] With the optional parameters show the popup menu at the coordinate x,y widget parameter relative. !fn: $removeItem(<popup_id:Uinteger>) - Removes the menu item that has the identifier id. + Removes the menu item that has the identifier ID. !fn: $removeItemAt(<index:uinteger>) Removes the menu item at position index. !fn: $insertSeparator(<index:uinteger>) Inserts a separator at position index.[br] If the index is negative the separator becomes the last menu item. !fn: $activatedEvent(<popup_id:uinteger>) - This function is called when a menu item and return the the item id.[br] + This function is called when a menu item and return the the item ID.[br] The default implementation emits the [classfnc]$activated[/classfnc]() signal. !fn: $highligthtedEvent(<popup_id:uinteger>) - This function is called when a menu item is highlighted (hovered) and return the item id.[br] + This function is called when a menu item is highlighted (hovered) and return the item ID.[br] The default implementation emits the [classfnc]$highlighted[/classfnc]() signal. @signals: !sg: $activated() diff --git a/src/modules/objects/KvsObject_socket.cpp b/src/modules/objects/KvsObject_socket.cpp index b41c77999..70b95d285 100644 --- a/src/modules/objects/KvsObject_socket.cpp +++ b/src/modules/objects/KvsObject_socket.cpp @@ -134,7 +134,7 @@ const char * const sockerrors_tbl[] = { in IPv6 mode. If <interface> is an empty string and <force_ipv6> is 1 the socket listens on "any ipv6 interface".[br] This function returns '1' in case of success and '0' in case of failure.[br] - On some systems listening in the IPv6 namespace allows to accept also IPV4 connections (this includes + On some systems listening in the IPv6 namespace allows to accept also IPv4 connections (this includes Linux but not windows afaik).[br] When an incoming connection will arrive, $incomingConnectionEvent() will be called. diff --git a/src/modules/objects/KvsObject_treeWidgeteItem.cpp b/src/modules/objects/KvsObject_treeWidgeteItem.cpp index d52c68bff..6cf0ad0d1 100644 --- a/src/modules/objects/KvsObject_treeWidgeteItem.cpp +++ b/src/modules/objects/KvsObject_treeWidgeteItem.cpp @@ -85,7 +85,7 @@ const char * const itemflags_tbl[] = { Returs the text of the specified column. !fn: $setPixmap(<column:integer>,<pixmap:hobject or imageID>) Sets the pixmap in column column to pm, if pm is non-null and different from the current pixmap, and if column is non-negative. - Pixmap can be a KVIrc imageid, an image file or a [class]pixmap[/class] object. + Pixmap can be a KVIrc image ID, an image file or a [class]pixmap[/class] object. !fn: $setItemEditable(<bEnabled:boolean>) If bEnabled is true (1), this item can be in-place editable by the user; otherwise it cannot be editable in-place. !fn: $isItemEditable() @@ -95,14 +95,14 @@ const char * const itemflags_tbl[] = { !fn: $isEnabled() Returns $true if this item is enabled and $false otherwise. !fn: $setOpen(<bOpen:boolean>) - Opens or closes the item to show its children items. + Opens or closes the item to show its child items. !fn: $isOpen() Returns the open state of this item !fn: $setCheckable(<bCheckable:boolean>) Makes this item checkable or not. This function should be called immediately after the item creation: changing this property later at runtime may have strange results (like the item being moved inside the list, text disappearing, - hidden children etc... don't do it :D ). + hidden child items etc... don't do it :D ). !fn: $isCheckable() Returns $true if this item is checkable and $false otherwise !fn: $setChecked(<bChecked:boolean>) @@ -166,7 +166,7 @@ bool KvsObject_treeWidgetItem::init(KviKvsRunTimeContext * pContext,KviKvsVarian { if (!parentObject()) { - pContext->error(__tr2qs_ctx("The listviewitem cannot be parentless","objects")); + pContext->error(__tr2qs_ctx("The listviewitem can't be parentless","objects")); return false; } if(parentObject()->inheritsClass("listviewitem")) diff --git a/src/modules/objects/KvsObject_widget.cpp b/src/modules/objects/KvsObject_widget.cpp index 9eb2fb00b..bee2b9fa5 100644 --- a/src/modules/objects/KvsObject_widget.cpp +++ b/src/modules/objects/KvsObject_widget.cpp @@ -193,10 +193,10 @@ const char * const widgettypes_tbl[] = { All the other widget-type classes inherit from this one. @functions: !fn: $show() - Shows this widget and the children. + Shows this widget and the child items. See also [classfnc]$hide[/classfnc]() and [classfnc]$isVisible[/classfnc]. !fn: $hide() - Hides this widget (and conseguently all the children). + Hides this widget (and conseguently all the child items). See also [classfnc]$show[/classfnc]() and [classfnc]$isVisible[/classfnc]. !fn: $repaint() Repaints the widget directly by calling [classfnc]$paintEvent[/classfnc]() immediately. @@ -590,7 +590,7 @@ const char * const widgettypes_tbl[] = { // ... now that I think about it, it // may happen that widget() will be zero here too: // If the Qt "physical" widget gets destroyed -// by some external factor (for example when children +// by some external factor (for example when child // of a wrapper widget destroyed by KVIrc). // // as a convention: |
