Jump to content

Translations:Development/Tutorials/KDE3/Qt Designer and KDevelop 3.0 for Beginners/101/ja: Difference between revisions

From KDE TechBase
Phanect (talk | contribs)
Created page with "right|thumb|350px スロットを作成するには、<menuchoice>Edit Slots</menuchoice> ボタンをクリックします。すると slot ..."
 
(No difference)

Latest revision as of 12:59, 30 January 2012

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/KDE3/Qt Designer and KDevelop 3.0 for Beginners)
[[Image:QtDesigner3-CreateSlot.png|right|thumb|350px]] To create the slot we need to click on the <menuchoice>Edit Slots</menuchoice> button. The slot creation box then appears. Now click on the <menuchoice>New Function</menuchoice> button and a slot will appear in the box. Instead of ''new_slot()'' rename it to <code>slotCreateSig()</code> and leave the access specifier as ''public''. When you click on <menuchoice>OK</menuchoice> you will be returned to the connections box and you will see your new slot in the Slots section of the box.

スロットを作成するには、Edit Slots ボタンをクリックします。すると slot creation box が表示されます。New Function ボタンをクリックすると新しいスロットが slot creation box に追加されます。下部の入力欄で new_slot() の代わりに slotCreateSig() に名称を変更します。アクセス修飾子は public のままにしておきます。OK を押して connections box に戻ると新しいスロットが Slots セクションに追加されているのが分かるでしょう。