diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-23 14:04:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-27 16:08:54 +0900 |
commit | 04913ce7a46fd027856e83a96205fdc388742a19 (patch) | |
tree | a04a117317c14854a6b91072658ba0eb3ad8b3fc /doc/html/qaction-application-example.html | |
parent | c11c0f228b65f7471a26513ef8dbde413e75f8fa (diff) | |
download | tqt-04913ce7a46fd027856e83a96205fdc388742a19.tar.gz tqt-04913ce7a46fd027856e83a96205fdc388742a19.zip |
Rename ntqobject*.h and qobject*.cpp to tqobject*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qaction-application-example.html')
-rw-r--r-- | doc/html/qaction-application-example.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/qaction-application-example.html b/doc/html/qaction-application-example.html index 107e2775d..3da2205d4 100644 --- a/doc/html/qaction-application-example.html +++ b/doc/html/qaction-application-example.html @@ -141,12 +141,12 @@ private: <a href="ntqaction.html">TQAction</a> * fileCloseAction, * fileQuitAction; fileNewAction = new <a href="ntqaction.html">TQAction</a>( "&New", CTRL+Key_N, this, "new" ); -<a name="x1123"></a> <a href="ntqobject.html#connect">connect</a>( fileNewAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, +<a name="x1123"></a> <a href="tqobject.html#connect">connect</a>( fileNewAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( newDoc() ) ); fileOpenAction = new <a href="ntqaction.html">TQAction</a>( TQPixmap( fileopen ), "&Open...", CTRL+Key_O, this, "open" ); - <a href="ntqobject.html#connect">connect</a>( fileOpenAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( choose() ) ); + <a href="tqobject.html#connect">connect</a>( fileOpenAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( choose() ) ); const char * fileOpenText = "<p><img source=\"fileopen\"> " "Click this button to open a <em>new file</em>. <br>" @@ -158,7 +158,7 @@ private: fileSaveAction = new <a href="ntqaction.html">TQAction</a>( TQPixmap( filesave ), "&Save", CTRL+Key_S, this, "save" ); - <a href="ntqobject.html#connect">connect</a>( fileSaveAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( save() ) ); + <a href="tqobject.html#connect">connect</a>( fileSaveAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( save() ) ); const char * fileSaveText = "<p>Click this button to save the file you " "are editing. You will be prompted for a file name.\n" @@ -168,13 +168,13 @@ private: fileSaveAsAction = new <a href="ntqaction.html">TQAction</a>( "Save File As", "Save &As...", 0, this, "save as" ); - <a href="ntqobject.html#connect">connect</a>( fileSaveAsAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, + <a href="tqobject.html#connect">connect</a>( fileSaveAsAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( saveAs() ) ); fileSaveAsAction-><a href="ntqaction.html#setWhatsThis">setWhatsThis</a>( fileSaveText ); filePrintAction = new <a href="ntqaction.html">TQAction</a>( "Print File", TQPixmap( fileprint ), "&Print...", CTRL+Key_P, this, "print" ); - <a href="ntqobject.html#connect">connect</a>( filePrintAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, + <a href="tqobject.html#connect">connect</a>( filePrintAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( print() ) ); const char * filePrintText = "Click this button to print the file you " @@ -184,12 +184,12 @@ private: fileCloseAction = new <a href="ntqaction.html">TQAction</a>( "Close", "&Close", CTRL+Key_W, this, "close" ); - <a href="ntqobject.html#connect">connect</a>( fileCloseAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, + <a href="tqobject.html#connect">connect</a>( fileCloseAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this, TQ_SLOT( <a href="ntqwidget.html#close">close</a>() ) ); fileQuitAction = new <a href="ntqaction.html">TQAction</a>( "Quit", "&Quit", CTRL+Key_Q, this, "quit" ); -<a name="x1127"></a> <a href="ntqobject.html#connect">connect</a>( fileQuitAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , tqApp, +<a name="x1127"></a> <a href="tqobject.html#connect">connect</a>( fileQuitAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ) ); // populate a tool bar with some actions @@ -421,7 +421,7 @@ int main( int argc, char ** argv ) { ApplicationWindow * mw = new ApplicationWindow(); mw-><a href="ntqwidget.html#setCaption">setCaption</a>( "Document 1" ); <a name="x1178"></a> mw-><a href="ntqwidget.html#show">show</a>(); -<a name="x1179"></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="x1179"></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> |