Fix some warnings

This commit is contained in:
Nyall Dawson 2015-02-02 16:02:16 +11:00
parent 8c1675a06a
commit cd86710d87
7 changed files with 18 additions and 14 deletions

View File

@ -1256,18 +1256,6 @@ GENERATE_XML = NO
XML_OUTPUT = xml
# The XML_SCHEMA tag can be used to specify an XML schema,
# which can be used by a validating XML parser to check the
# syntax of the XML files.
XML_SCHEMA =
# The XML_DTD tag can be used to specify an XML DTD,
# which can be used by a validating XML parser to check the
# syntax of the XML files.
XML_DTD =
# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
# dump the program listings (including syntax highlighting
# and cross-referencing information) to the XML output. Note that

View File

@ -59,4 +59,11 @@ class QgsOfflineEditing : QObject
/** emit a signal that processing of all layers has finished */
void progressStopped();
/**
* Emitted when a warning needs to be displayed.
* @param title title string for message
* @param message A descriptive message for the warning
*/
void warning( const QString& title, const QString& message );
};

View File

@ -70,6 +70,7 @@ class QgsMessageBar: QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/
@ -77,6 +78,7 @@ class QgsMessageBar: QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/
@ -84,6 +86,7 @@ class QgsMessageBar: QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/
@ -91,6 +94,7 @@ class QgsMessageBar: QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/

View File

@ -87,7 +87,7 @@ class CORE_EXPORT QgsOfflineEditing : public QObject
/**
* Emitted when a warning needs to be displayed.
*
* @param title title string for message
* @param message A descriptive message for the warning
*/
void warning( const QString& title, const QString& message );

View File

@ -613,6 +613,7 @@ QColor QgsSimpleLineSymbolLayerV2::dxfColor( const QgsSymbolV2RenderContext& con
double QgsSimpleLineSymbolLayerV2::dxfOffset( const QgsDxfExport& e, const QgsSymbolV2RenderContext& context ) const
{
Q_UNUSED( e );
double offset = mOffset;
QgsExpression* offsetExpression = expression( "offset" );
if ( offsetExpression )

View File

@ -210,7 +210,7 @@ class GUI_EXPORT QgsDualView : public QStackedWidget, private Ui::QgsDualViewBas
/**
* Will be called, once all the features are loaded.
* Use e.g. to close a dialog created from {@link progress(int i,bool& cancel )}
* Use e.g. to close a dialog created from {@link progress( int i, bool& cancel )}
*/
virtual void finished();

View File

@ -109,6 +109,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/
@ -116,6 +117,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/
@ -123,6 +125,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/
@ -130,6 +133,7 @@ class GUI_EXPORT QgsMessageBar: public QFrame
/**
* Pushes a warning with default timeout to the message bar
* @param title title string for message
* @param message The message to be displayed
* @note added in 2.8
*/