diff options
Diffstat (limited to 'doc/html/showimg-example.html')
-rw-r--r-- | doc/html/showimg-example.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html index 91a34091b..04e1957a0 100644 --- a/doc/html/showimg-example.html +++ b/doc/html/showimg-example.html @@ -185,32 +185,32 @@ private slots: <a name="x1327"></a> saveimage-><a href="ntqmenudata.html#insertItem">insertItem</a>( f ); savepixmap-><a href="ntqmenudata.html#insertItem">insertItem</a>( f ); } -<a name="x1341"></a> <a href="ntqobject.html#connect">connect</a>( saveimage, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, SLOT(saveImage(int)) ); - <a href="ntqobject.html#connect">connect</a>( savepixmap, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, SLOT(savePixmap(int)) ); +<a name="x1341"></a> <a href="ntqobject.html#connect">connect</a>( saveimage, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(saveImage(int)) ); + <a href="ntqobject.html#connect">connect</a>( savepixmap, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(savePixmap(int)) ); file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&File", file ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&New window", this, SLOT(newWindow()), CTRL+Key_N ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Open...", this, SLOT(openFile()), CTRL+Key_O ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&New window", this, TQ_SLOT(newWindow()), CTRL+Key_N ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Open...", this, TQ_SLOT(openFile()), CTRL+Key_O ); si = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Save image", saveimage ); sp = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Save pixmap", savepixmap ); <a name="x1328"></a> file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q ); edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Edit", edit ); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Copy", this, SLOT(copy()), CTRL+Key_C); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Paste", this, SLOT(paste()), CTRL+Key_V); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Copy", this, TQ_SLOT(copy()), CTRL+Key_C); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Paste", this, TQ_SLOT(paste()), CTRL+Key_V); edit-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Horizontal flip", this, SLOT(hFlip()), ALT+Key_H); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Vertical flip", this, SLOT(vFlip()), ALT+Key_V); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Rotate 180", this, SLOT(rot180()), ALT+Key_R); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Horizontal flip", this, TQ_SLOT(hFlip()), ALT+Key_H); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Vertical flip", this, TQ_SLOT(vFlip()), ALT+Key_V); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Rotate 180", this, TQ_SLOT(rot180()), ALT+Key_R); edit-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Text...", this, SLOT(editText())); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Text...", this, TQ_SLOT(editText())); edit-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - t1 = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Convert to &1 bit", this, SLOT(to1Bit()) ); - t8 = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Convert to &8 bit", this, SLOT(to8Bit()) ); - t32 = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Convert to &32 bit", this, SLOT(to32Bit()) ); + t1 = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Convert to &1 bit", this, TQ_SLOT(to1Bit()) ); + t8 = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Convert to &8 bit", this, TQ_SLOT(to8Bit()) ); + t32 = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Convert to &32 bit", this, TQ_SLOT(to32Bit()) ); options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Options", options ); @@ -240,9 +240,9 @@ private slots: <a href="ntqpopupmenu.html">TQPopupMenu</a>* help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Help", help ); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Help!", this, SLOT(giveHelp()), CTRL+Key_H ); + help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Help!", this, TQ_SLOT(giveHelp()), CTRL+Key_H ); - <a href="ntqobject.html#connect">connect</a>( options, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, SLOT(doOption(int)) ); + <a href="ntqobject.html#connect">connect</a>( options, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(doOption(int)) ); status = new <a href="ntqlabel.html">TQLabel</a>(this); status-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken ); @@ -865,7 +865,7 @@ int main( int argc, char **argv ) } } - TQObject::<a href="ntqobject.html#connect">connect</a>(tqApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + TQObject::<a href="ntqobject.html#connect">connect</a>(tqApp, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>())); return a.<a href="ntqapplication.html#exec">exec</a>(); } |