diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmpalettevaluememento.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmpalettevaluememento.cpp')
-rw-r--r-- | kpovmodeler/pmpalettevaluememento.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpovmodeler/pmpalettevaluememento.cpp b/kpovmodeler/pmpalettevaluememento.cpp index 6db9b922..f683068c 100644 --- a/kpovmodeler/pmpalettevaluememento.cpp +++ b/kpovmodeler/pmpalettevaluememento.cpp @@ -29,17 +29,17 @@ PMPaletteValueMemento::~PMPaletteValueMemento( ) { } -void PMPaletteValueMemento::setFilterPaletteValues( const QValueList<PMPaletteValue>& v ) +void PMPaletteValueMemento::setFilterPaletteValues( const TQValueList<PMPaletteValue>& v ) { if( !m_bFilterPaletteValuesSaved ) { // Direct assignment does not work with Qt 2.3.x // The list will be changed later in a graphical - // change because QValueList::detach( ) is called + // change because TQValueList::detach( ) is called // too late! // Copy the list by hand. - QValueList<PMPaletteValue>::ConstIterator it = v.begin( ); + TQValueList<PMPaletteValue>::ConstIterator it = v.begin( ); for( ; it != v.end( ); ++it ) m_filterPaletteValues.append( *it ); @@ -48,7 +48,7 @@ void PMPaletteValueMemento::setFilterPaletteValues( const QValueList<PMPaletteVa } } -QValueList<PMPaletteValue> PMPaletteValueMemento::filterPaletteValues( ) const +TQValueList<PMPaletteValue> PMPaletteValueMemento::filterPaletteValues( ) const { if( !m_bFilterPaletteValuesSaved ) kdError( PMArea ) << "Filter palette values not saved in PMPaletteValueMemento::filterPaletteValues\n"; @@ -56,17 +56,17 @@ QValueList<PMPaletteValue> PMPaletteValueMemento::filterPaletteValues( ) const return m_filterPaletteValues; } -void PMPaletteValueMemento::setTransmitPaletteValues( const QValueList<PMPaletteValue>& v ) +void PMPaletteValueMemento::setTransmitPaletteValues( const TQValueList<PMPaletteValue>& v ) { if( !m_bTransmitPaletteValuesSaved ) { // Direct assignment does not work with Qt 2.3.x // The list will be changed later in a graphical - // change because QValueList::detach( ) is called + // change because TQValueList::detach( ) is called // too late! // Copy the list by hand. - QValueList<PMPaletteValue>::ConstIterator it = v.begin( ); + TQValueList<PMPaletteValue>::ConstIterator it = v.begin( ); for( ; it != v.end( ); ++it ) m_transmitPaletteValues.append( *it ); @@ -75,7 +75,7 @@ void PMPaletteValueMemento::setTransmitPaletteValues( const QValueList<PMPalette } } -QValueList<PMPaletteValue> PMPaletteValueMemento::transmitPaletteValues( ) const +TQValueList<PMPaletteValue> PMPaletteValueMemento::transmitPaletteValues( ) const { if( !m_bTransmitPaletteValuesSaved ) kdError( PMArea ) << "Transmit palette values not saved in PMPaletteValueMemento::transmitPaletteValues\n"; |