]> Git trees. - libqmvoc.git/commitdiff
rename PrefLeitner::Private to PrefLeitner::PrefLeitnerPrivate
authorFrederik Gladhorn <gladhorn@kde.org>
Sun, 27 May 2007 04:33:34 +0000 (04:33 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Sun, 27 May 2007 04:33:34 +0000 (04:33 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=668636

kdeeducore/prefleitner.cpp
kdeeducore/prefleitner.h

index 9bd36f128d1ee3065835f6b76078e10fec7b1a54..35c339eed2a7c840207b2ca0e0c58e30fb5f0328 100644 (file)
 
 #include <kdebug.h>
 
-class PrefLeitner::Private
+class PrefLeitner::PrefLeitnerPrivate
 {
 public:
-       Private( PrefLeitner* qq, LeitnerSystem* system )
+       PrefLeitnerPrivate( PrefLeitner* qq, LeitnerSystem* system )
          : q( qq ), m_leitnerSystemView( 0 ), m_selectedSystem( system ),
            m_selectedBox( 0 )
        {
@@ -61,12 +61,12 @@ public:
 
 
 PrefLeitner::PrefLeitner( QWidget* parent )
-  : QDialog( parent ), d( new Private( this, 0 ) )
+  : QDialog( parent ), d( new PrefLeitnerPrivate( this, 0 ) )
 {
 }
 
 PrefLeitner::PrefLeitner( LeitnerSystem* system, QWidget* parent )
-  : QDialog( parent ), d( new Private( this, system ) )
+  : QDialog( parent ), d( new PrefLeitnerPrivate( this, system ) )
 {
 }
 
@@ -75,19 +75,19 @@ PrefLeitner::~PrefLeitner()
        delete d;
 }
 
-void PrefLeitner::Private::init()
+void PrefLeitner::PrefLeitnerPrivate::init()
 {
        m_ui.setupUi( q );
-       
+
        QScrollArea *helperSV = new QScrollArea( q );
 
        m_leitnerSystemView = new LeitnerSystemView( helperSV->viewport() );
         m_leitnerSystemView->setObjectName( "LeitnerSystemView" );
-       
+
         helperSV->setWidget( m_leitnerSystemView );
 
        connect( m_leitnerSystemView, SIGNAL( boxClicked( int ) ), q, SLOT( slotBoxClicked( int ) ) );
-       
+
        if ( m_selectedSystem )
        {
                //insert the list of box' names in the comboboxes
@@ -128,7 +128,7 @@ void PrefLeitner::slotBoxName( const QString& newName )
        d->m_selectedSystem->setBoxName( d->m_selectedBox, newName );
 }
 
-void PrefLeitner::Private::newSystem()
+void PrefLeitner::PrefLeitnerPrivate::newSystem()
 {
        m_ui.cmbCorrect->addItems( m_selectedSystem->getBoxNameList() );
        m_ui.cmbWrong->addItems( m_selectedSystem->getBoxNameList() );
@@ -136,12 +136,12 @@ void PrefLeitner::Private::newSystem()
        refreshSystemView();
 }
 
-void PrefLeitner::Private::refreshSystemView()
+void PrefLeitner::PrefLeitnerPrivate::refreshSystemView()
 {
        m_leitnerSystemView->setSystem( m_selectedSystem );
 }
 
-void PrefLeitner::Private::slotBoxClicked( int box )
+void PrefLeitner::PrefLeitnerPrivate::slotBoxClicked( int box )
 {
        m_selectedBox = m_selectedSystem->boxWithNumber( box );
 
index 01a50d6ca05ebd688d2ed99a7dd362fde24c228b..934e642b5103d0c45a2f7cc24a930e9a5486df75 100644 (file)
@@ -76,8 +76,8 @@ public Q_SLOTS:
        void slotApply();
 
 private:
-       class Private;
-       Private* const d;
+       class PrefLeitnerPrivate;
+       PrefLeitnerPrivate* const d;
 
        Q_DISABLE_COPY( PrefLeitner )
        Q_PRIVATE_SLOT( d, void slotBoxClicked( int ) )