From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- doc/html/fileiconview-example.html | 88 +++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 44 deletions(-) (limited to 'doc/html/fileiconview-example.html') diff --git a/doc/html/fileiconview-example.html b/doc/html/fileiconview-example.html index 8815046be..31f08c410 100644 --- a/doc/html/fileiconview-example.html +++ b/doc/html/fileiconview-example.html @@ -544,8 +544,8 @@ static void cleanup() checkSetText = TRUE; - TQObject::connect( &timer, SIGNAL( timeout() ), - iconView(), SLOT( openFolder() ) ); + TQObject::connect( &timer, TQ_SIGNAL( timeout() ), + iconView(), TQ_SLOT( openFolder() ) ); } void TQtFileIconViewItem::paintItem( TQPainter *p, const TQColorGroup &cg ) @@ -716,14 +716,14 @@ TQtFileIconViewItem::~TQtFileIconViewItem() setResizeMode( Adjust ); setWordWrapIconText( FALSE ); - connect( this, SIGNAL( doubleClicked( TQIconViewItem * ) ), - this, SLOT( itemDoubleClicked( TQIconViewItem * ) ) ); - connect( this, SIGNAL( returnPressed( TQIconViewItem * ) ), - this, SLOT( itemDoubleClicked( TQIconViewItem * ) ) ); - connect( this, SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ), - this, SLOT( slotDropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ) ); - connect( this, SIGNAL( contextMenuRequested( TQIconViewItem *, const TQPoint & ) ), - this, SLOT( slotRightPressed( TQIconViewItem * ) ) ); + connect( this, TQ_SIGNAL( doubleClicked( TQIconViewItem * ) ), + this, TQ_SLOT( itemDoubleClicked( TQIconViewItem * ) ) ); + connect( this, TQ_SIGNAL( returnPressed( TQIconViewItem * ) ), + this, TQ_SLOT( itemDoubleClicked( TQIconViewItem * ) ) ); + connect( this, TQ_SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ), + this, TQ_SLOT( slotDropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ) ); + connect( this, TQ_SIGNAL( contextMenuRequested( TQIconViewItem *, const TQPoint & ) ), + this, TQ_SLOT( slotRightPressed( TQIconViewItem * ) ) ); setHScrollBarMode( AlwaysOff ); setVScrollBarMode( Auto ); @@ -998,22 +998,22 @@ void TQtFileIconView::slotRightPressed( TQPopupMenu menu( this ); - menu.insertItem( "&Large view", this, SLOT( viewLarge() ) ); - menu.insertItem( "&Small view", this, SLOT( viewSmall() ) ); + menu.insertItem( "&Large view", this, TQ_SLOT( viewLarge() ) ); + menu.insertItem( "&Small view", this, TQ_SLOT( viewSmall() ) ); menu.insertSeparator(); - menu.insertItem( "Text at the &bottom", this, SLOT( viewBottom() ) ); - menu.insertItem( "Text at the &right", this, SLOT( viewRight() ) ); + menu.insertItem( "Text at the &bottom", this, TQ_SLOT( viewBottom() ) ); + menu.insertItem( "Text at the &right", this, TQ_SLOT( viewRight() ) ); menu.insertSeparator(); - menu.insertItem( "Arrange l&eft to right", this, SLOT( flowEast() ) ); - menu.insertItem( "Arrange t&op to bottom", this, SLOT( flowSouth() ) ); + menu.insertItem( "Arrange l&eft to right", this, TQ_SLOT( flowEast() ) ); + menu.insertItem( "Arrange t&op to bottom", this, TQ_SLOT( flowSouth() ) ); menu.insertSeparator(); - menu.insertItem( "&Truncate item text", this, SLOT( itemTextTruncate() ) ); - menu.insertItem( "&Wordwrap item text", this, SLOT( itemTextWordWrap() ) ); + menu.insertItem( "&Truncate item text", this, TQ_SLOT( itemTextTruncate() ) ); + menu.insertItem( "&Wordwrap item text", this, TQ_SLOT( itemTextWordWrap() ) ); menu.insertSeparator(); - menu.insertItem( "Arrange items in &grid", this, SLOT( arrangeItemsInGrid() ) ); + menu.insertItem( "Arrange items in &grid", this, TQ_SLOT( arrangeItemsInGrid() ) ); menu.insertSeparator(); - menu.insertItem( "Sort &ascending", this, SLOT( sortAscending() ) ); - menu.insertItem( "Sort &descending", this, SLOT( sortDescending() ) ); + menu.insertItem( "Sort &ascending", this, TQ_SLOT( sortAscending() ) ); + menu.insertItem( "Sort &descending", this, TQ_SLOT( sortDescending() ) ); menu.setMouseTracking( TRUE ); menu.exec( TQCursor::pos() ); @@ -1220,8 +1220,8 @@ void FileMainWindow::setup() pathCombo = new TQComboBox( TRUE, toolbar ); pathCombo->setAutoCompletion( TRUE ); toolbar->setStretchableWidget( pathCombo ); - connect( pathCombo, SIGNAL( activated( const TQString & ) ), - this, SLOT ( changePath( const TQString & ) ) ); + connect( pathCombo, TQ_SIGNAL( activated( const TQString & ) ), + this, TQ_SLOT ( changePath( const TQString & ) ) ); toolbar->addSeparator(); @@ -1229,22 +1229,22 @@ void FileMainWindow::setup() pix = TQPixmap( cdtoparent_xpm ); upButton = new TQToolButton( pix, "One directory up", TQString::null, - this, SLOT( cdUp() ), toolbar, "cd up" ); + this, TQ_SLOT( cdUp() ), toolbar, "cd up" ); pix = TQPixmap( newfolder_xpm ); mkdirButton = new TQToolButton( pix, "New Folder", TQString::null, - this, SLOT( newFolder() ), toolbar, "new folder" ); - - connect( dirlist, SIGNAL( folderSelected( const TQString & ) ), - fileview, SLOT ( setDirectory( const TQString & ) ) ); - connect( fileview, SIGNAL( directoryChanged( const TQString & ) ), - this, SLOT( directoryChanged( const TQString & ) ) ); - connect( fileview, SIGNAL( startReadDir( int ) ), - this, SLOT( slotStartReadDir( int ) ) ); - connect( fileview, SIGNAL( readNextDir() ), - this, SLOT( slotReadNextDir() ) ); - connect( fileview, SIGNAL( readDirDone() ), - this, SLOT( slotReadDirDone() ) ); + this, TQ_SLOT( newFolder() ), toolbar, "new folder" ); + + connect( dirlist, TQ_SIGNAL( folderSelected( const TQString & ) ), + fileview, TQ_SLOT ( setDirectory( const TQString & ) ) ); + connect( fileview, TQ_SIGNAL( directoryChanged( const TQString & ) ), + this, TQ_SLOT( directoryChanged( const TQString & ) ) ); + connect( fileview, TQ_SIGNAL( startReadDir( int ) ), + this, TQ_SLOT( slotStartReadDir( int ) ) ); + connect( fileview, TQ_SIGNAL( readNextDir() ), + this, TQ_SLOT( slotReadNextDir() ) ); + connect( fileview, TQ_SIGNAL( readDirDone() ), + this, TQ_SLOT( slotReadDirDone() ) ); setDockEnabled( DockLeft, FALSE ); setDockEnabled( DockRight, FALSE ); @@ -1254,14 +1254,14 @@ void FileMainWindow::setup() progress = new TQProgressBar( statusBar() ); statusBar()->addWidget( progress, 1, TRUE ); - connect( fileview, SIGNAL( enableUp() ), - this, SLOT( enableUp() ) ); - connect( fileview, SIGNAL( disableUp() ), - this, SLOT( disableUp() ) ); - connect( fileview, SIGNAL( enableMkdir() ), - this, SLOT( enableMkdir() ) ); - connect( fileview, SIGNAL( disableMkdir() ), - this, SLOT( disableMkdir() ) ); + connect( fileview, TQ_SIGNAL( enableUp() ), + this, TQ_SLOT( enableUp() ) ); + connect( fileview, TQ_SIGNAL( disableUp() ), + this, TQ_SLOT( disableUp() ) ); + connect( fileview, TQ_SIGNAL( enableMkdir() ), + this, TQ_SLOT( enableMkdir() ) ); + connect( fileview, TQ_SIGNAL( disableMkdir() ), + this, TQ_SLOT( disableMkdir() ) ); } void FileMainWindow::setPathCombo() -- cgit v1.2.1