diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 10:03:43 +0900 |
commit | a4241b7911d2e0b36edfb02f616b8b282050c0ec (patch) | |
tree | 316c9a3298857645d5da57b682fce707c8e2a907 /ksysguard/gui/Workspace.cpp | |
parent | f9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff) | |
download | tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksysguard/gui/Workspace.cpp')
-rw-r--r-- | ksysguard/gui/Workspace.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ksysguard/gui/Workspace.cpp b/ksysguard/gui/Workspace.cpp index c5e622248..9aa511884 100644 --- a/ksysguard/gui/Workspace.cpp +++ b/ksysguard/gui/Workspace.cpp @@ -47,8 +47,8 @@ Workspace::Workspace( TQWidget* parent, const char* name ) mSheetList.setAutoDelete( true ); mAutoSave = true; - connect( this, TQT_SIGNAL( currentChanged( TQWidget* ) ), - TQT_SLOT( updateCaption( TQWidget* ) ) ); + connect( this, TQ_SIGNAL( currentChanged( TQWidget* ) ), + TQ_SLOT( updateCaption( TQWidget* ) ) ); TQWhatsThis::add( this, i18n( "This is your work space. It holds your worksheets. You need " "to create a new worksheet (Menu File->New) before " @@ -62,8 +62,8 @@ Workspace::~Workspace() * administration data is already deleted but slots are still * being triggered. TODO: I need to ask the Trolls about this. */ - disconnect( this, TQT_SIGNAL( currentChanged( TQWidget* ) ), this, - TQT_SLOT( updateCaption( TQWidget* ) ) ); + disconnect( this, TQ_SIGNAL( currentChanged( TQWidget* ) ), this, + TQ_SLOT( updateCaption( TQWidget* ) ) ); } void Workspace::saveProperties( TDEConfig *cfg ) @@ -148,10 +148,10 @@ void Workspace::newWorkSheet() insertTab( sheet, dlg.sheetTitle() ); mSheetList.append( sheet ); showPage( sheet ); - connect( sheet, TQT_SIGNAL( sheetModified( TQWidget* ) ), - TQT_SLOT( updateCaption( TQWidget* ) ) ); - connect( sheet, TQT_SIGNAL( titleChanged( TQWidget* ) ), - TQT_SLOT( updateSheetTitle( TQWidget* ) ) ); + connect( sheet, TQ_SIGNAL( sheetModified( TQWidget* ) ), + TQ_SLOT( updateCaption( TQWidget* ) ) ); + connect( sheet, TQ_SIGNAL( titleChanged( TQWidget* ) ), + TQ_SLOT( updateSheetTitle( TQWidget* ) ) ); } } @@ -370,8 +370,8 @@ WorkSheet *Workspace::restoreWorkSheet( const TQString &fileName, const TQString } mSheetList.append( sheet ); - connect( sheet, TQT_SIGNAL( sheetModified( TQWidget* ) ), - TQT_SLOT( updateCaption( TQWidget* ) ) ); + connect( sheet, TQ_SIGNAL( sheetModified( TQWidget* ) ), + TQ_SLOT( updateCaption( TQWidget* ) ) ); /* Force the file name to be the new name. This also sets the modified * flag, so that the file will get saved on exit. */ |