.TH "KMenuBar" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KMenuBar \- KDE Style-able menubar.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kmenubar.h>\fP
.PP
Inherits \fBQMenuBar\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKMenuBar\fP (\fBQWidget\fP *parent=0, const char *name=0)"
.br
.ti -1c
.RI "void \fBsetTopLevelMenu\fP (bool top_level=true)"
.br
.ti -1c
.RI "bool \fBisTopLevelMenu\fP () const "
.br
.ti -1c
.RI "virtual void \fBsetGeometry\fP (const \fBQRect\fP &r)"
.br
.ti -1c
.RI "virtual void \fBsetGeometry\fP (int x, int y, int w, int h)"
.br
.ti -1c
.RI "virtual void \fBresize\fP (int w, int h)"
.br
.ti -1c
.RI "void \fBresize\fP (const \fBQSize\fP &s)"
.br
.ti -1c
.RI "virtual void \fBshow\fP ()"
.br
.ti -1c
.RI "virtual void \fBsetFrameStyle\fP (int)"
.br
.ti -1c
.RI "virtual void \fBsetLineWidth\fP (int)"
.br
.ti -1c
.RI "virtual void \fBsetMargin\fP (int)"
.br
.ti -1c
.RI "virtual \fBQSize\fP \fBsizeHint\fP () const "
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBslotReadConfig\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBshowEvent\fP (\fBQShowEvent\fP *)"
.br
.ti -1c
.RI "virtual void \fBresizeEvent\fP (\fBQResizeEvent\fP *)"
.br
.ti -1c
.RI "virtual bool \fBeventFilter\fP (\fBQObject\fP *, \fBQEvent\fP *)"
.br
.ti -1c
.RI "virtual bool \fBx11Event\fP (XEvent *)"
.br
.ti -1c
.RI "virtual void \fBcloseEvent\fP (\fBQCloseEvent\fP *)"
.br
.ti -1c
.RI "virtual void \fBdrawContents\fP (\fBQPainter\fP *)"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SH "Detailed Description"
.PP 
KDE Style-able menubar. 

This is required since \fBQMenuBar\fP is currently not handled by \fBQStyle\fP.
.PP
\fBAuthor:\fP
.RS 4
Daniel 'Mosfet' Duley. 
.RE
.PP
\fBVersion:\fP
.RS 4
\fBId\fP.RS 4
\fBkmenubar.h\fP 392834 2005-02-24 15:55:43Z lunakl 
.RE
.PP
.RE
.PP

.PP
Definition at line 42 of file kmenubar.h.
.SH "Member Function Documentation"
.PP 
.SS "void KMenuBar::setTopLevelMenu (bool top_level = \fCtrue\fP)"
.PP
This controls whether or not this menubar will be a top-level bar similar to the way Macintosh handles menubars. 
.PP
This overrides any global config settings.
.PP
Keep in mind that it is probably a really bad idea to use this unless you really know what you're doing. A feature like a top-level menubar is one that should really be shared by all applications. If your app is the only one with a top-level bar, then things might look very... odd.
.PP
This is included only for those people that \fCdo\fP know that they need to use it.
.PP
\fBParameters:\fP
.RS 4
\fItop_level\fP If set to true, then this menubar will be a top-level menu 
.RE
.PP

.PP
Definition at line 156 of file kmenubar.cpp.
.SS "bool KMenuBar::isTopLevelMenu () const"
.PP
Is our menubar a top-level (Macintosh style) menubar? 
.PP
\fBReturns:\fP
.RS 4
True if it is top-level. 
.RE
.PP

.PP
Definition at line 223 of file kmenubar.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
