Update the Quanta Plus Help menu.

This resolves bug report 826.
pull/1/head
Darrell Anderson 13 years ago
parent 67393581a9
commit 328954e1f0

@ -169,9 +169,6 @@
<Separator/> <Separator/>
<Action name="context_help" /> <Action name="context_help" />
<Separator/> <Separator/>
<Action name="help_homepage" />
<Action name="help_userlist" />
<Action name="help_donation" />
<Action name="help_reportbug" /> <Action name="help_reportbug" />
<Action name="help_tip" /> <Action name="help_tip" />
<Separator/> <Separator/>

@ -3140,25 +3140,6 @@ void QuantaApp::slotShowCompletionHint()
w->codeCompletionHintRequested(); 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. */ /** Loads the toolbars for dtd named dtdName and unload the ones belonging to oldDtdName. */
void QuantaApp::slotLoadToolbarForDTD(const TQString& dtdName) void QuantaApp::slotLoadToolbarForDTD(const TQString& dtdName)
{ {

@ -434,10 +434,6 @@ public slots:
protected slots: protected slots:
void slotDockWidgetHasUndocked(KDockWidget *widget); void slotDockWidgetHasUndocked(KDockWidget *widget);
void slotPreviewBeingClosed(); void slotPreviewBeingClosed();
/** No descriptions */
void slotMakeDonation();
/** No descriptions */
void slotHelpHomepage();
/** Show or hide the DTD toolbar */ /** Show or hide the DTD toolbar */
void slotToggleDTDToolbar(bool show); void slotToggleDTDToolbar(bool show);
/** Loads a DTEP*/ /** Loads a DTEP*/
@ -466,8 +462,6 @@ protected slots:
void slotDownloadDoc(); void slotDownloadDoc();
/** Shows tip of the day */ /** Shows tip of the day */
void slotHelpTip(); void slotHelpTip();
/** Show the user mailing list sign up */
void slotHelpUserList();
void slotOpenFileUnderCursor(); void slotOpenFileUnderCursor();
void slotUploadOpenedFiles(); void slotUploadOpenedFiles();
/** Called after there was no user activity - cursor movement - for xx ms*/ /** Called after there was no user activity - cursor movement - for xx ms*/

@ -786,18 +786,6 @@ void QuantaInit::initActions()
TQT_TQOBJECT(m_quanta), TQT_SLOT( slotContextHelp() ), TQT_TQOBJECT(m_quanta), TQT_SLOT( slotContextHelp() ),
TQT_TQOBJECT(ac), "context_help" ); 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, (void) new KAction( i18n( "Tag &Attributes..." ), ALT+Key_Down,
m_quanta->m_doc, TQT_SLOT( slotAttribPopup() ), m_quanta->m_doc, TQT_SLOT( slotAttribPopup() ),
TQT_TQOBJECT(ac), "tag_attributes" ); TQT_TQOBJECT(ac), "tag_attributes" );

Loading…
Cancel
Save