summaryrefslogtreecommitdiffstats
path: root/examples/fileiconview/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/fileiconview/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/fileiconview/mainwindow.cpp')
-rw-r--r--examples/fileiconview/mainwindow.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/examples/fileiconview/mainwindow.cpp b/examples/fileiconview/mainwindow.cpp
index 2d2791ed5..d2d6f2edb 100644
--- a/examples/fileiconview/mainwindow.cpp
+++ b/examples/fileiconview/mainwindow.cpp
@@ -97,8 +97,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();
@@ -106,22 +106,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 );
@@ -131,14 +131,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()