diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:46:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:46:55 +0900 |
commit | 32d2092236d028277cc8ee83945aa64d59e70693 (patch) | |
tree | f3b36ab1fb17f27bbe7f5b0f247bffbf9527b77f | |
parent | 72f4f1bbe75b4f5528b72eaa0232aba8e362d073 (diff) | |
download | kdirstat-32d2092236d028277cc8ee83945aa64d59e70693.tar.gz kdirstat-32d2092236d028277cc8ee83945aa64d59e70693.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kdirstat/kcleanupcollection.cpp | 16 | ||||
-rw-r--r-- | kdirstat/kdirstatapp.cpp | 126 | ||||
-rw-r--r-- | kdirstat/kdirstatfeedback.cpp | 4 | ||||
-rw-r--r-- | kdirstat/kdirstatsettings.cpp | 56 | ||||
-rw-r--r-- | kdirstat/kdirtree.cpp | 18 | ||||
-rw-r--r-- | kdirstat/kdirtreeview.cpp | 60 | ||||
-rw-r--r-- | kdirstat/kfeedback.cpp | 20 | ||||
-rw-r--r-- | kdirstat/kpacman.cpp | 4 | ||||
-rw-r--r-- | kdirstat/ktreemapview.cpp | 16 |
9 files changed, 160 insertions, 160 deletions
diff --git a/kdirstat/kcleanupcollection.cpp b/kdirstat/kcleanupcollection.cpp index cc63bcc..a913d8b 100644 --- a/kdirstat/kcleanupcollection.cpp +++ b/kdirstat/kcleanupcollection.cpp @@ -190,17 +190,17 @@ KCleanupCollection::add( KCleanup *newCleanup ) _cleanupList.append( newCleanup ); _cleanupDict.insert( newCleanup->id(), newCleanup ); - connect( this, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - newCleanup, TQT_SLOT ( selectionChanged( KFileInfo * ) ) ); + connect( this, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + newCleanup, TQ_SLOT ( selectionChanged( KFileInfo * ) ) ); - connect( this, TQT_SIGNAL( readConfig() ), - newCleanup, TQT_SLOT ( readConfig() ) ); + connect( this, TQ_SIGNAL( readConfig() ), + newCleanup, TQ_SLOT ( readConfig() ) ); - connect( this, TQT_SIGNAL( saveConfig() ), - newCleanup, TQT_SLOT ( saveConfig() ) ); + connect( this, TQ_SIGNAL( saveConfig() ), + newCleanup, TQ_SLOT ( saveConfig() ) ); - connect( newCleanup, TQT_SIGNAL( executed() ), - this, TQT_SLOT ( cleanupExecuted() ) ); + connect( newCleanup, TQ_SIGNAL( executed() ), + this, TQ_SLOT ( cleanupExecuted() ) ); } diff --git a/kdirstat/kdirstatapp.cpp b/kdirstat/kdirstatapp.cpp index 8a050c0..da2ea40 100644 --- a/kdirstat/kdirstatapp.cpp +++ b/kdirstat/kdirstatapp.cpp @@ -73,11 +73,11 @@ KDirStatApp::KDirStatApp( TQWidget* , const char* name ) // Set up internal (mainWin -> mainWin) connections - connect( this, TQT_SIGNAL( readConfig ( void ) ), - this, TQT_SLOT ( readMainWinConfig( void ) ) ); + connect( this, TQ_SIGNAL( readConfig ( void ) ), + this, TQ_SLOT ( readMainWinConfig( void ) ) ); - connect( this, TQT_SIGNAL( saveConfig ( void ) ), - this, TQT_SLOT ( saveMainWinConfig( void ) ) ); + connect( this, TQ_SIGNAL( saveConfig ( void ) ), + this, TQ_SLOT ( saveMainWinConfig( void ) ) ); // Create main window @@ -87,25 +87,25 @@ KDirStatApp::KDirStatApp( TQWidget* , const char* name ) _treeView = new KDirTreeView( _splitter ); - connect( _treeView, TQT_SIGNAL( progressInfo( const TQString & ) ), - this, TQT_SLOT ( statusMsg ( const TQString & ) ) ); + connect( _treeView, TQ_SIGNAL( progressInfo( const TQString & ) ), + this, TQ_SLOT ( statusMsg ( const TQString & ) ) ); - connect( _treeView, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - this, TQT_SLOT ( selectionChanged( KFileInfo * ) ) ); + connect( _treeView, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + this, TQ_SLOT ( selectionChanged( KFileInfo * ) ) ); - connect( _treeView, TQT_SIGNAL( contextMenu( KDirTreeViewItem *, const TQPoint & ) ), - this, TQT_SLOT ( contextMenu( KDirTreeViewItem *, const TQPoint & ) ) ); + connect( _treeView, TQ_SIGNAL( contextMenu( KDirTreeViewItem *, const TQPoint & ) ), + this, TQ_SLOT ( contextMenu( KDirTreeViewItem *, const TQPoint & ) ) ); - connect( this, TQT_SIGNAL( readConfig() ), _treeView, TQT_SLOT ( readConfig() ) ); - connect( this, TQT_SIGNAL( saveConfig() ), _treeView, TQT_SLOT ( saveConfig() ) ); + connect( this, TQ_SIGNAL( readConfig() ), _treeView, TQ_SLOT ( readConfig() ) ); + connect( this, TQ_SIGNAL( saveConfig() ), _treeView, TQ_SLOT ( saveConfig() ) ); - connect( _treeView, TQT_SIGNAL( finished() ), this, TQT_SLOT( createTreemapView() ) ); - connect( _treeView, TQT_SIGNAL( aborted() ), this, TQT_SLOT( createTreemapView() ) ); - connect( _treeView, TQT_SIGNAL( startingReading() ), this, TQT_SLOT( deleteTreemapView() ) ); + connect( _treeView, TQ_SIGNAL( finished() ), this, TQ_SLOT( createTreemapView() ) ); + connect( _treeView, TQ_SIGNAL( aborted() ), this, TQ_SLOT( createTreemapView() ) ); + connect( _treeView, TQ_SIGNAL( startingReading() ), this, TQ_SLOT( deleteTreemapView() ) ); - connect( _treeView, TQT_SIGNAL( startingReading() ), this, TQT_SLOT( updateActions() ) ); - connect( _treeView, TQT_SIGNAL( finished() ), this, TQT_SLOT( updateActions() ) ); - connect( _treeView, TQT_SIGNAL( aborted() ), this, TQT_SLOT( updateActions() ) ); + connect( _treeView, TQ_SIGNAL( startingReading() ), this, TQ_SLOT( updateActions() ) ); + connect( _treeView, TQ_SIGNAL( finished() ), this, TQ_SLOT( updateActions() ) ); + connect( _treeView, TQ_SIGNAL( aborted() ), this, TQ_SLOT( updateActions() ) ); // Call inits to invoke all other construction parts @@ -141,72 +141,72 @@ KDirStatApp::~KDirStatApp() void KDirStatApp::initActions() { - _fileAskOpenDir = KStdAction::open ( this, TQT_SLOT( fileAskOpenDir() ), actionCollection() ); + _fileAskOpenDir = KStdAction::open ( this, TQ_SLOT( fileAskOpenDir() ), actionCollection() ); _fileAskOpenUrl = new TDEAction( i18n( "Open &URL..." ), "konqueror", 0, - this, TQT_SLOT( fileAskOpenUrl() ), + this, TQ_SLOT( fileAskOpenUrl() ), actionCollection(), "file_open_url" ); - _fileOpenRecent = KStdAction::openRecent ( this, TQT_SLOT( fileOpenRecent( const KURL& ) ), actionCollection() ); - _fileCloseDir = KStdAction::close ( this, TQT_SLOT( fileCloseDir() ), actionCollection() ); + _fileOpenRecent = KStdAction::openRecent ( this, TQ_SLOT( fileOpenRecent( const KURL& ) ), actionCollection() ); + _fileCloseDir = KStdAction::close ( this, TQ_SLOT( fileCloseDir() ), actionCollection() ); _fileRefreshAll = new TDEAction( i18n( "Refresh &All" ), "reload", 0, - this, TQT_SLOT( refreshAll() ), + this, TQ_SLOT( refreshAll() ), actionCollection(), "file_refresh_all" ); _fileRefreshSelected = new TDEAction( i18n( "Refresh &Selected" ), 0, - this, TQT_SLOT( refreshSelected() ), + this, TQ_SLOT( refreshSelected() ), actionCollection(), "file_refresh_selected" ); _fileContinueReadingAtMountPoint = new TDEAction( i18n( "Continue Reading at &Mount Point" ), "drive-harddisk-mounted", 0, - this, TQT_SLOT( refreshSelected() ), actionCollection(), + this, TQ_SLOT( refreshSelected() ), actionCollection(), "file_continue_reading_at_mount_point" ); _fileStopReading = new TDEAction( i18n( "Stop Rea&ding" ), "process-stop", 0, - this, TQT_SLOT( stopReading() ), actionCollection(), + this, TQ_SLOT( stopReading() ), actionCollection(), "file_stop_reading" ); - _fileQuit = KStdAction::quit ( kapp, TQT_SLOT( quit() ), actionCollection() ); - _editCopy = KStdAction::copy ( this, TQT_SLOT( editCopy() ), actionCollection() ); - _showToolBar = KStdAction::showToolbar ( this, TQT_SLOT( toggleToolBar() ), actionCollection() ); - _showStatusBar = KStdAction::showStatusbar ( this, TQT_SLOT( toggleStatusBar() ), actionCollection() ); + _fileQuit = KStdAction::quit ( kapp, TQ_SLOT( quit() ), actionCollection() ); + _editCopy = KStdAction::copy ( this, TQ_SLOT( editCopy() ), actionCollection() ); + _showToolBar = KStdAction::showToolbar ( this, TQ_SLOT( toggleToolBar() ), actionCollection() ); + _showStatusBar = KStdAction::showStatusbar ( this, TQ_SLOT( toggleStatusBar() ), actionCollection() ); _cleanupOpenWith = new TDEAction( i18n( "Open With" ), 0, - this, TQT_SLOT( cleanupOpenWith() ), + this, TQ_SLOT( cleanupOpenWith() ), actionCollection(), "cleanup_open_with" ); _treemapZoomIn = new TDEAction( i18n( "Zoom in" ), "zoom-in", Key_Plus, - this, TQT_SLOT( treemapZoomIn() ), + this, TQ_SLOT( treemapZoomIn() ), actionCollection(), "treemap_zoom_in" ); _treemapZoomOut = new TDEAction( i18n( "Zoom out" ), "zoom-out", Key_Minus, - this, TQT_SLOT( treemapZoomOut() ), + this, TQ_SLOT( treemapZoomOut() ), actionCollection(), "treemap_zoom_out" ); _treemapSelectParent= new TDEAction( i18n( "Select Parent" ), "go-up", Key_Asterisk, - this, TQT_SLOT( treemapSelectParent() ), + this, TQ_SLOT( treemapSelectParent() ), actionCollection(), "treemap_select_parent" ); _treemapRebuild = new TDEAction( i18n( "Rebuild Treemap" ), 0, - this, TQT_SLOT( treemapRebuild() ), + this, TQ_SLOT( treemapRebuild() ), actionCollection(), "treemap_rebuild" ); _showTreemapView = new TDEToggleAction( i18n( "Show Treemap" ), Key_F9, - this, TQT_SLOT( toggleTreemapView() ), + this, TQ_SLOT( toggleTreemapView() ), actionCollection(), "options_show_treemap" ); new TDEAction( i18n( "Help about Treemaps" ), "help", 0, - this, TQT_SLOT( treemapHelp() ), + this, TQ_SLOT( treemapHelp() ), actionCollection(), "treemap_help" ); - TDEAction * pref = KStdAction::preferences( this, TQT_SLOT( preferences() ), actionCollection() ); + TDEAction * pref = KStdAction::preferences( this, TQ_SLOT( preferences() ), actionCollection() ); _reportMailToOwner = new TDEAction( i18n( "Send &Mail to Owner" ), "mail_generic", 0, - _treeView, TQT_SLOT( sendMailToOwner() ), + _treeView, TQ_SLOT( sendMailToOwner() ), actionCollection(), "report_mail_to_owner" ); _helpSendFeedbackMail = new TDEAction( i18n( "Send &Feedback Mail..." ), 0, - this, TQT_SLOT( sendFeedbackMail() ), + this, TQ_SLOT( sendFeedbackMail() ), actionCollection(), "help_send_feedback_mail" ); @@ -242,14 +242,14 @@ KDirStatApp::initCleanups() _cleanupCollection->addUserCleanups( USER_CLEANUPS ); _cleanupCollection->slotReadConfig(); - connect( _treeView, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - _cleanupCollection, TQT_SIGNAL( selectionChanged( KFileInfo * ) ) ); + connect( _treeView, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + _cleanupCollection, TQ_SIGNAL( selectionChanged( KFileInfo * ) ) ); - connect( this, TQT_SIGNAL( readConfig( void ) ), - _cleanupCollection, TQT_SIGNAL( readConfig( void ) ) ); + connect( this, TQ_SIGNAL( readConfig( void ) ), + _cleanupCollection, TQ_SIGNAL( readConfig( void ) ) ); - connect( this, TQT_SIGNAL( saveConfig( void ) ), - _cleanupCollection, TQT_SIGNAL( saveConfig( void ) ) ); + connect( this, TQ_SIGNAL( saveConfig( void ) ), + _cleanupCollection, TQ_SIGNAL( saveConfig( void ) ) ); } @@ -279,9 +279,9 @@ KDirStatApp::initPacMan( bool enablePacMan ) _pacManDelimiter = new TQWidget( toolBar() ); toolBar()->insertWidget( ++id, 1, _pacManDelimiter ); - connect( _treeView, TQT_SIGNAL( startingReading() ), _pacMan, TQT_SLOT( start() ) ); - connect( _treeView, TQT_SIGNAL( finished() ), _pacMan, TQT_SLOT( stop () ) ); - connect( _treeView, TQT_SIGNAL( aborted() ), _pacMan, TQT_SLOT( stop () ) ); + connect( _treeView, TQ_SIGNAL( startingReading() ), _pacMan, TQ_SLOT( start() ) ); + connect( _treeView, TQ_SIGNAL( finished() ), _pacMan, TQ_SLOT( stop () ) ); + connect( _treeView, TQ_SIGNAL( aborted() ), _pacMan, TQ_SLOT( stop () ) ); } } else @@ -317,14 +317,14 @@ KDirStatApp::initActivityTracker() _activityTracker = new KActivityTracker( this, "Feedback", INITIAL_FEEDBACK_REMINDER ); - connect( _activityTracker, TQT_SIGNAL( thresholdReached() ), - this, TQT_SLOT ( askForFeedback() ) ); + connect( _activityTracker, TQ_SIGNAL( thresholdReached() ), + this, TQ_SLOT ( askForFeedback() ) ); - connect( _treeView, TQT_SIGNAL( userActivity( int ) ), - _activityTracker, TQT_SLOT ( trackActivity( int ) ) ); + connect( _treeView, TQ_SIGNAL( userActivity( int ) ), + _activityTracker, TQ_SLOT ( trackActivity( int ) ) ); - connect( _cleanupCollection, TQT_SIGNAL( userActivity( int ) ), - _activityTracker, TQT_SLOT ( trackActivity( int ) ) ); + connect( _cleanupCollection, TQ_SIGNAL( userActivity( int ) ), + _activityTracker, TQ_SLOT ( trackActivity( int ) ) ); } @@ -809,19 +809,19 @@ KDirStatApp::createTreemapView() TQSize( _splitter->width(), _treemapViewHeight ) ); TQ_CHECK_PTR( _treemapView ); - connect( _treemapView, TQT_SIGNAL( contextMenu( KTreemapTile *, const TQPoint & ) ), - this, TQT_SLOT ( contextMenu( KTreemapTile *, const TQPoint & ) ) ); + connect( _treemapView, TQ_SIGNAL( contextMenu( KTreemapTile *, const TQPoint & ) ), + this, TQ_SLOT ( contextMenu( KTreemapTile *, const TQPoint & ) ) ); - connect( _treemapView, TQT_SIGNAL( treemapChanged() ), - this, TQT_SLOT ( updateActions() ) ); + connect( _treemapView, TQ_SIGNAL( treemapChanged() ), + this, TQ_SLOT ( updateActions() ) ); - connect( _treemapView, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - this, TQT_SLOT ( selectionChanged( KFileInfo * ) ) ); + connect( _treemapView, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + this, TQ_SLOT ( selectionChanged( KFileInfo * ) ) ); if ( _activityTracker ) { - connect( _treemapView, TQT_SIGNAL( userActivity ( int ) ), - _activityTracker, TQT_SLOT ( trackActivity( int ) ) ); + connect( _treemapView, TQ_SIGNAL( userActivity ( int ) ), + _activityTracker, TQ_SLOT ( trackActivity( int ) ) ); } _treemapView->show(); // TQSplitter needs explicit show() for new children diff --git a/kdirstat/kdirstatfeedback.cpp b/kdirstat/kdirstatfeedback.cpp index 1900614..fdd1555 100644 --- a/kdirstat/kdirstatfeedback.cpp +++ b/kdirstat/kdirstatfeedback.cpp @@ -24,8 +24,8 @@ KDirStatApp::sendFeedbackMail() _feedbackDialog = new KFeedbackDialog( "sh@suse.de", "feedback_mail" ); TQ_CHECK_PTR( _feedbackDialog ); - connect( _feedbackDialog->form(), TQT_SIGNAL( mailSent() ), - this, TQT_SLOT( feedbackMailSent() ) ); + connect( _feedbackDialog->form(), TQ_SIGNAL( mailSent() ), + this, TQ_SLOT( feedbackMailSent() ) ); KFeedbackQuestionList * list = _feedbackDialog->form()->questionList(); diff --git a/kdirstat/kdirstatsettings.cpp b/kdirstat/kdirstatsettings.cpp index 85fd211..de05e13 100644 --- a/kdirstat/kdirstatsettings.cpp +++ b/kdirstat/kdirstatsettings.cpp @@ -135,17 +135,17 @@ KSettingsPage::KSettingsPage( KSettingsDialog * dialog, TQWidget * parent ) : TQWidget( parent ) { - connect( dialog, TQT_SIGNAL( aboutToShow ( void ) ), - this, TQT_SLOT ( setup ( void ) ) ); + connect( dialog, TQ_SIGNAL( aboutToShow ( void ) ), + this, TQ_SLOT ( setup ( void ) ) ); - connect( dialog, TQT_SIGNAL( okClicked ( void ) ), - this, TQT_SLOT ( apply ( void ) ) ); + connect( dialog, TQ_SIGNAL( okClicked ( void ) ), + this, TQ_SLOT ( apply ( void ) ) ); - connect( dialog, TQT_SIGNAL( applyClicked ( void ) ), - this, TQT_SLOT ( apply ( void ) ) ); + connect( dialog, TQ_SIGNAL( applyClicked ( void ) ), + this, TQ_SLOT ( apply ( void ) ) ); - connect( dialog, TQT_SIGNAL( defaultClicked ( void ) ), - this, TQT_SLOT ( revertToDefaults( void ) ) ); + connect( dialog, TQ_SIGNAL( defaultClicked ( void ) ), + this, TQ_SLOT ( revertToDefaults( void ) ) ); } @@ -212,8 +212,8 @@ KTreeColorsPage::KTreeColorsPage( KSettingsDialog * dialog, outerBox->addWidget( _slider, 0 ); outerBox->activate(); - connect( _slider, TQT_SIGNAL( valueChanged( int ) ), - this, TQT_SLOT ( enableColors( int ) ) ); + connect( _slider, TQ_SIGNAL( valueChanged( int ) ), + this, TQ_SLOT ( enableColors( int ) ) ); } @@ -298,8 +298,8 @@ KCleanupPage::KCleanupPage( KSettingsDialog * dialog, // clicks on a different cleanup in the list, the properties page // will display that cleanup's values. - connect( _listBox, TQT_SIGNAL( selectCleanup( KCleanup * ) ), - this, TQT_SLOT ( changeCleanup( KCleanup * ) ) ); + connect( _listBox, TQ_SIGNAL( selectCleanup( KCleanup * ) ), + this, TQ_SLOT ( changeCleanup( KCleanup * ) ) ); // Fill list box so it can determine a reasonable startup geometry - that @@ -431,8 +431,8 @@ KCleanupListBox::KCleanupListBox( TQWidget *parent ) _selection = 0; connect( this, - TQT_SIGNAL( selectionChanged( TQListBoxItem *) ), - TQT_SLOT ( selectCleanup ( TQListBoxItem *) ) ); + TQ_SIGNAL( selectionChanged( TQListBoxItem *) ), + TQ_SLOT ( selectCleanup ( TQListBoxItem *) ) ); } @@ -531,8 +531,8 @@ KCleanupPropertiesPage::KCleanupPropertiesPage( TQWidget * parent, outerBox->addSpacing( 7 ); outerBox->addStretch(); - connect( _enabled, TQT_SIGNAL( toggled ( bool ) ), - this, TQT_SLOT ( enableFields( bool ) ) ); + connect( _enabled, TQ_SIGNAL( toggled ( bool ) ), + this, TQ_SLOT ( enableFields( bool ) ) ); // All other widgets of this page are grouped together in a @@ -718,8 +718,8 @@ KGeneralSettingsPage::KGeneralSettingsPage( KSettingsDialog * dialog, _crossFileSystems = new TQCheckBox( i18n( "Cross &File System Boundaries" ), gbox ); _enableLocalDirReader = new TQCheckBox( i18n( "Use Optimized &Local Directory Read Methods" ), gbox ); - connect( _enableLocalDirReader, TQT_SIGNAL( stateChanged( int ) ), - this, TQT_SLOT ( checkEnabledState() ) ); + connect( _enableLocalDirReader, TQ_SIGNAL( stateChanged( int ) ), + this, TQ_SLOT ( checkEnabledState() ) ); layout->addSpacing( 10 ); @@ -902,22 +902,22 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog, // Connections - connect( _ambientLight, TQT_SIGNAL( valueChanged(int) ), - _ambientLightSB, TQT_SLOT ( setValue (int) ) ); + connect( _ambientLight, TQ_SIGNAL( valueChanged(int) ), + _ambientLightSB, TQ_SLOT ( setValue (int) ) ); - connect( _ambientLightSB, TQT_SIGNAL( valueChanged(int) ), - _ambientLight, TQT_SLOT ( setValue (int) ) ); + connect( _ambientLightSB, TQ_SIGNAL( valueChanged(int) ), + _ambientLight, TQ_SLOT ( setValue (int) ) ); - connect( _heightScalePercent, TQT_SIGNAL( valueChanged(int) ), - _heightScalePercentSB, TQT_SLOT ( setValue (int) ) ); + connect( _heightScalePercent, TQ_SIGNAL( valueChanged(int) ), + _heightScalePercentSB, TQ_SLOT ( setValue (int) ) ); - connect( _heightScalePercentSB, TQT_SIGNAL( valueChanged(int) ), - _heightScalePercent, TQT_SLOT ( setValue (int) ) ); + connect( _heightScalePercentSB, TQ_SIGNAL( valueChanged(int) ), + _heightScalePercent, TQ_SLOT ( setValue (int) ) ); - connect( _doCushionShading, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SLOT( checkEnabledState() ) ); - connect( _forceCushionGrid, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SLOT( checkEnabledState() ) ); + connect( _doCushionShading, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SLOT( checkEnabledState() ) ); + connect( _forceCushionGrid, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SLOT( checkEnabledState() ) ); checkEnabledState(); } diff --git a/kdirstat/kdirtree.cpp b/kdirstat/kdirtree.cpp index a4aafd2..28c28d6 100644 --- a/kdirstat/kdirtree.cpp +++ b/kdirstat/kdirtree.cpp @@ -1013,14 +1013,14 @@ KAnyDirReadJob::startReading() _job = TDEIO::listDir( url, false ); // showProgressInfo - connect( _job, TQT_SIGNAL( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ), - this, TQT_SLOT ( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ) ); + connect( _job, TQ_SIGNAL( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ), + this, TQ_SLOT ( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ) ); - connect( _job, TQT_SIGNAL( result ( TDEIO::Job * ) ), - this, TQT_SLOT ( finished( TDEIO::Job * ) ) ); + connect( _job, TQ_SIGNAL( result ( TDEIO::Job * ) ), + this, TQ_SLOT ( finished( TDEIO::Job * ) ) ); - connect( _job, TQT_SIGNAL( canceled( TDEIO::Job * ) ), - this, TQT_SLOT ( finished( TDEIO::Job * ) ) ); + connect( _job, TQ_SIGNAL( canceled( TDEIO::Job * ) ), + this, TQ_SLOT ( finished( TDEIO::Job * ) ) ); } @@ -1266,7 +1266,7 @@ KDirTree::startReading( const KURL & url ) } if ( ! _jobQueue.isEmpty() ) - TQTimer::singleShot( 0, this, TQT_SLOT( timeSlicedRead() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( timeSlicedRead() ) ); } @@ -1348,7 +1348,7 @@ KDirTree::refresh( KFileInfo *subtree ) // Trigger reading as soon as the event loop continues. if ( ! _jobQueue.isEmpty() ) - TQTimer::singleShot( 0, this, TQT_SLOT( timeSlicedRead() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( timeSlicedRead() ) ); } } } @@ -1402,7 +1402,7 @@ KDirTree::jobFinishedNotify( KDirReadJob *job ) { // Set up zero-duration timer for the new job. - TQTimer::singleShot( 0, this, TQT_SLOT( timeSlicedRead() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( timeSlicedRead() ) ); } } diff --git a/kdirstat/kdirtreeview.cpp b/kdirstat/kdirtreeview.cpp index 6eb9657..748e7c5 100644 --- a/kdirstat/kdirtreeview.cpp +++ b/kdirstat/kdirtreeview.cpp @@ -111,17 +111,17 @@ KDirTreeView::KDirTreeView( TQWidget * parent ) ensureContrast(); - connect( kapp, TQT_SIGNAL( tdedisplayPaletteChanged() ), - this, TQT_SLOT ( paletteChanged() ) ); + connect( kapp, TQ_SIGNAL( tdedisplayPaletteChanged() ), + this, TQ_SLOT ( paletteChanged() ) ); - connect( this, TQT_SIGNAL( selectionChanged ( TQListViewItem * ) ), - this, TQT_SLOT ( selectItem ( TQListViewItem * ) ) ); + connect( this, TQ_SIGNAL( selectionChanged ( TQListViewItem * ) ), + this, TQ_SLOT ( selectItem ( TQListViewItem * ) ) ); - connect( this, TQT_SIGNAL( rightButtonPressed ( TQListViewItem *, const TQPoint &, int ) ), - this, TQT_SLOT ( popupContextMenu ( TQListViewItem *, const TQPoint &, int ) ) ); + connect( this, TQ_SIGNAL( rightButtonPressed ( TQListViewItem *, const TQPoint &, int ) ), + this, TQ_SLOT ( popupContextMenu ( TQListViewItem *, const TQPoint &, int ) ) ); - connect( header(), TQT_SIGNAL( sizeChange ( int, int, int ) ), - this, TQT_SLOT ( columnResized( int, int, int ) ) ); + connect( header(), TQ_SIGNAL( sizeChange ( int, int, int ) ), + this, TQ_SLOT ( columnResized( int, int, int ) ) ); _contextInfo = new TQPopupMenu; _idContextInfo = _contextInfo->insertItem ( "dummy" ); @@ -221,32 +221,32 @@ KDirTreeView::openURL( KURL url ) // Connect signals - connect( _tree, TQT_SIGNAL( progressInfo ( const TQString & ) ), - this, TQT_SLOT ( sendProgressInfo( const TQString & ) ) ); + connect( _tree, TQ_SIGNAL( progressInfo ( const TQString & ) ), + this, TQ_SLOT ( sendProgressInfo( const TQString & ) ) ); - connect( _tree, TQT_SIGNAL( childAdded( KFileInfo * ) ), - this, TQT_SLOT ( addChild ( KFileInfo * ) ) ); + connect( _tree, TQ_SIGNAL( childAdded( KFileInfo * ) ), + this, TQ_SLOT ( addChild ( KFileInfo * ) ) ); - connect( _tree, TQT_SIGNAL( deletingChild( KFileInfo * ) ), - this, TQT_SLOT ( deleteChild ( KFileInfo * ) ) ); + connect( _tree, TQ_SIGNAL( deletingChild( KFileInfo * ) ), + this, TQ_SLOT ( deleteChild ( KFileInfo * ) ) ); - connect( _tree, TQT_SIGNAL( startingReading() ), - this, TQT_SLOT ( prepareReading() ) ); + connect( _tree, TQ_SIGNAL( startingReading() ), + this, TQ_SLOT ( prepareReading() ) ); - connect( _tree, TQT_SIGNAL( finished() ), - this, TQT_SLOT ( slotFinished() ) ); + connect( _tree, TQ_SIGNAL( finished() ), + this, TQ_SLOT ( slotFinished() ) ); - connect( _tree, TQT_SIGNAL( aborted() ), - this, TQT_SLOT ( slotAborted() ) ); + connect( _tree, TQ_SIGNAL( aborted() ), + this, TQ_SLOT ( slotAborted() ) ); - connect( _tree, TQT_SIGNAL( finalizeLocal( KDirInfo * ) ), - this, TQT_SLOT ( finalizeLocal( KDirInfo * ) ) ); + connect( _tree, TQ_SIGNAL( finalizeLocal( KDirInfo * ) ), + this, TQ_SLOT ( finalizeLocal( KDirInfo * ) ) ); - connect( this, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - _tree, TQT_SLOT ( selectItem ( KFileInfo * ) ) ); + connect( this, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + _tree, TQ_SLOT ( selectItem ( KFileInfo * ) ) ); - connect( _tree, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - this, TQT_SLOT ( selectItem ( KFileInfo * ) ) ); + connect( _tree, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + this, TQ_SLOT ( selectItem ( KFileInfo * ) ) ); // Implicitly calling prepareReading() via the tree's startingReading() signal _tree->startReading( url ); @@ -269,11 +269,11 @@ KDirTreeView::prepareReading() if ( _updateTimer ) { _updateTimer->changeInterval( _updateInterval ); - connect( _updateTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT ( updateSummary() ) ); + connect( _updateTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT ( updateSummary() ) ); - connect( _updateTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT ( sendProgressInfo() ) ); + connect( _updateTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT ( sendProgressInfo() ) ); } diff --git a/kdirstat/kfeedback.cpp b/kdirstat/kfeedback.cpp index 7adb7fd..69c7e07 100644 --- a/kdirstat/kfeedback.cpp +++ b/kdirstat/kfeedback.cpp @@ -46,17 +46,17 @@ KFeedbackDialog::KFeedbackDialog( const TQString & feedbackMailAddress, layout->addWidget( _form ); checkSendButton(); - connect( this, TQT_SIGNAL( applyClicked() ), - _form, TQT_SLOT ( sendMail() ) ); + connect( this, TQ_SIGNAL( applyClicked() ), + _form, TQ_SLOT ( sendMail() ) ); - connect( _form, TQT_SIGNAL( mailSent() ), - this, TQT_SLOT ( hide() ) ); + connect( _form, TQ_SIGNAL( mailSent() ), + this, TQ_SLOT ( hide() ) ); - connect( _form, TQT_SIGNAL( mailSent() ), - this, TQT_SIGNAL( mailSent() ) ); + connect( _form, TQ_SIGNAL( mailSent() ), + this, TQ_SIGNAL( mailSent() ) ); - connect( _form, TQT_SIGNAL( checkComplete() ), - this, TQT_SLOT ( checkSendButton() ) ); + connect( _form, TQ_SIGNAL( checkComplete() ), + this, TQ_SLOT ( checkSendButton() ) ); } @@ -97,8 +97,8 @@ KFeedbackForm::KFeedbackForm( const TQString & feedbackMailAddress, _questionList = new KFeedbackQuestionList( this ); TQ_CHECK_PTR( _questionList ); - connect( _questionList, TQT_SIGNAL( checkComplete() ), - this, TQT_SLOT ( slotCheckComplete() ) ); + connect( _questionList, TQ_SIGNAL( checkComplete() ), + this, TQ_SLOT ( slotCheckComplete() ) ); // diff --git a/kdirstat/kpacman.cpp b/kdirstat/kpacman.cpp index 024dfae..5d2678b 100644 --- a/kdirstat/kpacman.cpp +++ b/kdirstat/kpacman.cpp @@ -240,8 +240,8 @@ KPacMan::start() { _active = true; _timer->start( _interval ); - connect( _timer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT ( animate() ) ); + connect( _timer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT ( animate() ) ); } } diff --git a/kdirstat/ktreemapview.cpp b/kdirstat/ktreemapview.cpp index b8aaedd..9e882d8 100644 --- a/kdirstat/ktreemapview.cpp +++ b/kdirstat/ktreemapview.cpp @@ -68,17 +68,17 @@ KTreemapView::KTreemapView( KDirTree * tree, TQWidget * parent, const TQSize & i } } - connect( this, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - tree, TQT_SLOT ( selectItem ( KFileInfo * ) ) ); + connect( this, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + tree, TQ_SLOT ( selectItem ( KFileInfo * ) ) ); - connect( tree, TQT_SIGNAL( selectionChanged( KFileInfo * ) ), - this, TQT_SLOT ( selectTile ( KFileInfo * ) ) ); + connect( tree, TQ_SIGNAL( selectionChanged( KFileInfo * ) ), + this, TQ_SLOT ( selectTile ( KFileInfo * ) ) ); - connect( tree, TQT_SIGNAL( deletingChild ( KFileInfo * ) ), - this, TQT_SLOT ( deleteNotify ( KFileInfo * ) ) ); + connect( tree, TQ_SIGNAL( deletingChild ( KFileInfo * ) ), + this, TQ_SLOT ( deleteNotify ( KFileInfo * ) ) ); - connect( tree, TQT_SIGNAL( childDeleted() ), - this, TQT_SLOT ( rebuildTreemap() ) ); + connect( tree, TQ_SIGNAL( childDeleted() ), + this, TQ_SLOT ( rebuildTreemap() ) ); } |