<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:57:27 CEST 2007 --> <TITLE> QFlags </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.QFlags class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QFlags"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/trolltech/qt/QClassPathFileEngineHandler.html" title="class in com.trolltech.qt"><B>PREV CLASS</B></A> <A HREF="../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/trolltech/qt/QFlags.html" target="_top"><B>FRAMES</B></A> <A HREF="QFlags.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.trolltech.qt</FONT> <BR> Class QFlags<T extends <A HREF="../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A>></H2> <PRE> java.lang.Object <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.QFlags<T></B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A>, java.io.Serializable, java.lang.Cloneable</DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/trolltech/qt/core/QAbstractFileEngine.FileFlags.html" title="class in com.trolltech.qt.core">QAbstractFileEngine.FileFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QAbstractItemView.EditTriggers.html" title="class in com.trolltech.qt.gui">QAbstractItemView.EditTriggers</A>, <A HREF="../../../com/trolltech/qt/gui/QAbstractPrintDialog.PrintDialogOptions.html" title="class in com.trolltech.qt.gui">QAbstractPrintDialog.PrintDialogOptions</A>, <A HREF="../../../com/trolltech/qt/gui/QAbstractSpinBox.StepEnabled.html" title="class in com.trolltech.qt.gui">QAbstractSpinBox.StepEnabled</A>, <A HREF="../../../com/trolltech/qt/gui/QAccessible.Relation.html" title="class in com.trolltech.qt.gui">QAccessible.Relation</A>, <A HREF="../../../com/trolltech/qt/gui/QAccessible.State.html" title="class in com.trolltech.qt.gui">QAccessible.State</A>, <A HREF="../../../com/trolltech/qt/gui/QDateTimeEdit.Sections.html" title="class in com.trolltech.qt.gui">QDateTimeEdit.Sections</A>, <A HREF="../../../com/trolltech/qt/gui/QDialogButtonBox.StandardButtons.html" title="class in com.trolltech.qt.gui">QDialogButtonBox.StandardButtons</A>, <A HREF="../../../com/trolltech/qt/core/QDir.Filters.html" title="class in com.trolltech.qt.core">QDir.Filters</A>, <A HREF="../../../com/trolltech/qt/core/QDir.SortFlags.html" title="class in com.trolltech.qt.core">QDir.SortFlags</A>, <A HREF="../../../com/trolltech/qt/core/QDirIterator.IteratorFlags.html" title="class in com.trolltech.qt.core">QDirIterator.IteratorFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QDockWidget.DockWidgetFeatures.html" title="class in com.trolltech.qt.gui">QDockWidget.DockWidgetFeatures</A>, <A HREF="../../../com/trolltech/qt/core/QEventLoop.ProcessEventsFlags.html" title="class in com.trolltech.qt.core">QEventLoop.ProcessEventsFlags</A>, <A HREF="../../../com/trolltech/qt/core/QFile.Permissions.html" title="class in com.trolltech.qt.core">QFile.Permissions</A>, <A HREF="../../../com/trolltech/qt/gui/QFileDialog.Options.html" title="class in com.trolltech.qt.gui">QFileDialog.Options</A>, <A HREF="../../../com/trolltech/qt/gui/QFontComboBox.FontFilters.html" title="class in com.trolltech.qt.gui">QFontComboBox.FontFilters</A>, <A HREF="../../../com/trolltech/qt/opengl/QGL.FormatOptions.html" title="class in com.trolltech.qt.opengl">QGL.FormatOptions</A>, <A HREF="../../../com/trolltech/qt/opengl/QGLFormat.OpenGLVersionFlags.html" title="class in com.trolltech.qt.opengl">QGLFormat.OpenGLVersionFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QGraphicsItem.GraphicsItemFlags.html" title="class in com.trolltech.qt.gui">QGraphicsItem.GraphicsItemFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QGraphicsScene.SceneLayers.html" title="class in com.trolltech.qt.gui">QGraphicsScene.SceneLayers</A>, <A HREF="../../../com/trolltech/qt/gui/QGraphicsView.CacheMode.html" title="class in com.trolltech.qt.gui">QGraphicsView.CacheMode</A>, <A HREF="../../../com/trolltech/qt/gui/QGraphicsView.OptimizationFlags.html" title="class in com.trolltech.qt.gui">QGraphicsView.OptimizationFlags</A>, <A HREF="../../../com/trolltech/qt/core/QIODevice.OpenMode.html" title="class in com.trolltech.qt.core">QIODevice.OpenMode</A>, <A HREF="../../../com/trolltech/qt/gui/QItemSelectionModel.SelectionFlags.html" title="class in com.trolltech.qt.gui">QItemSelectionModel.SelectionFlags</A>, <A HREF="../../../com/trolltech/qt/core/QLocale.NumberOptions.html" title="class in com.trolltech.qt.core">QLocale.NumberOptions</A>, <A HREF="../../../com/trolltech/qt/gui/QMainWindow.DockOptions.html" title="class in com.trolltech.qt.gui">QMainWindow.DockOptions</A>, <A HREF="../../../com/trolltech/qt/gui/QMdiArea.AreaOptions.html" title="class in com.trolltech.qt.gui">QMdiArea.AreaOptions</A>, <A HREF="../../../com/trolltech/qt/gui/QMdiSubWindow.SubWindowOptions.html" title="class in com.trolltech.qt.gui">QMdiSubWindow.SubWindowOptions</A>, <A HREF="../../../com/trolltech/qt/gui/QMessageBox.StandardButtons.html" title="class in com.trolltech.qt.gui">QMessageBox.StandardButtons</A>, <A HREF="../../../com/trolltech/qt/network/QNetworkInterface.InterfaceFlags.html" title="class in com.trolltech.qt.network">QNetworkInterface.InterfaceFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QPaintEngine.DirtyFlags.html" title="class in com.trolltech.qt.gui">QPaintEngine.DirtyFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QPaintEngine.PaintEngineFeatures.html" title="class in com.trolltech.qt.gui">QPaintEngine.PaintEngineFeatures</A>, <A HREF="../../../com/trolltech/qt/gui/QPainter.RenderHints.html" title="class in com.trolltech.qt.gui">QPainter.RenderHints</A>, <A HREF="../../../com/trolltech/qt/gui/QSizePolicy.ControlTypes.html" title="class in com.trolltech.qt.gui">QSizePolicy.ControlTypes</A>, <A HREF="../../../com/trolltech/qt/sql/QSql.ParamType.html" title="class in com.trolltech.qt.sql">QSql.ParamType</A>, <A HREF="../../../com/trolltech/qt/gui/QStyle.State.html" title="class in com.trolltech.qt.gui">QStyle.State</A>, <A HREF="../../../com/trolltech/qt/gui/QStyleOptionButton.ButtonFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionButton.ButtonFeatures</A>, <A HREF="../../../com/trolltech/qt/gui/QStyleOptionFrameV2.FrameFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionFrameV2.FrameFeatures</A>, <A HREF="../../../com/trolltech/qt/gui/QStyleOptionTab.CornerWidgets.html" title="class in com.trolltech.qt.gui">QStyleOptionTab.CornerWidgets</A>, <A HREF="../../../com/trolltech/qt/gui/QStyleOptionToolBar.ToolBarFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionToolBar.ToolBarFeatures</A>, <A HREF="../../../com/trolltech/qt/gui/QStyleOptionToolButton.ToolButtonFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionToolButton.ToolButtonFeatures</A>, <A HREF="../../../com/trolltech/qt/gui/QStyleOptionViewItemV2.ViewItemFeatures.html" title="class in com.trolltech.qt.gui">QStyleOptionViewItemV2.ViewItemFeatures</A>, <A HREF="../../../com/trolltech/qt/core/Qt.Alignment.html" title="class in com.trolltech.qt.core">Qt.Alignment</A>, <A HREF="../../../com/trolltech/qt/core/Qt.DockWidgetAreas.html" title="class in com.trolltech.qt.core">Qt.DockWidgetAreas</A>, <A HREF="../../../com/trolltech/qt/core/Qt.DropActions.html" title="class in com.trolltech.qt.core">Qt.DropActions</A>, <A HREF="../../../com/trolltech/qt/core/Qt.ImageConversionFlags.html" title="class in com.trolltech.qt.core">Qt.ImageConversionFlags</A>, <A HREF="../../../com/trolltech/qt/core/Qt.ItemFlags.html" title="class in com.trolltech.qt.core">Qt.ItemFlags</A>, <A HREF="../../../com/trolltech/qt/core/Qt.KeyboardModifiers.html" title="class in com.trolltech.qt.core">Qt.KeyboardModifiers</A>, <A HREF="../../../com/trolltech/qt/core/Qt.MatchFlags.html" title="class in com.trolltech.qt.core">Qt.MatchFlags</A>, <A HREF="../../../com/trolltech/qt/core/Qt.MouseButtons.html" title="class in com.trolltech.qt.core">Qt.MouseButtons</A>, <A HREF="../../../com/trolltech/qt/core/Qt.Orientations.html" title="class in com.trolltech.qt.core">Qt.Orientations</A>, <A HREF="../../../com/trolltech/qt/core/Qt.TextInteractionFlags.html" title="class in com.trolltech.qt.core">Qt.TextInteractionFlags</A>, <A HREF="../../../com/trolltech/qt/core/Qt.ToolBarAreas.html" title="class in com.trolltech.qt.core">Qt.ToolBarAreas</A>, <A HREF="../../../com/trolltech/qt/core/Qt.WindowFlags.html" title="class in com.trolltech.qt.core">Qt.WindowFlags</A>, <A HREF="../../../com/trolltech/qt/core/Qt.WindowStates.html" title="class in com.trolltech.qt.core">Qt.WindowStates</A>, <A HREF="../../../com/trolltech/qt/core/QTextCodec.ConversionFlags.html" title="class in com.trolltech.qt.core">QTextCodec.ConversionFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QTextDocument.FindFlags.html" title="class in com.trolltech.qt.gui">QTextDocument.FindFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QTextEdit.AutoFormatting.html" title="class in com.trolltech.qt.gui">QTextEdit.AutoFormatting</A>, <A HREF="../../../com/trolltech/qt/gui/QTextFormat.PageBreakFlags.html" title="class in com.trolltech.qt.gui">QTextFormat.PageBreakFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QTextItem.RenderFlags.html" title="class in com.trolltech.qt.gui">QTextItem.RenderFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QTextOption.Flags.html" title="class in com.trolltech.qt.gui">QTextOption.Flags</A>, <A HREF="../../../com/trolltech/qt/core/QTextStream.NumberFlags.html" title="class in com.trolltech.qt.core">QTextStream.NumberFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QTreeWidgetItemIterator.IteratorFlags.html" title="class in com.trolltech.qt.gui">QTreeWidgetItemIterator.IteratorFlags</A>, <A HREF="../../../com/trolltech/qt/network/QUdpSocket.BindMode.html" title="class in com.trolltech.qt.network">QUdpSocket.BindMode</A>, <A HREF="../../../com/trolltech/qt/core/QUrl.FormattingOptions.html" title="class in com.trolltech.qt.core">QUrl.FormattingOptions</A>, <A HREF="../../../com/trolltech/qt/gui/QWidget.RenderFlags.html" title="class in com.trolltech.qt.gui">QWidget.RenderFlags</A>, <A HREF="../../../com/trolltech/qt/gui/QWizard.WizardOptions.html" title="class in com.trolltech.qt.gui">QWizard.WizardOptions</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>QFlags<T extends <A HREF="../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A>></B><DT>extends java.lang.Object<DT>implements <A HREF="../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A>, java.io.Serializable, java.lang.Cloneable</DL> </PRE> <P> This class manages a set of QtEnumerator values. Each enum value is treated as a flag that is either set or unset. You can set and clear flags, and query which flags are set. <P> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#com.trolltech.qt.QFlags">Serialized Form</A></DL> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#QFlags(T...)">QFlags</A></B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... args)</CODE> <BR> Creates a new QFlags where the flags in <tt>args</tt> are set.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#clear(com.trolltech.qt.QFlags)">clear</A></B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="class in com.trolltech.qt">QFlags</A><<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>> other)</CODE> <BR> Clears the flag <tt>other</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#clear(T...)">clear</A></B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... ts)</CODE> <BR> Clears all flags in <tt>ts</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#clearAll()">clearAll</A></B>()</CODE> <BR> Clears all flags.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object object)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#isSet(com.trolltech.qt.QFlags)">isSet</A></B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="class in com.trolltech.qt">QFlags</A><<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>> other)</CODE> <BR> Returns true if flag <tt>other</tt> is set; otherwise, returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#isSet(T...)">isSet</A></B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... ts)</CODE> <BR> Returns true if all <tt>ts</tt> flags are set; otherwise, returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#set(com.trolltech.qt.QFlags)">set</A></B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="class in com.trolltech.qt">QFlags</A><<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>> other)</CODE> <BR> Sets the flag <tt>other</tt></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#set(T...)">set</A></B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... ts)</CODE> <BR> Sets the flags in <tt>ts</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#setValue(int)">setValue</A></B>(int value)</CODE> <BR> Sets the value of this QFlags.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#toString()">toString</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/trolltech/qt/QFlags.html#value()">value</A></B>()</CODE> <BR> Returns the value of this QFlags.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="QFlags(com.trolltech.qt.QtEnumerator)"><!-- --></A><A NAME="QFlags(T...)"><!-- --></A><H3> QFlags</H3> <PRE> protected <B>QFlags</B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... args)</PRE> <DL> <DD>Creates a new QFlags where the flags in <tt>args</tt> are set. <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="set(com.trolltech.qt.QFlags)"><!-- --></A><H3> set</H3> <PRE> public final void <B>set</B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="class in com.trolltech.qt">QFlags</A><<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>> other)</PRE> <DL> <DD>Sets the flag <tt>other</tt> <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="set(com.trolltech.qt.QtEnumerator)"><!-- --></A><A NAME="set(T...)"><!-- --></A><H3> set</H3> <PRE> public final void <B>set</B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... ts)</PRE> <DL> <DD>Sets the flags in <tt>ts</tt>. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isSet(com.trolltech.qt.QFlags)"><!-- --></A><H3> isSet</H3> <PRE> public final boolean <B>isSet</B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="class in com.trolltech.qt">QFlags</A><<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>> other)</PRE> <DL> <DD>Returns true if flag <tt>other</tt> is set; otherwise, returns false. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isSet(com.trolltech.qt.QtEnumerator)"><!-- --></A><A NAME="isSet(T...)"><!-- --></A><H3> isSet</H3> <PRE> public final boolean <B>isSet</B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... ts)</PRE> <DL> <DD>Returns true if all <tt>ts</tt> flags are set; otherwise, returns false. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="clear(com.trolltech.qt.QFlags)"><!-- --></A><H3> clear</H3> <PRE> public final void <B>clear</B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="class in com.trolltech.qt">QFlags</A><<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>> other)</PRE> <DL> <DD>Clears the flag <tt>other</tt>. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="clear(com.trolltech.qt.QtEnumerator)"><!-- --></A><A NAME="clear(T...)"><!-- --></A><H3> clear</H3> <PRE> public final void <B>clear</B>(<A HREF="../../../com/trolltech/qt/QFlags.html" title="type parameter in QFlags">T</A>... ts)</PRE> <DL> <DD>Clears all flags in <tt>ts</tt>. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="clearAll()"><!-- --></A><H3> clearAll</H3> <PRE> public final void <B>clearAll</B>()</PRE> <DL> <DD>Clears all flags. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setValue(int)"><!-- --></A><H3> setValue</H3> <PRE> public final void <B>setValue</B>(int value)</PRE> <DL> <DD>Sets the value of this QFlags. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="value()"><!-- --></A><H3> value</H3> <PRE> public final int <B>value</B>()</PRE> <DL> <DD>Returns the value of this QFlags. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/trolltech/qt/QtEnumerator.html#value()">value</A></CODE> in interface <CODE><A HREF="../../../com/trolltech/qt/QtEnumerator.html" title="interface in com.trolltech.qt">QtEnumerator</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public final boolean <B>equals</B>(java.lang.Object object)</PRE> <DL> <DD> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="toString()"><!-- --></A><H3> toString</H3> <PRE> public final java.lang.String <B>toString</B>()</PRE> <DL> <DD> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/trolltech/qt/QClassPathFileEngineHandler.html" title="class in com.trolltech.qt"><B>PREV CLASS</B></A> <A HREF="../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/trolltech/qt/QFlags.html" target="_top"><B>FRAMES</B></A> <A HREF="QFlags.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>