diff options
Diffstat (limited to 'doc/html/qwerty-example.html')
-rw-r--r-- | doc/html/qwerty-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html index 8ac0112c6..5d7cb59b1 100644 --- a/doc/html/qwerty-example.html +++ b/doc/html/qwerty-example.html @@ -155,8 +155,8 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 }; file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, TQ_SLOT(<a href="ntqwidget.html#close">close</a>()),ALT+Key_W ); <a name="x358"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, TQ_SLOT(<a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q ); -<a name="x386"></a> <a href="ntqobject.html#connect">connect</a>( save_as, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(saveAsEncoding(int)) ); - <a href="ntqobject.html#connect">connect</a>( open_as, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(openAsEncoding(int)) ); +<a name="x386"></a> <a href="tqobject.html#connect">connect</a>( save_as, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(saveAsEncoding(int)) ); + <a href="tqobject.html#connect">connect</a>( open_as, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(openAsEncoding(int)) ); rebuildCodecList(); <a href="ntqpopupmenu.html">TQPopupMenu</a> * edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(); @@ -171,7 +171,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 }; #endif changed = FALSE; e = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>( this, "editor" ); -<a name="x400"></a> <a href="ntqobject.html#connect">connect</a>( e, TQ_SIGNAL( <a href="ntqtextedit.html#textChanged">textChanged</a>() ), this, TQ_SLOT( textChanged() ) ); +<a name="x400"></a> <a href="tqobject.html#connect">connect</a>( e, TQ_SIGNAL( <a href="ntqtextedit.html#textChanged">textChanged</a>() ), this, TQ_SLOT( textChanged() ) ); // We use Unifont - if you have it installed you'll see all // Unicode character glyphs. @@ -419,9 +419,9 @@ void Editor::<a href="ntqwidget.html#resizeEvent">resizeEvent</a>( <a href="qres if ( changed ) { // the text has been changed switch ( TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( this, "Qwerty", "Save changes to Document?", - <a href="ntqobject.html#tr">tr</a>("&Yes"), - <a href="ntqobject.html#tr">tr</a>("&No"), - <a href="ntqobject.html#tr">tr</a>("Cancel"), + <a href="tqobject.html#tr">tr</a>("&Yes"), + <a href="tqobject.html#tr">tr</a>("&No"), + <a href="tqobject.html#tr">tr</a>("Cancel"), 0, 2) ) { case 0: // yes if ( save() ) @@ -492,7 +492,7 @@ int main( int argc, char **argv ) e-><a href="ntqwidget.html#show">show</a>(); } } -<a name="x416"></a> a.<a href="ntqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<a name="x416"></a> a.<a href="tqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre> |