summaryrefslogtreecommitdiffstats
path: root/tools/assistant/mainwindow.ui.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /tools/assistant/mainwindow.ui.h
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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/assistant/mainwindow.ui.h')
-rw-r--r--tools/assistant/mainwindow.ui.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/tools/assistant/mainwindow.ui.h b/tools/assistant/mainwindow.ui.h
index 789b085eb..0afab0aac 100644
--- a/tools/assistant/mainwindow.ui.h
+++ b/tools/assistant/mainwindow.ui.h
@@ -103,7 +103,7 @@ void MainWindow::init()
dw->hide();
tabs->setup();
- TQTimer::singleShot( 0, this, SLOT( setup() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( setup() ) );
#if defined(Q_OS_MACX)
// Use the same forward and backward browser shortcuts as Safari and Internet Explorer do
// on the Mac. This means that if you have access to one of those cool Intellimice, the thing
@@ -122,44 +122,44 @@ void MainWindow::setup()
statusBar()->message( tr( "Initializing TQt Assistant..." ) );
setupCompleted = TRUE;
helpDock->initialize();
- connect( actionGoPrevious, SIGNAL( activated() ), tabs, SLOT( backward() ) );
- connect( actionGoNext, SIGNAL( activated() ), tabs, SLOT( forward() ) );
- connect( actionEditCopy, SIGNAL( activated() ), tabs, SLOT( copy() ) );
- connect( actionFileExit, SIGNAL( activated() ), tqApp, SLOT( closeAllWindows() ) );
- connect( actionAddBookmark, SIGNAL( activated() ),
- helpDock, SLOT( addBookmark() ) );
- connect( helpDock, SIGNAL( showLink( const TQString& ) ),
- this, SLOT( showLink( const TQString& ) ) );
- connect( helpDock, SIGNAL( showSearchLink( const TQString&, const TQStringList& ) ),
- this, SLOT( showSearchLink( const TQString&, const TQStringList&) ) );
+ connect( actionGoPrevious, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( backward() ) );
+ connect( actionGoNext, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( forward() ) );
+ connect( actionEditCopy, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( copy() ) );
+ connect( actionFileExit, TQ_SIGNAL( activated() ), tqApp, TQ_SLOT( closeAllWindows() ) );
+ connect( actionAddBookmark, TQ_SIGNAL( activated() ),
+ helpDock, TQ_SLOT( addBookmark() ) );
+ connect( helpDock, TQ_SIGNAL( showLink( const TQString& ) ),
+ this, TQ_SLOT( showLink( const TQString& ) ) );
+ connect( helpDock, TQ_SIGNAL( showSearchLink( const TQString&, const TQStringList& ) ),
+ this, TQ_SLOT( showSearchLink( const TQString&, const TQStringList&) ) );
- connect( bookmarkMenu, SIGNAL( activated( int ) ),
- this, SLOT( showBookmark( int ) ) );
- connect( actionZoomIn, SIGNAL( activated() ), tabs, SLOT( zoomIn() ) );
- connect( actionZoomOut, SIGNAL( activated() ), tabs, SLOT( zoomOut() ) );
+ connect( bookmarkMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( showBookmark( int ) ) );
+ connect( actionZoomIn, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( zoomIn() ) );
+ connect( actionZoomOut, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( zoomOut() ) );
- connect( actionOpenPage, SIGNAL( activated() ), tabs, SLOT( newTab() ) );
- connect( actionClosePage, SIGNAL( activated() ), tabs, SLOT( closeTab() ) );
- connect( actionNextPage, SIGNAL( activated() ), tabs, SLOT( nextTab() ) );
- connect( actionPrevPage, SIGNAL( activated() ), tabs, SLOT( previousTab() ) );
+ connect( actionOpenPage, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( newTab() ) );
+ connect( actionClosePage, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( closeTab() ) );
+ connect( actionNextPage, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( nextTab() ) );
+ connect( actionPrevPage, TQ_SIGNAL( activated() ), tabs, TQ_SLOT( previousTab() ) );
#if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
TQAccel *acc = new TQAccel( this );
-// acc->connectItem( acc->insertItem( Key_F5 ), browser, SLOT( reload() ) );
- acc->connectItem( acc->insertItem( TQKeySequence("SHIFT+CTRL+=") ), actionZoomIn, SIGNAL(activated()) );
+// acc->connectItem( acc->insertItem( Key_F5 ), browser, TQ_SLOT( reload() ) );
+ acc->connectItem( acc->insertItem( TQKeySequence("SHIFT+CTRL+=") ), actionZoomIn, TQ_SIGNAL(activated()) );
#endif
TQAccel *a = new TQAccel( this, dw );
a->connectItem( a->insertItem( TQAccel::stringToKey( tr("Ctrl+T") ) ),
- helpDock, SLOT( toggleContents() ) );
+ helpDock, TQ_SLOT( toggleContents() ) );
a->connectItem( a->insertItem( TQAccel::stringToKey( tr("Ctrl+I") ) ),
- helpDock, SLOT( toggleIndex() ) );
+ helpDock, TQ_SLOT( toggleIndex() ) );
a->connectItem( a->insertItem( TQAccel::stringToKey( tr("Ctrl+B") ) ),
- helpDock, SLOT( toggleBookmarks() ) );
+ helpDock, TQ_SLOT( toggleBookmarks() ) );
a->connectItem( a->insertItem( TQAccel::stringToKey( tr("Ctrl+S") ) ),
- helpDock, SLOT( toggleSearch() ) );
+ helpDock, TQ_SLOT( toggleSearch() ) );
Config *config = Config::configuration();
@@ -205,8 +205,8 @@ void MainWindow::setupGoActions()
action->addTo( goActionToolbar );
goActions->append( action );
goActionDocFiles->insert( action, config->indexPage( title ) );
- connect( action, SIGNAL( activated() ),
- this, SLOT( showGoActionLink() ) );
+ connect( action, TQ_SIGNAL( activated() ),
+ this, TQ_SLOT( showGoActionLink() ) );
++addCount;
}
}