summaryrefslogtreecommitdiffstats
path: root/examples/addressbook/mainwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/addressbook/mainwindow.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/addressbook/mainwindow.cpp')
-rw-r--r--examples/addressbook/mainwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/addressbook/mainwindow.cpp b/examples/addressbook/mainwindow.cpp
index 11b93a8e0..09176d316 100644
--- a/examples/addressbook/mainwindow.cpp
+++ b/examples/addressbook/mainwindow.cpp
@@ -38,16 +38,16 @@ void ABMainWindow::setupMenuBar()
TQPopupMenu *file = new TQPopupMenu( this );
menuBar()->insertItem( "&File", file );
- file->insertItem( "New", this, SLOT( fileNew() ), CTRL + Key_N );
- file->insertItem( TQPixmap( "fileopen.xpm" ), "Open", this, SLOT( fileOpen() ), CTRL + Key_O );
+ file->insertItem( "New", this, TQ_SLOT( fileNew() ), CTRL + Key_N );
+ file->insertItem( TQPixmap( "fileopen.xpm" ), "Open", this, TQ_SLOT( fileOpen() ), CTRL + Key_O );
file->insertSeparator();
- file->insertItem( TQPixmap( "filesave.xpm" ), "Save", this, SLOT( fileSave() ), CTRL + Key_S );
- file->insertItem( "Save As...", this, SLOT( fileSaveAs() ) );
+ file->insertItem( TQPixmap( "filesave.xpm" ), "Save", this, TQ_SLOT( fileSave() ), CTRL + Key_S );
+ file->insertItem( "Save As...", this, TQ_SLOT( fileSaveAs() ) );
file->insertSeparator();
- file->insertItem( TQPixmap( "fileprint.xpm" ), "Print...", this, SLOT( filePrint() ), CTRL + Key_P );
+ file->insertItem( TQPixmap( "fileprint.xpm" ), "Print...", this, TQ_SLOT( filePrint() ), CTRL + Key_P );
file->insertSeparator();
- file->insertItem( "Close", this, SLOT( closeWindow() ), CTRL + Key_W );
- file->insertItem( "Quit", tqApp, SLOT( quit() ), CTRL + Key_Q );
+ file->insertItem( "Close", this, TQ_SLOT( closeWindow() ), CTRL + Key_W );
+ file->insertItem( "Quit", tqApp, TQ_SLOT( quit() ), CTRL + Key_Q );
}
void ABMainWindow::setupFileTools()