diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/KMultiFormListBox/kmultiformlistbox.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/KMultiFormListBox/kmultiformlistbox.cpp')
-rw-r--r-- | kregexpeditor/KMultiFormListBox/kmultiformlistbox.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kregexpeditor/KMultiFormListBox/kmultiformlistbox.cpp b/kregexpeditor/KMultiFormListBox/kmultiformlistbox.cpp index 57b5abb..0aa384e 100644 --- a/kregexpeditor/KMultiFormListBox/kmultiformlistbox.cpp +++ b/kregexpeditor/KMultiFormListBox/kmultiformlistbox.cpp @@ -22,9 +22,9 @@ #include "kmultiformlistbox-multivisible.h" #include "kmultiformlistbox-windowed.h" -KMultiFormListBox::KMultiFormListBox( KMultiFormListBoxFactory *factory, KMultiFormListBoxType tp, QWidget *parent, - bool showUpDownButtons, bool showHelpButton, QString addButtonText, - const char *name ) : QWidget( parent, name ) +KMultiFormListBox::KMultiFormListBox( KMultiFormListBoxFactory *factory, KMultiFormListBoxType tp, TQWidget *parent, + bool showUpDownButtons, bool showHelpButton, TQString addButtonText, + const char *name ) : TQWidget( parent, name ) { switch ( tp ) { @@ -38,9 +38,9 @@ KMultiFormListBox::KMultiFormListBox( KMultiFormListBoxFactory *factory, KMultiF break; } - QWidget *widget = theWidget->qWidget(); + TQWidget *widget = theWidget->qWidget(); - QHBoxLayout *layout = new QHBoxLayout( this ); + TQHBoxLayout *layout = new TQHBoxLayout( this ); _factory = factory; layout->addWidget( widget ); } @@ -72,15 +72,15 @@ void KMultiFormListBox::slotChangeFace( KMultiFormListBoxType /*newFace*/ ) // << "Please let me ([email protected]) know that you need it, and I'll work on it" << endl; } -void KMultiFormListBox::toStream( QDataStream& stream ) const +void KMultiFormListBox::toStream( TQDataStream& stream ) const { const KMultiFormListBoxEntryList elms = elements(); stream << elms.count(); - for ( QPtrListIterator<KMultiFormListBoxEntry> it(elms); *it; ++it) + for ( TQPtrListIterator<KMultiFormListBoxEntry> it(elms); *it; ++it) _factory->toStream( *it, stream ); } -void KMultiFormListBox::fromStream( QDataStream& stream ) +void KMultiFormListBox::fromStream( TQDataStream& stream ) { unsigned int fromCount, toCount; stream >> fromCount; @@ -96,7 +96,7 @@ void KMultiFormListBox::fromStream( QDataStream& stream ) } KMultiFormListBoxEntryList elms = elements(); - for (QPtrListIterator<KMultiFormListBoxEntry> it(elms); *it; ++it) + for (TQPtrListIterator<KMultiFormListBoxEntry> it(elms); *it; ++it) _factory->fromStream( stream, *it ); } |