diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 16:37:45 +0900 | 
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 16:37:45 +0900 | 
| commit | 11f3716a1c82b43f92dc32083101558f3ec47f27 (patch) | |
| tree | 0e0a6f82ea12db7ed50ba5e068128186493d44e1 /src/editortabs.cpp | |
| parent | d399e3a2c6c365c540fe67bc648bacefe4cca707 (diff) | |
| download | kscope-11f3716a1c82b43f92dc32083101558f3ec47f27.tar.gz kscope-11f3716a1c82b43f92dc32083101558f3ec47f27.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/editortabs.cpp')
| -rw-r--r-- | src/editortabs.cpp | 32 | 
1 files changed, 16 insertions, 16 deletions
| diff --git a/src/editortabs.cpp b/src/editortabs.cpp index 24aa6d4..e728f7e 100644 --- a/src/editortabs.cpp +++ b/src/editortabs.cpp @@ -53,16 +53,16 @@ EditorTabs::EditorTabs(TQWidget* pParent, const char* szName) :  	setAcceptDrops(true);  	// Close an editor page when its close button is clicked -	connect(this, SIGNAL(closeRequest(TQWidget*)), this, -		SLOT(slotRemovePage(TQWidget*))); +	connect(this, TQ_SIGNAL(closeRequest(TQWidget*)), this, +		TQ_SLOT(slotRemovePage(TQWidget*)));  	// Set an editor page as the active part, when its tab is selected	 -	connect(this, SIGNAL(currentChanged(TQWidget*)), this, -		SLOT(slotCurrentChanged(TQWidget*))); +	connect(this, TQ_SIGNAL(currentChanged(TQWidget*)), this, +		TQ_SLOT(slotCurrentChanged(TQWidget*)));  	// Start dragging a file from a tab -	connect(this, SIGNAL(initiateDrag(TQWidget*)), this, -		SLOT(slotInitiateDrag(TQWidget*))); +	connect(this, TQ_SIGNAL(initiateDrag(TQWidget*)), this, +		TQ_SLOT(slotInitiateDrag(TQWidget*)));  }  /** @@ -79,10 +79,10 @@ EditorTabs::~EditorTabs()  void EditorTabs::setWindowMenu(TQPopupMenu* pWindowMenu)  {  	m_pWindowMenu = pWindowMenu; -	connect(pWindowMenu, SIGNAL(aboutToShow()), this, -		SLOT(slotFillWindowMenu())); -	connect(pWindowMenu, SIGNAL(activated(int)), this, -		SLOT(slotSetCurrentPage(int))); +	connect(pWindowMenu, TQ_SIGNAL(aboutToShow()), this, +		TQ_SLOT(slotFillWindowMenu())); +	connect(pWindowMenu, TQ_SIGNAL(activated(int)), this, +		TQ_SLOT(slotSetCurrentPage(int)));  }  /** @@ -97,16 +97,16 @@ void EditorTabs::addEditorPage(EditorPage* pNewPage)  	// Add the file edited by this page to the map, and display its name,  	// once the file is opened -	connect(pNewPage, SIGNAL(fileOpened(EditorPage*, const TQString&)), this, -		SLOT(slotAttachFile(EditorPage*, const TQString&))); +	connect(pNewPage, TQ_SIGNAL(fileOpened(EditorPage*, const TQString&)), this, +		TQ_SLOT(slotAttachFile(EditorPage*, const TQString&)));  	// Handle new unnamed files -	connect(pNewPage, SIGNAL(newFile(EditorPage*)), this, -		SLOT(slotNewFile(EditorPage*))); +	connect(pNewPage, TQ_SIGNAL(newFile(EditorPage*)), this, +		TQ_SLOT(slotNewFile(EditorPage*)));  	// Change tab icon when a file is modified -	connect(pNewPage, SIGNAL(modified(EditorPage*, bool)), this, -		SLOT(slotFileModified(EditorPage*, bool))); +	connect(pNewPage, TQ_SIGNAL(modified(EditorPage*, bool)), this, +		TQ_SLOT(slotFileModified(EditorPage*, bool)));  	// If this is the first page, the current page will not be set by the   	// signal handler, so we need to do it manually | 
