Author: kmachalkova Date: Tue Jun 9 11:00:51 2009 New Revision: 57508 URL: http://svn.opensuse.org/viewcvs/yast?rev=57508&view=rev Log: renaming Modified: branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.cpp branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.h Modified: branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.cpp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.cpp?rev=57508&r1=57507&r2=57508&view=diff ============================================================================== --- branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.cpp (original) +++ branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.cpp Tue Jun 9 11:00:51 2009 @@ -41,7 +41,7 @@ YQModulesModel::YQModulesModel( QObject * parent ) : YQDesktopFilesModel( MODULES_DESKTOP_DIR, parent) - , d(new Private) + , priv(new Private) { addIconPath("/usr/share/YaST2/theme/current/icons/32x32/apps"); addIconPath("/usr/share/icons/hicolor/32x32/apps"); @@ -53,7 +53,7 @@ YQModuleGroupsModel * YQModulesModel::groupsModel() const { - return d->groupsModel; + return priv->groupsModel; } QModelIndex YQModulesModel::firstModuleInGroup( const QModelIndex &index ) const @@ -78,17 +78,17 @@ QModelIndex YQModulesModel::groupForModule( const QModelIndex &idx) const { - if ( d->groupCache.contains(idx) ) - return d->groupCache[idx]; + if ( priv->groupCache.contains(idx) ) + return priv->groupCache[idx]; // create an index for the module group's string id QModelIndex modgrpid = index( idx.row(), Group); // retrieve the groupid QString groupid = data( modgrpid, Qt::UserRole ).toString(); - QModelIndex groupindex = d->groupsModel->indexForGroupId( groupid ); + QModelIndex groupindex = priv->groupsModel->indexForGroupId( groupid ); - d->groupCache[idx] = groupindex; + priv->groupCache[idx] = groupindex; return groupindex; } Modified: branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.h?rev=57508&r1=57507&r2=57508&view=diff ============================================================================== --- branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.h (original) +++ branches/tmp/tgoettlicher/yast2cc_rewrite/src/yqmodulesmodel.h Tue Jun 9 11:00:51 2009 @@ -69,7 +69,7 @@ private: class Private; - Private *const d; + Private *const priv; }; #endif -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org