diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 13:10:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 13:34:26 +0900 |
commit | b0c86264e0cd10a0d3a47de3b05be453d9417bcd (patch) | |
tree | 7ae4535306d69dc4b55f68eae0a65298330ee610 /cervisia | |
parent | d859a5c1f439fe432dedde763e40b2dad9875354 (diff) | |
download | tdesdk-b0c86264e0cd10a0d3a47de3b05be453d9417bcd.tar.gz tdesdk-b0c86264e0cd10a0d3a47de3b05be453d9417bcd.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'cervisia')
31 files changed, 292 insertions, 292 deletions
diff --git a/cervisia/addrepositorydlg.cpp b/cervisia/addrepositorydlg.cpp index 576b43f4..a31c497f 100644 --- a/cervisia/addrepositorydlg.cpp +++ b/cervisia/addrepositorydlg.cpp @@ -81,10 +81,10 @@ AddRepositoryDialog::AddRepositoryDialog(TDEConfig& cfg, const TQString& repo, "server"), mainWidget); layout->addWidget(m_retrieveCvsignoreFile); - connect( repo_edit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(repoChanged()) ); - connect( m_useDifferentCompression, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(compressionToggled(bool)) ); + connect( repo_edit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(repoChanged()) ); + connect( m_useDifferentCompression, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(compressionToggled(bool)) ); repoChanged(); TQSize size = configDialogSize(partConfig, "AddRepositoryDialog"); diff --git a/cervisia/annotateview.cpp b/cervisia/annotateview.cpp index 3649b73d..9390ca2a 100644 --- a/cervisia/annotateview.cpp +++ b/cervisia/annotateview.cpp @@ -159,8 +159,8 @@ AnnotateView::AnnotateView(TDEConfig &cfg, TQWidget *parent, const char *name) ToolTip* toolTip = new ToolTip(viewport()); - connect(toolTip, TQT_SIGNAL(queryToolTip(const TQPoint&, TQRect&, TQString&)), - this, TQT_SLOT(slotQueryToolTip(const TQPoint&, TQRect&, TQString&))); + connect(toolTip, TQ_SIGNAL(queryToolTip(const TQPoint&, TQRect&, TQString&)), + this, TQ_SLOT(slotQueryToolTip(const TQPoint&, TQRect&, TQString&))); TDEConfigGroupSaver cs(&cfg, "LookAndFeel"); setFont(cfg.readFontEntry("AnnotateFont")); diff --git a/cervisia/cervisiapart.cpp b/cervisia/cervisiapart.cpp index 2de0ef6c..3d6355a5 100644 --- a/cervisia/cervisiapart.cpp +++ b/cervisia/cervisiapart.cpp @@ -138,10 +138,10 @@ CervisiaPart::CervisiaPart( TQWidget *parentWidget, const char *widgetName, update = new UpdateView(*config(), splitter); update->setFocusPolicy( TQWidget::StrongFocus ); update->setFocus(); - connect( update, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), - this, TQT_SLOT(popupRequested(TDEListView*, TQListViewItem*, const TQPoint&)) ); - connect( update, TQT_SIGNAL(fileOpened(TQString)), - this, TQT_SLOT(openFile(TQString)) ); + connect( update, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), + this, TQ_SLOT(popupRequested(TDEListView*, TQListViewItem*, const TQPoint&)) ); + connect( update, TQ_SIGNAL(fileOpened(TQString)), + this, TQ_SLOT(openFile(TQString)) ); protocol = new ProtocolView(appId, splitter); protocol->setFocusPolicy( TQWidget::StrongFocus ); @@ -157,12 +157,12 @@ CervisiaPart::CervisiaPart( TQWidget *parentWidget, const char *widgetName, { setupActions(); readSettings(); - connect( update, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( updateActions() ) ); + connect( update, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( updateActions() ) ); } setXMLFile( "cervisiaui.rc" ); - TQTimer::singleShot(0, this, TQT_SLOT(slotSetupStatusBar())); + TQTimer::singleShot(0, this, TQ_SLOT(slotSetupStatusBar())); } CervisiaPart::~CervisiaPart() @@ -233,81 +233,81 @@ void CervisiaPart::setupActions() // File Menu // action = new TDEAction( i18n("O&pen Sandbox..."), "document-open", CTRL+Key_O, - this, TQT_SLOT( slotOpenSandbox() ), + this, TQ_SLOT( slotOpenSandbox() ), actionCollection(), "file_open" ); hint = i18n("Opens a CVS working folder in the main window"); action->setToolTip( hint ); action->setWhatsThis( hint ); recent = new TDERecentFilesAction( i18n("Recent Sandboxes"), 0, - this, TQT_SLOT( openURL( const KURL & ) ), + this, TQ_SLOT( openURL( const KURL & ) ), actionCollection(), "file_open_recent" ); action = new TDEAction( i18n("&Insert ChangeLog Entry..."), 0, - this, TQT_SLOT( slotChangeLog() ), + this, TQ_SLOT( slotChangeLog() ), actionCollection(), "insert_changelog_entry" ); hint = i18n("Inserts a new intro into the file ChangeLog in the toplevel folder"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Update"), "vcs_update", CTRL+Key_U, - this, TQT_SLOT( slotUpdate() ), + this, TQ_SLOT( slotUpdate() ), actionCollection(), "file_update" ); hint = i18n("Updates (cvs update) the selected files and folders"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Status"), "vcs_status", Key_F5, - this, TQT_SLOT( slotStatus() ), + this, TQ_SLOT( slotStatus() ), actionCollection(), "file_status" ); hint = i18n("Updates the status (cvs -n update) of the selected files and folders"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Edit"), 0, - this, TQT_SLOT( slotOpen() ), + this, TQ_SLOT( slotOpen() ), actionCollection(), "file_edit" ); hint = i18n("Opens the marked file for editing"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Reso&lve..."), 0, - this, TQT_SLOT( slotResolve() ), + this, TQ_SLOT( slotResolve() ), actionCollection(), "file_resolve" ); hint = i18n("Opens the resolve dialog with the selected file"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Commit..."), "vcs_commit", Key_NumberSign, - this, TQT_SLOT( slotCommit() ), + this, TQ_SLOT( slotCommit() ), actionCollection(), "file_commit" ); hint = i18n("Commits the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Add to Repository..."), "vcs_add", Key_Insert, - this, TQT_SLOT( slotAdd() ), + this, TQ_SLOT( slotAdd() ), actionCollection(), "file_add" ); hint = i18n("Adds (cvs add) the selected files to the repository"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Add &Binary..."), 0, - this, TQT_SLOT( slotAddBinary() ), + this, TQ_SLOT( slotAddBinary() ), actionCollection(), "file_add_binary" ); hint = i18n("Adds (cvs -kb add) the selected files as binaries to the repository"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Remove From Repository..."), "vcs_remove", Key_Delete, - this, TQT_SLOT( slotRemove() ), + this, TQ_SLOT( slotRemove() ), actionCollection(), "file_remove" ); hint = i18n("Removes (cvs remove) the selected files from the repository"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Rever&t"), 0, - this, TQT_SLOT( slotRevert() ), + this, TQ_SLOT( slotRevert() ), actionCollection(), "file_revert_local_changes" ); hint = i18n("Reverts (cvs update -C) the selected files (only cvs 1.11)"); action->setToolTip( hint ); @@ -315,14 +315,14 @@ void CervisiaPart::setupActions() // context menu only action = new TDEAction( i18n("&Properties"), 0, - this, TQT_SLOT( slotFileProperties() ), + this, TQ_SLOT( slotFileProperties() ), actionCollection(), "file_properties" ); // // View Menu // action = new TDEAction( i18n("Stop"), "process-stop", Key_Escape, - protocol, TQT_SLOT(cancelJob()), + protocol, TQ_SLOT(cancelJob()), actionCollection(), "stop_job" ); action->setEnabled( false ); hint = i18n("Stops any running sub-processes"); @@ -331,7 +331,7 @@ void CervisiaPart::setupActions() action = new TDEAction( i18n("Browse &Log..."), CTRL+Key_L, - this, TQT_SLOT(slotBrowseLog()), + this, TQ_SLOT(slotBrowseLog()), actionCollection(), "view_log" ); hint = i18n("Shows the revision tree of the selected file"); action->setToolTip( hint ); @@ -339,46 +339,46 @@ void CervisiaPart::setupActions() #if 0 action = new TDEAction( i18n("Browse Multi-File Log..."), 0, - this, TQT_SLOT(slotBrowseMultiLog()), + this, TQ_SLOT(slotBrowseMultiLog()), actionCollection() ); #endif action = new TDEAction( i18n("&Annotate..."), CTRL+Key_A, - this, TQT_SLOT(slotAnnotate()), + this, TQ_SLOT(slotAnnotate()), actionCollection(), "view_annotate" ); hint = i18n("Shows a blame-annotated view of the selected file"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Difference to Repository (BASE)..."), "vcs_diff", CTRL+Key_D, - this, TQT_SLOT(slotDiffBase()), + this, TQ_SLOT(slotDiffBase()), actionCollection(), "view_diff_base" ); hint = i18n("Shows the differences of the selected file to the checked out version (tag BASE)"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Difference to Repository (HEAD)..."), "vcs_diff", CTRL+Key_H, - this, TQT_SLOT(slotDiffHead()), + this, TQ_SLOT(slotDiffHead()), actionCollection(), "view_diff_head" ); hint = i18n("Shows the differences of the selected file to the newest version in the repository (tag HEAD)"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Last &Change..."), 0, - this, TQT_SLOT(slotLastChange()), + this, TQ_SLOT(slotLastChange()), actionCollection(), "view_last_change" ); hint = i18n("Shows the differences between the last two revisions of the selected file"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&History..."), 0, - this, TQT_SLOT(slotHistory()), + this, TQ_SLOT(slotHistory()), actionCollection(), "view_history" ); hint = i18n("Shows the CVS history as reported by the server"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Unfold File Tree"), 0, - this , TQT_SLOT(slotUnfoldTree()), + this , TQ_SLOT(slotUnfoldTree()), actionCollection(), "view_unfold_tree" ); hint = i18n("Opens all branches of the file tree"); @@ -386,7 +386,7 @@ void CervisiaPart::setupActions() action->setWhatsThis( hint ); action = new TDEAction( i18n("&Fold File Tree"), 0, - this, TQT_SLOT(slotFoldTree()), + this, TQ_SLOT(slotFoldTree()), actionCollection(), "view_fold_tree" ); hint = i18n("Closes all branches of the file tree"); action->setToolTip( hint ); @@ -396,98 +396,98 @@ void CervisiaPart::setupActions() // Advanced Menu // action = new TDEAction( i18n("&Tag/Branch..."), 0, - this, TQT_SLOT(slotCreateTag()), + this, TQ_SLOT(slotCreateTag()), actionCollection(), "create_tag" ); hint = i18n("Creates a tag or branch for the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Delete Tag..."), 0, - this, TQT_SLOT(slotDeleteTag()), + this, TQ_SLOT(slotDeleteTag()), actionCollection(), "delete_tag" ); hint = i18n("Deletes a tag from the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Update to Tag/Date..."), 0, - this, TQT_SLOT(slotUpdateToTag()), + this, TQ_SLOT(slotUpdateToTag()), actionCollection(), "update_to_tag" ); hint = i18n("Updates the selected files to a given tag, branch or date"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Update to &HEAD"), 0, - this, TQT_SLOT(slotUpdateToHead()), + this, TQ_SLOT(slotUpdateToHead()), actionCollection(), "update_to_head" ); hint = i18n("Updates the selected files to the HEAD revision"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Merge..."), 0, - this, TQT_SLOT(slotMerge()), + this, TQ_SLOT(slotMerge()), actionCollection(), "merge" ); hint = i18n("Merges a branch or a set of modifications into the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Add Watch..."), 0, - this, TQT_SLOT(slotAddWatch()), + this, TQ_SLOT(slotAddWatch()), actionCollection(), "add_watch" ); hint = i18n("Adds a watch for the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Remove Watch..."), 0, - this, TQT_SLOT(slotRemoveWatch()), + this, TQ_SLOT(slotRemoveWatch()), actionCollection(), "remove_watch" ); hint = i18n("Removes a watch from the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Show &Watchers"), 0, - this, TQT_SLOT(slotShowWatchers()), + this, TQ_SLOT(slotShowWatchers()), actionCollection(), "show_watchers" ); hint = i18n("Shows the watchers of the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Ed&it Files"), 0, - this, TQT_SLOT(slotEdit()), + this, TQ_SLOT(slotEdit()), actionCollection(), "edit_files" ); hint = i18n("Edits (cvs edit) the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("U&nedit Files"), 0, - this, TQT_SLOT(slotUnedit()), + this, TQ_SLOT(slotUnedit()), actionCollection(), "unedit_files" ); hint = i18n("Unedits (cvs unedit) the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Show &Editors"), 0, - this, TQT_SLOT(slotShowEditors()), + this, TQ_SLOT(slotShowEditors()), actionCollection(), "show_editors" ); hint = i18n("Shows the editors of the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Lock Files"), 0, - this, TQT_SLOT(slotLock()), + this, TQ_SLOT(slotLock()), actionCollection(), "lock_files" ); hint = i18n("Locks the selected files, so that others cannot modify them"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Unl&ock Files"), 0, - this, TQT_SLOT(slotUnlock()), + this, TQ_SLOT(slotUnlock()), actionCollection(), "unlock_files" ); hint = i18n("Unlocks the selected files"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Create &Patch Against Repository..."), 0, - this, TQT_SLOT(slotMakePatch()), + this, TQ_SLOT(slotMakePatch()), actionCollection(), "make_patch" ); hint = i18n("Creates a patch from the modifications in your sandbox"); action->setToolTip( hint ); @@ -497,25 +497,25 @@ void CervisiaPart::setupActions() // Repository Menu // action = new TDEAction( i18n("&Create..."), 0, - this, TQT_SLOT(slotCreateRepository()), + this, TQ_SLOT(slotCreateRepository()), actionCollection(), "repository_create" ); action = new TDEAction( i18n("&Checkout..."), 0, - this, TQT_SLOT(slotCheckout()), + this, TQ_SLOT(slotCheckout()), actionCollection(), "repository_checkout" ); hint = i18n("Allows you to checkout a module from a repository"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Import..."), 0, - this, TQT_SLOT(slotImport()), + this, TQ_SLOT(slotImport()), actionCollection(), "repository_import" ); hint = i18n("Allows you to import a module into a repository"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("&Repositories..."), 0, - this, TQT_SLOT(slotRepositories()), + this, TQ_SLOT(slotRepositories()), actionCollection(), "show_repositories" ); hint = i18n("Configures a list of repositories you regularly use"); action->setToolTip( hint ); @@ -525,7 +525,7 @@ void CervisiaPart::setupActions() // Settings menu // TDEToggleAction* toggaction = new TDEToggleAction( i18n("Hide All &Files"), 0, - this, TQT_SLOT(slotHideFiles()), + this, TQ_SLOT(slotHideFiles()), actionCollection(), "settings_hide_files" ); toggaction->setCheckedState(i18n("Show All &Files")); hint = i18n("Determines whether only folders are shown"); @@ -533,7 +533,7 @@ void CervisiaPart::setupActions() toggaction->setWhatsThis( hint ); toggaction = new TDEToggleAction( i18n("Hide Unmodified Files"), 0, - this, TQT_SLOT(slotHideUpToDate()), + this, TQ_SLOT(slotHideUpToDate()), actionCollection(), "settings_hide_uptodate" ); toggaction->setCheckedState(i18n("Show Unmodified Files")); hint = i18n("Determines whether files with status up-to-date or " @@ -542,7 +542,7 @@ void CervisiaPart::setupActions() toggaction->setWhatsThis( hint ); toggaction = new TDEToggleAction( i18n("Hide Removed Files"), 0, - this, TQT_SLOT(slotHideRemoved()), + this, TQ_SLOT(slotHideRemoved()), actionCollection(), "settings_hide_removed" ); toggaction->setCheckedState(i18n("Show Removed Files")); hint = i18n("Determines whether removed files are hidden"); @@ -550,7 +550,7 @@ void CervisiaPart::setupActions() toggaction->setWhatsThis( hint ); toggaction = new TDEToggleAction( i18n("Hide Non-CVS Files"), 0, - this, TQT_SLOT(slotHideNotInCVS()), + this, TQ_SLOT(slotHideNotInCVS()), actionCollection(), "settings_hide_notincvs" ); toggaction->setCheckedState(i18n("Show Non-CVS Files")); hint = i18n("Determines whether files not in CVS are hidden"); @@ -558,7 +558,7 @@ void CervisiaPart::setupActions() toggaction->setWhatsThis( hint ); toggaction = new TDEToggleAction( i18n("Hide Empty Folders"), 0, - this, TQT_SLOT(slotHideEmptyDirectories()), + this, TQ_SLOT(slotHideEmptyDirectories()), actionCollection(), "settings_hide_empty_directories" ); toggaction->setCheckedState(i18n("Show Empty Folders")); hint = i18n("Determines whether folders without visible entries are hidden"); @@ -566,42 +566,42 @@ void CervisiaPart::setupActions() toggaction->setWhatsThis( hint ); action = new TDEToggleAction( i18n("Create &Folders on Update"), 0, - this, TQT_SLOT(slotCreateDirs()), + this, TQ_SLOT(slotCreateDirs()), actionCollection(), "settings_create_dirs" ); hint = i18n("Determines whether updates create folders"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEToggleAction( i18n("&Prune Empty Folders on Update"), 0, - this, TQT_SLOT(slotPruneDirs()), + this, TQ_SLOT(slotPruneDirs()), actionCollection(), "settings_prune_dirs" ); hint = i18n("Determines whether updates remove empty folders"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEToggleAction( i18n("&Update Recursively"), 0, - this, TQT_SLOT(slotUpdateRecursive()), + this, TQ_SLOT(slotUpdateRecursive()), actionCollection(), "settings_update_recursively" ); hint = i18n("Determines whether updates are recursive"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEToggleAction( i18n("C&ommit && Remove Recursively"), 0, - this, TQT_SLOT(slotCommitRecursive()), + this, TQ_SLOT(slotCommitRecursive()), actionCollection(), "settings_commit_recursively" ); hint = i18n("Determines whether commits and removes are recursive"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEToggleAction( i18n("Do cvs &edit Automatically When Necessary"), 0, - this, TQT_SLOT(slotDoCVSEdit()), + this, TQ_SLOT(slotDoCVSEdit()), actionCollection(), "settings_do_cvs_edit" ); hint = i18n("Determines whether automatic cvs editing is active"); action->setToolTip( hint ); action->setWhatsThis( hint ); action = new TDEAction( i18n("Configure Cervisia..."), "configure", 0, - this, TQT_SLOT(slotConfigure()), + this, TQ_SLOT(slotConfigure()), actionCollection(), "configure_cervisia" ); hint = i18n("Allows you to configure the Cervisia KPart"); action->setToolTip( hint ); @@ -610,11 +610,11 @@ void CervisiaPart::setupActions() // // Help Menu // - action = KStdAction::help( this, TQT_SLOT(slotHelp()), + action = KStdAction::help( this, TQ_SLOT(slotHelp()), actionCollection() ); action = new TDEAction( i18n("CVS &Manual"), 0, - this, TQT_SLOT(slotCVSInfo()), + this, TQ_SLOT(slotCVSInfo()), actionCollection(), "help_cvs_manual" ); hint = i18n("Opens the help browser with the CVS documentation"); action->setToolTip( hint ); @@ -624,11 +624,11 @@ void CervisiaPart::setupActions() // Folder context menu // toggaction = new TDEToggleAction( i18n("Unfold Folder"), 0, - this, TQT_SLOT( slotUnfoldFolder() ), + this, TQ_SLOT( slotUnfoldFolder() ), actionCollection(), "unfold_folder" ); toggaction->setCheckedState(i18n("Fold Folder")); - //action = KStdAction::aboutApp( this, TQT_SLOT(aboutCervisia()), + //action = KStdAction::aboutApp( this, TQ_SLOT(aboutCervisia()), // actionCollection(), "help_about_cervisia" ); } @@ -881,9 +881,9 @@ void CervisiaPart::slotStatus() if( protocol->startJob(true) ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(receivedLine(TQString)), update, TQT_SLOT(processUpdateLine(TQString)) ); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), update, TQT_SLOT(finishJob(bool, int)) ); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(receivedLine(TQString)), update, TQ_SLOT(processUpdateLine(TQString)) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), update, TQ_SLOT(finishJob(bool, int)) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), this, TQ_SLOT(slotJobFinished()) ); } } @@ -992,8 +992,8 @@ void CervisiaPart::slotCommit() { m_jobType = Commit; showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), update, TQT_SLOT(finishJob(bool, int)) ); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), update, TQ_SLOT(finishJob(bool, int)) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), this, TQ_SLOT(slotJobFinished()) ); } } } @@ -1060,9 +1060,9 @@ void CervisiaPart::updateSandbox(const TQString &extraopt) if( protocol->startJob(true) ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(receivedLine(TQString)), update, TQT_SLOT(processUpdateLine(TQString)) ); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), update, TQT_SLOT(finishJob(bool, int)) ); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(receivedLine(TQString)), update, TQ_SLOT(processUpdateLine(TQString)) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), update, TQ_SLOT(finishJob(bool, int)) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), this, TQ_SLOT(slotJobFinished()) ); } } @@ -1108,10 +1108,10 @@ void CervisiaPart::addOrRemove(AddRemoveDialog::ActionType action) if (protocol->startJob()) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - update, TQT_SLOT(finishJob(bool, int)) ); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + update, TQ_SLOT(finishJob(bool, int)) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } } @@ -1211,8 +1211,8 @@ void CervisiaPart::addOrRemoveWatch(WatchDialog::ActionType action) if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } } @@ -1247,8 +1247,8 @@ void CervisiaPart::slotEdit() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1267,8 +1267,8 @@ void CervisiaPart::slotUnedit() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1287,8 +1287,8 @@ void CervisiaPart::slotLock() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1307,8 +1307,8 @@ void CervisiaPart::slotUnlock() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1327,8 +1327,8 @@ void CervisiaPart::slotShowEditors() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1394,8 +1394,8 @@ void CervisiaPart::slotImport() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1414,8 +1414,8 @@ void CervisiaPart::slotCreateRepository() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1437,8 +1437,8 @@ void CervisiaPart::slotCheckout() if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } @@ -1487,8 +1487,8 @@ void CervisiaPart::createOrDeleteTag(TagDialog::ActionType action) if( protocol->startJob() ) { showJobStart(cmdline); - connect( protocol, TQT_SIGNAL(jobFinished(bool, int)), - this, TQT_SLOT(slotJobFinished()) ); + connect( protocol, TQ_SIGNAL(jobFinished(bool, int)), + this, TQ_SLOT(slotJobFinished()) ); } } } @@ -1687,8 +1687,8 @@ void CervisiaPart::slotJobFinished() emit setStatusBarText( i18n("Done") ); updateActions(); - disconnect( protocol, TQT_SIGNAL(receivedLine(TQString)), - update, TQT_SLOT(processUpdateLine(TQString)) ); + disconnect( protocol, TQ_SIGNAL(receivedLine(TQString)), + update, TQ_SLOT(processUpdateLine(TQString)) ); if( m_jobType == Commit ) { diff --git a/cervisia/cervisiashell.cpp b/cervisia/cervisiashell.cpp index 7cc0cb17..b267bb75 100644 --- a/cervisia/cervisiashell.cpp +++ b/cervisia/cervisiashell.cpp @@ -62,15 +62,15 @@ CervisiaShell::CervisiaShell( const char *name ) // Magic needed for status texts // actionCollection()->setHighlightingEnabled(true); - connect( actionCollection(), TQT_SIGNAL( actionStatusText(const TQString &) ), - statusBar(), TQT_SLOT( message(const TQString &) ) ); - connect( actionCollection(), TQT_SIGNAL( clearStatusText() ), - statusBar(), TQT_SLOT( clear() ) ); + connect( actionCollection(), TQ_SIGNAL( actionStatusText(const TQString &) ), + statusBar(), TQ_SLOT( message(const TQString &) ) ); + connect( actionCollection(), TQ_SIGNAL( clearStatusText() ), + statusBar(), TQ_SLOT( clear() ) ); m_part->actionCollection()->setHighlightingEnabled(true); - connect( m_part->actionCollection(), TQT_SIGNAL( actionStatusText(const TQString &) ), - statusBar(), TQT_SLOT( message(const TQString &) ) ); - connect( m_part->actionCollection(), TQT_SIGNAL( clearStatusText() ), - statusBar(), TQT_SLOT( clear() ) ); + connect( m_part->actionCollection(), TQ_SIGNAL( actionStatusText(const TQString &) ), + statusBar(), TQ_SLOT( message(const TQString &) ) ); + connect( m_part->actionCollection(), TQ_SIGNAL( clearStatusText() ), + statusBar(), TQ_SLOT( clear() ) ); createGUI( m_part ); @@ -92,19 +92,19 @@ void CervisiaShell::setupActions() { setStandardToolBarMenuEnabled( true ); - TDEAction *action = KStdAction::configureToolbars( this, TQT_SLOT(slotConfigureToolBars()), + TDEAction *action = KStdAction::configureToolbars( this, TQ_SLOT(slotConfigureToolBars()), actionCollection() ); TQString hint = i18n("Allows you to configure the toolbar"); action->setToolTip( hint ); action->setWhatsThis( hint ); - action = KStdAction::keyBindings( this, TQT_SLOT(slotConfigureKeys()), + action = KStdAction::keyBindings( this, TQ_SLOT(slotConfigureKeys()), actionCollection() ); hint = i18n("Allows you to customize the keybindings"); action->setToolTip( hint ); action->setWhatsThis( hint ); - action = KStdAction::quit( kapp, TQT_SLOT( quit() ), actionCollection() ); + action = KStdAction::quit( kapp, TQ_SLOT( quit() ), actionCollection() ); hint = i18n("Exits Cervisia"); action->setToolTip( hint ); action->setWhatsThis( hint ); @@ -161,7 +161,7 @@ void CervisiaShell::slotConfigureToolBars() { saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); KEditToolbar dlg( factory() ); - connect(&dlg,TQT_SIGNAL(newToolbarConfig()),this,TQT_SLOT(slotNewToolbarConfig())); + connect(&dlg,TQ_SIGNAL(newToolbarConfig()),this,TQ_SLOT(slotNewToolbarConfig())); dlg.exec(); } diff --git a/cervisia/checkoutdlg.cpp b/cervisia/checkoutdlg.cpp index 1cce6c11..2a8175c4 100644 --- a/cervisia/checkoutdlg.cpp +++ b/cervisia/checkoutdlg.cpp @@ -84,8 +84,8 @@ CheckoutDialog::CheckoutDialog(TDEConfig& cfg, CvsService_stub* service, module_combo = new TQComboBox(true, mainWidget); TQPushButton* module_button = new TQPushButton(i18n("Fetch &List"), mainWidget); - connect( module_button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(moduleButtonClicked()) ); + connect( module_button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(moduleButtonClicked()) ); TQBoxLayout* module_layout = new TQHBoxLayout(); grid->addLayout(module_layout, 1, 1); @@ -98,8 +98,8 @@ CheckoutDialog::CheckoutDialog(TDEConfig& cfg, CvsService_stub* service, branchCombo = new TQComboBox(true, mainWidget); TQPushButton* branchButton = new TQPushButton(i18n("Fetch &List"), mainWidget); - connect( branchButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(branchButtonClicked()) ); + connect( branchButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(branchButtonClicked()) ); TQBoxLayout* branchLayout = new TQHBoxLayout(); grid->addLayout(branchLayout, 2, 1); @@ -110,8 +110,8 @@ CheckoutDialog::CheckoutDialog(TDEConfig& cfg, CvsService_stub* service, mainWidget); grid->addWidget(branch_label, 2, 0, AlignLeft | AlignVCenter); - connect( branchCombo, TQT_SIGNAL( textChanged( const TQString&)), - this, TQT_SLOT( branchTextChanged() )); + connect( branchCombo, TQ_SIGNAL( textChanged( const TQString&)), + this, TQ_SLOT( branchTextChanged() )); recursive_box = new TQCheckBox(i18n("Re&cursive checkout"), mainWidget); grid->addMultiCellWidget(recursive_box, 6, 6, 0, 1); @@ -124,12 +124,12 @@ CheckoutDialog::CheckoutDialog(TDEConfig& cfg, CvsService_stub* service, KURLCompletion* comp = new KURLCompletion(); workdir_edit->setCompletionObject(comp); workdir_edit->setAutoDeleteCompletionObject(true); - connect( workdir_edit, TQT_SIGNAL(returnPressed(const TQString&)), - comp, TQT_SLOT(addItem(const TQString&)) ); + connect( workdir_edit, TQ_SIGNAL(returnPressed(const TQString&)), + comp, TQ_SLOT(addItem(const TQString&)) ); TQPushButton* dir_button = new TQPushButton("...", mainWidget); - connect( dir_button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(dirButtonClicked()) ); + connect( dir_button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(dirButtonClicked()) ); dir_button->setFixedWidth(30); TQBoxLayout* workdir_layout = new TQHBoxLayout(); diff --git a/cervisia/commitdlg.cpp b/cervisia/commitdlg.cpp index 7a25f430..8dd32db5 100644 --- a/cervisia/commitdlg.cpp +++ b/cervisia/commitdlg.cpp @@ -71,10 +71,10 @@ CommitDialog::CommitDialog(TDEConfig& cfg, CvsService_stub* service, m_fileList->setFullWidth(true); m_fileList->header()->hide(); textlabel->setBuddy(m_fileList); - connect( m_fileList, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - this, TQT_SLOT(fileSelected(TQListViewItem*))); - connect( m_fileList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(fileHighlighted()) ); + connect( m_fileList, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + this, TQ_SLOT(fileSelected(TQListViewItem*))); + connect( m_fileList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(fileHighlighted()) ); layout->addWidget(m_fileList, 5); TQLabel *archivelabel = new TQLabel(i18n("Older &messages:"), mainWidget); @@ -82,7 +82,7 @@ CommitDialog::CommitDialog(TDEConfig& cfg, CvsService_stub* service, combo = new TQComboBox(mainWidget); archivelabel->setBuddy(combo); - connect( combo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(comboActivated(int)) ); + connect( combo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(comboActivated(int)) ); // make sure that combobox is smaller than the screen combo->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed)); layout->addWidget(combo); @@ -99,14 +99,14 @@ CommitDialog::CommitDialog(TDEConfig& cfg, CvsService_stub* service, m_useTemplateChk = new TQCheckBox(i18n("Use log message &template"), mainWidget); layout->addWidget(m_useTemplateChk); - connect( m_useTemplateChk, TQT_SIGNAL(clicked()), this, TQT_SLOT(useTemplateClicked()) ); + connect( m_useTemplateChk, TQ_SIGNAL(clicked()), this, TQ_SLOT(useTemplateClicked()) ); checkForTemplateFile(); setButtonGuiItem(User1, KGuiItem(i18n("&Diff"), "vcs_diff")); enableButton(User1, false); - connect( this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(diffClicked()) ); + connect( this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(diffClicked()) ); setHelp("commitingfiles"); diff --git a/cervisia/cvsinitdlg.cpp b/cervisia/cvsinitdlg.cpp index db39be24..3b1b308a 100644 --- a/cervisia/cvsinitdlg.cpp +++ b/cervisia/cvsinitdlg.cpp @@ -58,10 +58,10 @@ CvsInitDialog::CvsInitDialog(TQWidget* parent, const char* name) dirButton->setFixedWidth(30); dirLayout->addWidget(dirButton); - connect( dirButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(dirButtonClicked()) ); - connect( m_directoryEdit, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(lineEditTextChanged(const TQString&))); + connect( dirButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(dirButtonClicked()) ); + connect( m_directoryEdit, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(lineEditTextChanged(const TQString&))); enableButton(Ok, false); diff --git a/cervisia/cvsservice/cvsjob.cpp b/cervisia/cvsservice/cvsjob.cpp index 24f42f48..46674f66 100644 --- a/cervisia/cvsservice/cvsjob.cpp +++ b/cervisia/cvsservice/cvsjob.cpp @@ -176,12 +176,12 @@ bool CvsJob::execute() if( !d->directory.isEmpty() ) d->childproc->setWorkingDirectory(d->directory); - connect(d->childproc, TQT_SIGNAL(processExited(TDEProcess*)), - TQT_SLOT(slotProcessExited())); - connect(d->childproc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), - TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); - connect(d->childproc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), - TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)) ); + connect(d->childproc, TQ_SIGNAL(processExited(TDEProcess*)), + TQ_SLOT(slotProcessExited())); + connect(d->childproc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); + connect(d->childproc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), + TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)) ); kdDebug(8051) << "Execute cvs command: " << cvsCommand() << endl; diff --git a/cervisia/cvsservice/repository.cpp b/cervisia/cvsservice/repository.cpp index 74635a84..cd983230 100644 --- a/cervisia/cvsservice/repository.cpp +++ b/cervisia/cvsservice/repository.cpp @@ -64,8 +64,8 @@ Repository::Repository() // so we watch it for changes d->configFileName = locate("config", "cvsservicerc"); KDirWatch* fileWatcher = new KDirWatch(this); - connect(fileWatcher, TQT_SIGNAL(dirty(const TQString&)), - this, TQT_SLOT(slotConfigDirty(const TQString&))); + connect(fileWatcher, TQ_SIGNAL(dirty(const TQString&)), + this, TQ_SLOT(slotConfigDirty(const TQString&))); fileWatcher->addFile(d->configFileName); } @@ -83,8 +83,8 @@ Repository::Repository(const TQString& repository) // so we watch it for changes d->configFileName = locate("config", "cvsservicerc"); KDirWatch* fileWatcher = new KDirWatch(this); - connect(fileWatcher, TQT_SIGNAL(dirty(const TQString&)), - this, TQT_SLOT(slotConfigDirty(const TQString&))); + connect(fileWatcher, TQ_SIGNAL(dirty(const TQString&)), + this, TQ_SLOT(slotConfigDirty(const TQString&))); fileWatcher->addFile(d->configFileName); } diff --git a/cervisia/cvsservice/sshagent.cpp b/cervisia/cvsservice/sshagent.cpp index 6fbf0cb1..9b284530 100644 --- a/cervisia/cvsservice/sshagent.cpp +++ b/cervisia/cvsservice/sshagent.cpp @@ -99,10 +99,10 @@ bool SshAgent::addSshIdentities() proc << "ssh-add"; - connect(&proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), - TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); - connect(&proc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), - TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int))); + connect(&proc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); + connect(&proc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), + TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int))); proc.start(TDEProcess::DontCare, TDEProcess::AllOutput); @@ -217,12 +217,12 @@ bool SshAgent::startSshAgent() proc << "ssh-agent"; - connect(&proc, TQT_SIGNAL(processExited(TDEProcess*)), - TQT_SLOT(slotProcessExited(TDEProcess*))); - connect(&proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), - TQT_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); - connect(&proc, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), - TQT_SLOT(slotReceivedStderr(TDEProcess*, char*, int)) ); + connect(&proc, TQ_SIGNAL(processExited(TDEProcess*)), + TQ_SLOT(slotProcessExited(TDEProcess*))); + connect(&proc, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + TQ_SLOT(slotReceivedStdout(TDEProcess*, char*, int))); + connect(&proc, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), + TQ_SLOT(slotReceivedStderr(TDEProcess*, char*, int)) ); proc.start(TDEProcess::NotifyOnExit, TDEProcess::All); diff --git a/cervisia/diffdlg.cpp b/cervisia/diffdlg.cpp index 41116256..54f34fc7 100644 --- a/cervisia/diffdlg.cpp +++ b/cervisia/diffdlg.cpp @@ -81,25 +81,25 @@ DiffDialog::DiffDialog(TDEConfig& cfg, TQWidget *parent, const char *name, bool syncbox = new TQCheckBox(i18n("Synchronize scroll bars"), mainWidget); syncbox->setChecked(true); - connect( syncbox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(toggleSynchronize(bool)) ); + connect( syncbox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(toggleSynchronize(bool)) ); itemscombo = new TQComboBox(mainWidget); itemscombo->insertItem(TQString()); - connect( itemscombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(comboActivated(int)) ); + connect( itemscombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(comboActivated(int)) ); nofnlabel = new TQLabel(mainWidget); // avoids auto resize when the text is changed nofnlabel->setMinimumWidth(fontMetrics().width(i18n("%1 differences").arg(10000))); backbutton = new TQPushButton(TQString::fromLatin1("&<<"), mainWidget); - connect( backbutton, TQT_SIGNAL(clicked()), TQT_SLOT(backClicked()) ); + connect( backbutton, TQ_SIGNAL(clicked()), TQ_SLOT(backClicked()) ); forwbutton = new TQPushButton(TQString::fromLatin1("&>>"), mainWidget); - connect( forwbutton, TQT_SIGNAL(clicked()), TQT_SLOT(forwClicked()) ); + connect( forwbutton, TQ_SIGNAL(clicked()), TQ_SLOT(forwClicked()) ); - connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(saveAsClicked()) ); + connect( this, TQ_SIGNAL(user1Clicked()), TQ_SLOT(saveAsClicked()) ); TQBoxLayout *buttonlayout = new TQHBoxLayout(layout); buttonlayout->addWidget(syncbox, 0); diff --git a/cervisia/diffview.cpp b/cervisia/diffview.cpp index d246ca7b..21408b5d 100644 --- a/cervisia/diffview.cpp +++ b/cervisia/diffview.cpp @@ -103,14 +103,14 @@ void DiffView::setPartner(DiffView *other) partner = other; if (partner) { - connect( verticalScrollBar(), TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(vertPositionChanged(int)) ); - connect( verticalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - TQT_SLOT(vertPositionChanged(int)) ); - connect( horizontalScrollBar(), TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(horzPositionChanged(int)) ); - connect( horizontalScrollBar(), TQT_SIGNAL(sliderMoved(int)), - TQT_SLOT(horzPositionChanged(int)) ); + connect( verticalScrollBar(), TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(vertPositionChanged(int)) ); + connect( verticalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + TQ_SLOT(vertPositionChanged(int)) ); + connect( horizontalScrollBar(), TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(horzPositionChanged(int)) ); + connect( horizontalScrollBar(), TQ_SIGNAL(sliderMoved(int)), + TQ_SLOT(horzPositionChanged(int)) ); } } diff --git a/cervisia/editwithmenu.cpp b/cervisia/editwithmenu.cpp index 6be3a85e..61bddf44 100644 --- a/cervisia/editwithmenu.cpp +++ b/cervisia/editwithmenu.cpp @@ -50,7 +50,7 @@ EditWithMenu::EditWithMenu(const KURL& url, TQWidget* parent) { int id = m_menu->insertItem(SmallIcon((*it)->icon()), (*it)->name(), - this, TQT_SLOT(itemActivated(int))); + this, TQ_SLOT(itemActivated(int))); m_menu->setItemParameter(id, i); } } diff --git a/cervisia/historydlg.cpp b/cervisia/historydlg.cpp index e8bd8159..539b5c78 100644 --- a/cervisia/historydlg.cpp +++ b/cervisia/historydlg.cpp @@ -188,32 +188,32 @@ HistoryDialog::HistoryDialog(TDEConfig& cfg, TQWidget *parent, const char *name) dirname_edit = new KLineEdit(mainWidget); dirname_edit->setEnabled(false); - connect( onlyuser_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(toggled(bool)) ); - connect( onlyfilenames_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(toggled(bool)) ); - connect( onlydirnames_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(toggled(bool)) ); - connect( commit_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(choiceChanged()) ); - connect( checkout_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(choiceChanged()) ); - connect( tag_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(choiceChanged()) ); - connect( other_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(choiceChanged()) ); - connect( onlyuser_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(choiceChanged()) ); - connect( onlyfilenames_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(choiceChanged()) ); - connect( onlydirnames_box, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(choiceChanged()) ); - connect( user_edit, TQT_SIGNAL(returnPressed()), - this, TQT_SLOT(choiceChanged()) ); - connect( filename_edit, TQT_SIGNAL(returnPressed()), - this, TQT_SLOT(choiceChanged()) ); - connect( dirname_edit, TQT_SIGNAL(returnPressed()), - this, TQT_SLOT(choiceChanged()) ); + connect( onlyuser_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(toggled(bool)) ); + connect( onlyfilenames_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(toggled(bool)) ); + connect( onlydirnames_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(toggled(bool)) ); + connect( commit_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(choiceChanged()) ); + connect( checkout_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(choiceChanged()) ); + connect( tag_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(choiceChanged()) ); + connect( other_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(choiceChanged()) ); + connect( onlyuser_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(choiceChanged()) ); + connect( onlyfilenames_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(choiceChanged()) ); + connect( onlydirnames_box, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(choiceChanged()) ); + connect( user_edit, TQ_SIGNAL(returnPressed()), + this, TQ_SLOT(choiceChanged()) ); + connect( filename_edit, TQ_SIGNAL(returnPressed()), + this, TQ_SLOT(choiceChanged()) ); + connect( dirname_edit, TQ_SIGNAL(returnPressed()), + this, TQ_SLOT(choiceChanged()) ); TQGridLayout *grid = new TQGridLayout(layout); grid->setColStretch(0, 1); diff --git a/cervisia/logdlg.cpp b/cervisia/logdlg.cpp index 11086c9a..f754e849 100644 --- a/cervisia/logdlg.cpp +++ b/cervisia/logdlg.cpp @@ -70,8 +70,8 @@ LogDialog::LogDialog(TDEConfig& cfg, TQWidget *parent, const char *name) setMainWidget(splitter); tree = new LogTreeView(this); - connect( tree, TQT_SIGNAL(revisionClicked(TQString,bool)), - this, TQT_SLOT(revisionSelected(TQString,bool)) ); + connect( tree, TQ_SIGNAL(revisionClicked(TQString,bool)), + this, TQ_SLOT(revisionSelected(TQString,bool)) ); TQWidget* listWidget = new TQWidget(this); TQVBoxLayout* listLayout = new TQVBoxLayout(listWidget); @@ -87,20 +87,20 @@ LogDialog::LogDialog(TDEConfig& cfg, TQWidget *parent, const char *name) searchLayout->addWidget(searchLabel); searchLayout->addWidget(searchLine, 1); - connect( list, TQT_SIGNAL(revisionClicked(TQString,bool)), - this, TQT_SLOT(revisionSelected(TQString,bool)) ); + connect( list, TQ_SIGNAL(revisionClicked(TQString,bool)), + this, TQ_SLOT(revisionSelected(TQString,bool)) ); plain = new LogPlainView(this); - connect( plain, TQT_SIGNAL(revisionClicked(TQString,bool)), - this, TQT_SLOT(revisionSelected(TQString,bool)) ); + connect( plain, TQ_SIGNAL(revisionClicked(TQString,bool)), + this, TQ_SLOT(revisionSelected(TQString,bool)) ); tabWidget = new TQTabWidget(splitter); tabWidget->addTab(tree, i18n("&Tree")); tabWidget->addTab(listWidget, i18n("&List")); tabWidget->addTab(plain, i18n("CVS &Output")); - connect(tabWidget, TQT_SIGNAL(currentChanged(TQWidget*)), - this, TQT_SLOT(tabChanged(TQWidget*))); + connect(tabWidget, TQ_SIGNAL(currentChanged(TQWidget*)), + this, TQ_SLOT(tabChanged(TQWidget*))); TQWhatsThis::add(tree, i18n("Choose revision A by clicking with the left " "mouse button,\nrevision B by clicking with " @@ -183,17 +183,17 @@ LogDialog::LogDialog(TDEConfig& cfg, TQWidget *parent, const char *name) TQWhatsThis::add(revbox[1], i18n("This revision is used as the second " "item of a Diff operation.")); - connect( tagcombo[0], TQT_SIGNAL(activated(int)), - this, TQT_SLOT(tagASelected(int)) ); - connect( tagcombo[1], TQT_SIGNAL(activated(int)), - this, TQT_SLOT(tagBSelected(int)) ); - - connect( this, TQT_SIGNAL(user1Clicked()), - this, TQT_SLOT(annotateClicked()) ); - connect( this, TQT_SIGNAL(user2Clicked()), - this, TQT_SLOT(diffClicked()) ); - connect( this, TQT_SIGNAL(user3Clicked()), - this, TQT_SLOT(findClicked()) ); + connect( tagcombo[0], TQ_SIGNAL(activated(int)), + this, TQ_SLOT(tagASelected(int)) ); + connect( tagcombo[1], TQ_SIGNAL(activated(int)), + this, TQ_SLOT(tagBSelected(int)) ); + + connect( this, TQ_SIGNAL(user1Clicked()), + this, TQ_SLOT(annotateClicked()) ); + connect( this, TQ_SIGNAL(user2Clicked()), + this, TQ_SLOT(diffClicked()) ); + connect( this, TQ_SIGNAL(user3Clicked()), + this, TQ_SLOT(findClicked()) ); setButtonGuiItem(Ok, KGuiItem(i18n("to view something", "&View"),"document-open")); setButtonGuiItem(Apply, KGuiItem(i18n("Create Patch..."))); diff --git a/cervisia/loglist.cpp b/cervisia/loglist.cpp index a5986f7e..46635c5c 100644 --- a/cervisia/loglist.cpp +++ b/cervisia/loglist.cpp @@ -124,8 +124,8 @@ LogListView::LogListView(TDEConfig& cfg, TQWidget *parent, const char *name) Cervisia::ToolTip* toolTip = new Cervisia::ToolTip(viewport()); - connect(toolTip, TQT_SIGNAL(queryToolTip(const TQPoint&, TQRect&, TQString&)), - this, TQT_SLOT(slotQueryToolTip(const TQPoint&, TQRect&, TQString&))); + connect(toolTip, TQ_SIGNAL(queryToolTip(const TQPoint&, TQRect&, TQString&)), + this, TQ_SLOT(slotQueryToolTip(const TQPoint&, TQRect&, TQString&))); // without this restoreLayout() can't change the column widths for (int i = 0; i < columns(); ++i) diff --git a/cervisia/logmessageedit.cpp b/cervisia/logmessageedit.cpp index bcc0e97d..567dda97 100644 --- a/cervisia/logmessageedit.cpp +++ b/cervisia/logmessageedit.cpp @@ -36,7 +36,7 @@ LogMessageEdit::LogMessageEdit(TQWidget* parent) completionObject(); // a mouse click stops the completion process - connect( this, TQT_SIGNAL(clicked(int, int)), TQT_SLOT(stopCompletion()) ); + connect( this, TQ_SIGNAL(clicked(int, int)), TQ_SLOT(stopCompletion()) ); } diff --git a/cervisia/logplainview.cpp b/cervisia/logplainview.cpp index 4cf78061..c8272648 100644 --- a/cervisia/logplainview.cpp +++ b/cervisia/logplainview.cpp @@ -109,10 +109,10 @@ void LogPlainView::searchText(int options, const TQString& pattern) { m_find = new KFind(pattern, options, this); - connect(m_find, TQT_SIGNAL(highlight(const TQString&, int, int)), - this, TQT_SLOT(searchHighlight(const TQString&, int, int))); - connect(m_find, TQT_SIGNAL(findNext()), - this, TQT_SLOT(findNext())); + connect(m_find, TQ_SIGNAL(highlight(const TQString&, int, int)), + this, TQ_SLOT(searchHighlight(const TQString&, int, int))); + connect(m_find, TQ_SIGNAL(findNext()), + this, TQ_SLOT(findNext())); m_findPos = 0; if( options & KFindDialog::FromCursor ) diff --git a/cervisia/logtree.cpp b/cervisia/logtree.cpp index 06899a10..aa5ff010 100644 --- a/cervisia/logtree.cpp +++ b/cervisia/logtree.cpp @@ -92,8 +92,8 @@ LogTreeView::LogTreeView(TQWidget *parent, const char *name) Cervisia::ToolTip* toolTip = new Cervisia::ToolTip(viewport()); - connect(toolTip, TQT_SIGNAL(queryToolTip(const TQPoint&, TQRect&, TQString&)), - this, TQT_SLOT(slotQueryToolTip(const TQPoint&, TQRect&, TQString&))); + connect(toolTip, TQ_SIGNAL(queryToolTip(const TQPoint&, TQRect&, TQString&)), + this, TQ_SLOT(slotQueryToolTip(const TQPoint&, TQRect&, TQString&))); } diff --git a/cervisia/mergedlg.cpp b/cervisia/mergedlg.cpp index 1157dd3b..63c3a653 100644 --- a/cervisia/mergedlg.cpp +++ b/cervisia/mergedlg.cpp @@ -54,8 +54,8 @@ MergeDialog::MergeDialog(CvsService_stub* service, branch_combo->setMinimumWidth(iComboBoxMinWidth); branch_button = new TQPushButton(i18n("Fetch &List"), mainWidget); - connect( branch_button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(branchButtonClicked()) ); + connect( branch_button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(branchButtonClicked()) ); TQBoxLayout *branchedit_layout = new TQHBoxLayout(layout); branchedit_layout->addSpacing(iWidgetIndent); @@ -74,8 +74,8 @@ MergeDialog::MergeDialog(CvsService_stub* service, tag2_combo->setMinimumWidth(iComboBoxMinWidth); tag_button = new TQPushButton(i18n("Fetch L&ist"), mainWidget); - connect( tag_button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(tagButtonClicked()) ); + connect( tag_button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(tagButtonClicked()) ); TQGridLayout *tagsedit_layout = new TQGridLayout(layout); tagsedit_layout->addColSpacing(0, iWidgetIndent); @@ -93,8 +93,8 @@ MergeDialog::MergeDialog(CvsService_stub* service, group->hide(); group->insert(bybranch_button); group->insert(bytags_button); - connect( group, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(toggled()) ); + connect( group, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(toggled()) ); // dis-/enable the widgets toggled(); diff --git a/cervisia/patchoptiondlg.cpp b/cervisia/patchoptiondlg.cpp index 43ba7fdf..64e0cb13 100644 --- a/cervisia/patchoptiondlg.cpp +++ b/cervisia/patchoptiondlg.cpp @@ -38,8 +38,8 @@ PatchOptionDialog::PatchOptionDialog(TQWidget* parent, const char* name) m_formatBtnGroup = new TQVButtonGroup(i18n("Output Format"), mainWidget, ""); topLayout->addWidget(m_formatBtnGroup); - connect(m_formatBtnGroup, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(formatChanged(int))); + connect(m_formatBtnGroup, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(formatChanged(int))); new TQRadioButton(i18n( "Context" ), m_formatBtnGroup); new TQRadioButton(i18n( "Normal" ), m_formatBtnGroup); diff --git a/cervisia/progressdlg.cpp b/cervisia/progressdlg.cpp index 42783adc..28ebb59d 100644 --- a/cervisia/progressdlg.cpp +++ b/cervisia/progressdlg.cpp @@ -125,7 +125,7 @@ bool ProgressDialog::execute() // we wait for 4 seconds (or the timeout set by the user) before we // force the dialog to show up d->timer = new TQTimer(this); - connect(d->timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeoutOccurred())); + connect(d->timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeoutOccurred())); d->timer->start(CervisiaSettings::timeout(), true); bool started = d->cvsJob->execute(); diff --git a/cervisia/protocolview.cpp b/cervisia/protocolview.cpp index f64ac0af..a5847fba 100644 --- a/cervisia/protocolview.cpp +++ b/cervisia/protocolview.cpp @@ -84,8 +84,8 @@ bool ProtocolView::startJob(bool isUpdateJob) processOutput(); // disconnect 3rd party slots from our signals - disconnect( TQT_SIGNAL(receivedLine(TQString)) ); - disconnect( TQT_SIGNAL(jobFinished(bool, int)) ); + disconnect( TQ_SIGNAL(receivedLine(TQString)) ); + disconnect( TQ_SIGNAL(jobFinished(bool, int)) ); return job->execute(); } @@ -95,7 +95,7 @@ TQPopupMenu* ProtocolView::createPopupMenu(const TQPoint &pos) { TQPopupMenu* menu = TQTextEdit::createPopupMenu(pos); - int id = menu->insertItem(i18n("Clear"), this, TQT_SLOT( clear() ), 0, -1, 0); + int id = menu->insertItem(i18n("Clear"), this, TQ_SLOT( clear() ), 0, -1, 0); if( length() == 0 ) menu->setItemEnabled(id, false); diff --git a/cervisia/qttableview.cpp b/cervisia/qttableview.cpp index 6c02819c..ea9f0c74 100644 --- a/cervisia/qttableview.cpp +++ b/cervisia/qttableview.cpp @@ -1451,12 +1451,12 @@ TQScrollBar *QtTableView::verticalScrollBar() const TQ_CHECK_PTR(sb); sb->setTracking( FALSE ); sb->setFocusPolicy( TQWidget::NoFocus ); - connect( sb, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(verSbValue(int))); - connect( sb, TQT_SIGNAL(sliderMoved(int)), - TQT_SLOT(verSbSliding(int))); - connect( sb, TQT_SIGNAL(sliderReleased()), - TQT_SLOT(verSbSlidingDone())); + connect( sb, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(verSbValue(int))); + connect( sb, TQ_SIGNAL(sliderMoved(int)), + TQ_SLOT(verSbSliding(int))); + connect( sb, TQ_SIGNAL(sliderReleased()), + TQ_SLOT(verSbSlidingDone())); sb->hide(); that->vScrollBar = sb; return sb; @@ -1482,12 +1482,12 @@ TQScrollBar *QtTableView::horizontalScrollBar() const sb->setFocusPolicy( TQWidget::NoFocus ); TQ_CHECK_PTR(sb); sb->setTracking( FALSE ); - connect( sb, TQT_SIGNAL(valueChanged(int)), - TQT_SLOT(horSbValue(int))); - connect( sb, TQT_SIGNAL(sliderMoved(int)), - TQT_SLOT(horSbSliding(int))); - connect( sb, TQT_SIGNAL(sliderReleased()), - TQT_SLOT(horSbSlidingDone())); + connect( sb, TQ_SIGNAL(valueChanged(int)), + TQ_SLOT(horSbValue(int))); + connect( sb, TQ_SIGNAL(sliderMoved(int)), + TQ_SLOT(horSbSliding(int))); + connect( sb, TQ_SIGNAL(sliderReleased()), + TQ_SLOT(horSbSlidingDone())); sb->hide(); that->hScrollBar = sb; return sb; diff --git a/cervisia/repositorydlg.cpp b/cervisia/repositorydlg.cpp index 60a35257..8171b9df 100644 --- a/cervisia/repositorydlg.cpp +++ b/cervisia/repositorydlg.cpp @@ -173,10 +173,10 @@ RepositoryDialog::RepositoryDialog(TDEConfig& cfg, CvsService_stub* cvsService, m_repoList->addColumn(i18n("Status")); m_repoList->setFocus(); - connect(m_repoList, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - this, TQT_SLOT(slotDoubleClicked(TQListViewItem*))); - connect(m_repoList, TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(slotSelectionChanged())); + connect(m_repoList, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + this, TQ_SLOT(slotDoubleClicked(TQListViewItem*))); + connect(m_repoList, TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(slotSelectionChanged())); KButtonBox* actionbox = new KButtonBox(mainWidget, TQt::Vertical); TQPushButton* addbutton = actionbox->addButton(i18n("&Add...")); @@ -192,16 +192,16 @@ RepositoryDialog::RepositoryDialog(TDEConfig& cfg, CvsService_stub* cvsService, m_loginButton->setEnabled(false); m_logoutButton->setEnabled(false); - connect( addbutton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotAddClicked()) ); - connect( m_modifyButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotModifyClicked()) ); - connect( m_removeButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotRemoveClicked()) ); - connect( m_loginButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLoginClicked()) ); - connect( m_logoutButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotLogoutClicked()) ); + connect( addbutton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotAddClicked()) ); + connect( m_modifyButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotModifyClicked()) ); + connect( m_removeButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotRemoveClicked()) ); + connect( m_loginButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLoginClicked()) ); + connect( m_logoutButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotLogoutClicked()) ); // open cvs DCOP service configuration file m_serviceConfig = new TDEConfig("cvsservicerc"); diff --git a/cervisia/resolvedlg.cpp b/cervisia/resolvedlg.cpp index ce3ce533..395b0636 100644 --- a/cervisia/resolvedlg.cpp +++ b/cervisia/resolvedlg.cpp @@ -143,28 +143,28 @@ ResolveDialog::ResolveDialog(TDEConfig& cfg, TQWidget *parent, const char *name) layout->addWidget(vertSplitter); abutton = new TQPushButton("&A", mainWidget); - connect( abutton, TQT_SIGNAL(clicked()), TQT_SLOT(aClicked()) ); + connect( abutton, TQ_SIGNAL(clicked()), TQ_SLOT(aClicked()) ); bbutton = new TQPushButton("&B", mainWidget); - connect( bbutton, TQT_SIGNAL(clicked()), TQT_SLOT(bClicked()) ); + connect( bbutton, TQ_SIGNAL(clicked()), TQ_SLOT(bClicked()) ); abbutton = new TQPushButton("A+B", mainWidget); - connect( abbutton, TQT_SIGNAL(clicked()), TQT_SLOT(abClicked()) ); + connect( abbutton, TQ_SIGNAL(clicked()), TQ_SLOT(abClicked()) ); babutton = new TQPushButton("B+A", mainWidget); - connect( babutton, TQT_SIGNAL(clicked()), TQT_SLOT(baClicked()) ); + connect( babutton, TQ_SIGNAL(clicked()), TQ_SLOT(baClicked()) ); editbutton = new TQPushButton(i18n("&Edit"), mainWidget); - connect( editbutton, TQT_SIGNAL(clicked()), TQT_SLOT(editClicked()) ); + connect( editbutton, TQ_SIGNAL(clicked()), TQ_SLOT(editClicked()) ); nofnlabel = new TQLabel(mainWidget); nofnlabel->setAlignment(AlignCenter); backbutton = new TQPushButton("&<<", mainWidget); - connect( backbutton, TQT_SIGNAL(clicked()), TQT_SLOT(backClicked()) ); + connect( backbutton, TQ_SIGNAL(clicked()), TQ_SLOT(backClicked()) ); forwbutton = new TQPushButton("&>>", mainWidget); - connect( forwbutton, TQT_SIGNAL(clicked()), TQT_SLOT(forwClicked()) ); + connect( forwbutton, TQ_SIGNAL(clicked()), TQ_SLOT(forwClicked()) ); TQBoxLayout *buttonlayout = new TQHBoxLayout(layout); buttonlayout->addWidget(abutton, 1); @@ -178,8 +178,8 @@ ResolveDialog::ResolveDialog(TDEConfig& cfg, TQWidget *parent, const char *name) buttonlayout->addWidget(backbutton, 1); buttonlayout->addWidget(forwbutton, 1); - connect( this, TQT_SIGNAL(user2Clicked()), TQT_SLOT(saveClicked()) ); - connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(saveAsClicked()) ); + connect( this, TQ_SIGNAL(user2Clicked()), TQ_SLOT(saveClicked()) ); + connect( this, TQ_SIGNAL(user1Clicked()), TQ_SLOT(saveAsClicked()) ); TQFontMetrics const fm(fontMetrics()); setMinimumSize(fm.width('0') * 120, diff --git a/cervisia/settingsdlg.cpp b/cervisia/settingsdlg.cpp index 33f0b935..c6ecd33f 100644 --- a/cervisia/settingsdlg.cpp +++ b/cervisia/settingsdlg.cpp @@ -61,7 +61,7 @@ namespace FontButton::FontButton( const TQString &text, TQWidget *parent, const char *name ) : TQPushButton(text, parent, name) { - connect( this, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseFont()) ); + connect( this, TQ_SIGNAL(clicked()), this, TQ_SLOT(chooseFont()) ); } diff --git a/cervisia/tagdlg.cpp b/cervisia/tagdlg.cpp index 65c0915a..2df98f29 100644 --- a/cervisia/tagdlg.cpp +++ b/cervisia/tagdlg.cpp @@ -58,8 +58,8 @@ TagDialog::TagDialog(ActionType action, CvsService_stub* service, TQLabel *tag_label = new TQLabel(tag_combo, i18n("&Name of tag:"), mainWidget); TQPushButton *tag_button = new TQPushButton(i18n("Fetch &List"), mainWidget); - connect( tag_button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(tagButtonClicked()) ); + connect( tag_button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(tagButtonClicked()) ); TQBoxLayout *tagedit_layout = new TQHBoxLayout(layout); tagedit_layout->addWidget(tag_label); diff --git a/cervisia/updatedlg.cpp b/cervisia/updatedlg.cpp index 4b9b2a0c..9ae04cbb 100644 --- a/cervisia/updatedlg.cpp +++ b/cervisia/updatedlg.cpp @@ -54,8 +54,8 @@ UpdateDialog::UpdateDialog(CvsService_stub* service, branch_combo->setMinimumWidth(iComboBoxMinWidth); branch_button = new TQPushButton(i18n("Fetch &List"), mainWidget); - connect( branch_button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(branchButtonClicked()) ); + connect( branch_button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(branchButtonClicked()) ); TQBoxLayout *branchedit_layout = new TQHBoxLayout(layout); branchedit_layout->addSpacing(iWidgetIndent); @@ -69,8 +69,8 @@ UpdateDialog::UpdateDialog(CvsService_stub* service, tag_combo->setMinimumWidth(iComboBoxMinWidth); tag_button = new TQPushButton(i18n("Fetch L&ist"), mainWidget); - connect( tag_button, TQT_SIGNAL(clicked()), - this, TQT_SLOT(tagButtonClicked()) ); + connect( tag_button, TQ_SIGNAL(clicked()), + this, TQ_SLOT(tagButtonClicked()) ); TQBoxLayout *tagedit_layout = new TQHBoxLayout(layout); tagedit_layout->addSpacing(iWidgetIndent); @@ -91,8 +91,8 @@ UpdateDialog::UpdateDialog(CvsService_stub* service, group->insert(bytag_button); group->insert(bybranch_button); group->insert(bydate_button); - connect( group, TQT_SIGNAL(clicked(int)), - this, TQT_SLOT(toggled()) ); + connect( group, TQ_SIGNAL(clicked(int)), + this, TQ_SLOT(toggled()) ); // dis-/enable the widgets toggled(); diff --git a/cervisia/updateview.cpp b/cervisia/updateview.cpp index 4c6d6e37..3c119b92 100644 --- a/cervisia/updateview.cpp +++ b/cervisia/updateview.cpp @@ -56,10 +56,10 @@ UpdateView::UpdateView(TDEConfig& partConfig, TQWidget *parent, const char *name setFilter(NoFilter); - connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*)), - this, TQT_SLOT(itemExecuted(TQListViewItem*)) ); - connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)), - this, TQT_SLOT(itemExecuted(TQListViewItem*)) ); + connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem*)), + this, TQ_SLOT(itemExecuted(TQListViewItem*)) ); + connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)), + this, TQ_SLOT(itemExecuted(TQListViewItem*)) ); // without this restoreLayout() can't change the column widths for (int col = 0; col < columns(); ++col) diff --git a/cervisia/watchdlg.cpp b/cervisia/watchdlg.cpp index a835c0f8..d11bb0bc 100644 --- a/cervisia/watchdlg.cpp +++ b/cervisia/watchdlg.cpp @@ -73,12 +73,12 @@ WatchDialog::WatchDialog(ActionType action, TQWidget *parent, const char *name) group->insert(all_button); group->insert(only_button); - connect( only_button, TQT_SIGNAL(toggled(bool)), - commitbox, TQT_SLOT(setEnabled(bool)) ); - connect( only_button, TQT_SIGNAL(toggled(bool)), - editbox, TQT_SLOT(setEnabled(bool)) ); - connect( only_button, TQT_SIGNAL(toggled(bool)), - uneditbox, TQT_SLOT(setEnabled(bool)) ); + connect( only_button, TQ_SIGNAL(toggled(bool)), + commitbox, TQ_SLOT(setEnabled(bool)) ); + connect( only_button, TQ_SIGNAL(toggled(bool)), + editbox, TQ_SLOT(setEnabled(bool)) ); + connect( only_button, TQ_SIGNAL(toggled(bool)), + uneditbox, TQ_SLOT(setEnabled(bool)) ); setHelp("watches"); } |