From 328954e1f003dc24a70e75304b5f59d663359e75 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Tue, 21 Feb 2012 18:35:37 -0600 Subject: [PATCH] Update the Quanta Plus Help menu. This resolves bug report 826. --- quanta/data/config/quantaui.rc | 3 --- quanta/src/quanta.cpp | 19 ------------------- quanta/src/quanta.h | 6 ------ quanta/src/quanta_init.cpp | 12 ------------ 4 files changed, 40 deletions(-) diff --git a/quanta/data/config/quantaui.rc b/quanta/data/config/quantaui.rc index 212f6f01..48306fba 100644 --- a/quanta/data/config/quantaui.rc +++ b/quanta/data/config/quantaui.rc @@ -169,9 +169,6 @@ - - - diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp index 1d7567ab..5525a570 100644 --- a/quanta/src/quanta.cpp +++ b/quanta/src/quanta.cpp @@ -3140,25 +3140,6 @@ void QuantaApp::slotShowCompletionHint() w->codeCompletionHintRequested(); } -void QuantaApp::slotMakeDonation() -{ - DonationDialog *dlg = new DonationDialog(this); - dlg->closeButton->setIconSet(SmallIconSet("fileclose")); - connect(dlg->closeButton, TQT_SIGNAL(clicked()), dlg, TQT_SLOT(accept())); - dlg->exec(); - delete dlg; -} - -void QuantaApp::slotHelpHomepage() -{ - kapp->invokeBrowser("http://quanta.tdewebdev.org"); -} - -void QuantaApp::slotHelpUserList() -{ - kapp->invokeBrowser("http://mail.kde.org/mailman/listinfo/quanta"); -} - /** Loads the toolbars for dtd named dtdName and unload the ones belonging to oldDtdName. */ void QuantaApp::slotLoadToolbarForDTD(const TQString& dtdName) { diff --git a/quanta/src/quanta.h b/quanta/src/quanta.h index 8e7ce767..e7714aea 100644 --- a/quanta/src/quanta.h +++ b/quanta/src/quanta.h @@ -434,10 +434,6 @@ public slots: protected slots: void slotDockWidgetHasUndocked(KDockWidget *widget); void slotPreviewBeingClosed(); - /** No descriptions */ - void slotMakeDonation(); - /** No descriptions */ - void slotHelpHomepage(); /** Show or hide the DTD toolbar */ void slotToggleDTDToolbar(bool show); /** Loads a DTEP*/ @@ -466,8 +462,6 @@ protected slots: void slotDownloadDoc(); /** Shows tip of the day */ void slotHelpTip(); - /** Show the user mailing list sign up */ - void slotHelpUserList(); void slotOpenFileUnderCursor(); void slotUploadOpenedFiles(); /** Called after there was no user activity - cursor movement - for xx ms*/ diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp index 9a582e79..e59ba248 100644 --- a/quanta/src/quanta_init.cpp +++ b/quanta/src/quanta_init.cpp @@ -786,18 +786,6 @@ void QuantaInit::initActions() TQT_TQOBJECT(m_quanta), TQT_SLOT( slotContextHelp() ), TQT_TQOBJECT(ac), "context_help" ); - (void) new KAction( i18n( "&Quanta Homepage" ), 0, - TQT_TQOBJECT(m_quanta), TQT_SLOT( slotHelpHomepage() ), - TQT_TQOBJECT(ac), "help_homepage" ); - - (void) new KAction( i18n( "&User Mailing List" ), 0, - TQT_TQOBJECT(m_quanta), TQT_SLOT( slotHelpUserList() ), - TQT_TQOBJECT(ac), "help_userlist" ); - - (void) new KAction( i18n( "Make &Donation" ), 0, - TQT_TQOBJECT(m_quanta), TQT_SLOT( slotMakeDonation() ), - TQT_TQOBJECT(ac), "help_donation" ); - (void) new KAction( i18n( "Tag &Attributes..." ), ALT+Key_Down, m_quanta->m_doc, TQT_SLOT( slotAttribPopup() ), TQT_TQOBJECT(ac), "tag_attributes" );