khelpmenu.cpp
121 const TDEAboutData *aboutData = d->mAboutData ? d->mAboutData : TDEGlobal::instance()->aboutData();
147 if (kapp->authorizeTDEAction("help_report_bug") && aboutData && !aboutData->bugAddress().isEmpty() )
151 mMenu->insertItem( SmallIcon("bug"), i18n( "&Report Bug/Request Enhancement..." ), menuReportBug );
160 mMenu->insertItem( SmallIcon("locale"), i18n( "Switch application &language..." ), menuSwitchLanguage );
262 d->mSwitchApplicationLanguage = new KSwitchLanguageDialog( mParent, "switchlanguagedialog", false );
263 connect( d->mSwitchApplicationLanguage, TQ_SIGNAL(finished()), this, TQ_SLOT( dialogFinished()) );
A dialog base class with standard buttons and predefined layouts.
Definition: kdialogbase.h:192
void setMainWidget(TQWidget *widget)
Sets the main user definable widget.
Definition: kdialogbase.cpp:1431
static int marginHint()
Return the number of pixels you shall use between a dialog edge and the outermost widget(s) according...
Definition: kdialog.cpp:104
virtual void setPlainCaption(const TQString &caption)
Make a plain caption without any modifications.
Definition: kdialog.cpp:129
static int spacingHint()
Return the number of pixels you shall use between widgets inside a dialog according to the KDE standa...
Definition: kdialog.cpp:110
void showAboutApplication()
This signal is emitted from aboutApplication() if no "about application" string has been defined.
void contextHelpActivated()
Activates What's This help for the application.
Definition: khelpmenu.cpp:305
void switchApplicationLanguage()
Opens changing default application language dialog box.
Definition: khelpmenu.cpp:258
TDEPopupMenu * menu()
Returns a popup menu you can use in the menu bar or where you need it.
Definition: khelpmenu.cpp:112
KHelpMenu(TQWidget *parent=0, const TQString &aboutAppText=TQString::null, bool showWhatsThis=true)
Constructor.
Definition: khelpmenu.cpp:66
Standard "switch application language" dialog box.
Definition: kswitchlanguagedialog.h:39
TQString bugAddress() const
TQString programName() const
virtual void show(void)
Makes a modeless (modal = false in constructor) dialog visible.
Definition: tdeaboutdialog.cpp:1549
static TDEInstance * instance()
SizeSmall
const TDEAboutData * aboutData() const
TDEAction * whatsThis(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Trigger the What's This cursor.
Definition: kstdaction.cpp:310
TDEAction * aboutKDE(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the About KDE dialog.
Definition: kstdaction.cpp:320
TDEAction * helpContents(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the help contents.
Definition: kstdaction.cpp:308
TDEAction * switchApplicationLanguage(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display "Switch application language" dialog.
Definition: kstdaction.cpp:316
TDEAction * aboutApp(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Display the application's About box.
Definition: kstdaction.cpp:318
TDEAction * reportBug(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name)
Open up the Report Bug dialog.
Definition: kstdaction.cpp:314
const TDEShortcut & shortcut(StdAccel id)