From f66fa61af206f9c9aa4e9dd0721afe9c0b0aedc7 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 1 Jun 2007 15:46:42 +0000 Subject: [PATCH] Porting to Qt 4 --- src/Qtx/QtxEvalExpr.cxx | 9 +++++++++ src/Qtx/QtxGroupBox.cxx | 4 ++-- src/Qtx/QtxListAction.cxx | 2 +- src/Qtx/QtxPopupMgr.cxx | 6 +++--- src/Qtx/QtxSplash.cxx | 10 +++++----- 5 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/Qtx/QtxEvalExpr.cxx b/src/Qtx/QtxEvalExpr.cxx index 8269df764..d16abdc62 100644 --- a/src/Qtx/QtxEvalExpr.cxx +++ b/src/Qtx/QtxEvalExpr.cxx @@ -1345,6 +1345,15 @@ bool QtxEvalSet::createValue( const QString& str, QVariant& val ) const \return error code (QtxEvalExpr::Error) */ +/*! + \fn QString QtxEvalSet::name() const; + \brief Get unique operations set name. + + Should be redefined in the successor classes. + + \return operations set name +*/ + /*! \class QtxEvalSetBase \brief Generic class. Provides functionality for standard operations sets. diff --git a/src/Qtx/QtxGroupBox.cxx b/src/Qtx/QtxGroupBox.cxx index 971b29c96..e99532ed4 100644 --- a/src/Qtx/QtxGroupBox.cxx +++ b/src/Qtx/QtxGroupBox.cxx @@ -28,10 +28,10 @@ #include /*! - \brief class QtxGroupBox + \class QtxGroupBox \brief Enhanced group box widget. - The QtxGroupBox class allows insereting custom widgets in the + The QtxGroupBox class allows inserting custom widgets in the group box title. Use insertTitleWidget() method to add custom widget to the title and removeTitleWidget() to remove it. */ diff --git a/src/Qtx/QtxListAction.cxx b/src/Qtx/QtxListAction.cxx index b74804837..813d052ee 100755 --- a/src/Qtx/QtxListAction.cxx +++ b/src/Qtx/QtxListAction.cxx @@ -819,7 +819,7 @@ QWidget* QtxListAction::createWidget( QWidget* parent ) return tb; } -/* +/*! \brief Destroy action widget. This function is called whenever the action is removed diff --git a/src/Qtx/QtxPopupMgr.cxx b/src/Qtx/QtxPopupMgr.cxx index bd4e6f061..018f205e5 100644 --- a/src/Qtx/QtxPopupMgr.cxx +++ b/src/Qtx/QtxPopupMgr.cxx @@ -196,7 +196,7 @@ QString QtxPopupMgr::PopupCreator::rule( const ItemAttributes& /*attr*/, } /*! - \class QPopupMgr + \class QtxPopupMgr \brief Popup menu manager. Menu manager allows using of set of action for automatic generating of @@ -719,13 +719,13 @@ QString QtxPopupSelection::selCountParam() const return str; } -/* +/*! \fn int QtxPopupSelection::count() const; \brief Get number of the selected objects. \return nb of selected objects */ -/* +/*! \fn QVariant QtxPopupSelection::parameter( const int idx, const QString& name ) const; \brief Get number of the selected objects. \param idx parameter index diff --git a/src/Qtx/QtxSplash.cxx b/src/Qtx/QtxSplash.cxx index 09c8f1d37..eba6fd7b6 100644 --- a/src/Qtx/QtxSplash.cxx +++ b/src/Qtx/QtxSplash.cxx @@ -438,7 +438,7 @@ int QtxSplash::progressFlags() const The parameter \a gradientType defines the type of gradient to be drawn - horizontal or vertical. Default is vertical. - Note, that methods setProgressGradient() and setProgresColors() are + Note, that methods setProgressGradient() and setProgressColors() are alternative. Only the latest used is taken into account. \param startColor start gradient color (or mono-color) @@ -490,11 +490,11 @@ QtxSplash::GradientType QtxSplash::progressColors( QColor& startColor, the progress bar. The color scale (blue to red) is changed by the progress bar diagonal. - Note, that methods setProgressGradient() and setProgresColors() are + Note, that methods setProgressGradient() and setProgressColors() are alternative. Only the latest used is taken into account. \param gradient color gradient to be used for progress bar coloring - \sa progressGradient(), setProgresColors() + \sa progressGradient(), setProgressColors() */ void QtxSplash::setProgressGradient( const QLinearGradient& gradient ) { @@ -626,8 +626,8 @@ QString QtxSplash::message() const /*! \brief Get error code. - This function returns error code, set previoiusly with setError() or - error( QString&, QString, int ) methods. + This function returns error code, set previoiusly with + error(const QString&, const QString&, const int) method. If no error code has been set, 0 is returned. \return last error code -- 2.39.2