diff options
Diffstat (limited to 'kaddressbook/contacteditorwidgetmanager.cpp')
-rw-r--r-- | kaddressbook/contacteditorwidgetmanager.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kaddressbook/contacteditorwidgetmanager.cpp b/kaddressbook/contacteditorwidgetmanager.cpp index de21528cd..6a6a68d99 100644 --- a/kaddressbook/contacteditorwidgetmanager.cpp +++ b/kaddressbook/contacteditorwidgetmanager.cpp @@ -21,7 +21,7 @@ without including the source code for Qt in the source distribution. */ -#include <qlayout.h> +#include <tqlayout.h> #include <kapplication.h> #include <kdialog.h> @@ -41,7 +41,7 @@ ContactEditorWidgetManager *ContactEditorWidgetManager::mSelf = 0; ContactEditorWidgetManager::ContactEditorWidgetManager() - : QObject( qApp ) + : TQObject( qApp ) { reload(); } @@ -53,7 +53,7 @@ ContactEditorWidgetManager::~ContactEditorWidgetManager() ContactEditorWidgetManager *ContactEditorWidgetManager::self() { - kdWarning( !kapp, 7520 ) << "No QApplication object available!" << endl; + kdWarning( !kapp, 7520 ) << "No TQApplication object available!" << endl; if ( !mSelf ) mSelf = new ContactEditorWidgetManager(); @@ -76,7 +76,7 @@ void ContactEditorWidgetManager::reload() mFactories.clear(); kdDebug(5720) << "ContactEditorWidgetManager::reload()" << endl; const KTrader::OfferList plugins = KTrader::self()->query( "KAddressBook/ContactEditorWidget", - QString( "[X-KDE-KAddressBook-CEWPluginVersion] == %1" ).arg( KAB_CEW_PLUGIN_VERSION ) ); + TQString( "[X-KDE-KAddressBook-CEWPluginVersion] == %1" ).arg( KAB_CEW_PLUGIN_VERSION ) ); KTrader::OfferList::ConstIterator it; for ( it = plugins.begin(); it != plugins.end(); ++it ) { @@ -107,10 +107,10 @@ void ContactEditorWidgetManager::reload() /////////////////////////////////////////////////////////////////////////////// -ContactEditorTabPage::ContactEditorTabPage( QWidget *parent, const char *name ) - : QWidget( parent, name ) +ContactEditorTabPage::ContactEditorTabPage( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { - mLayout = new QGridLayout( this, 0, 2, KDialog::marginHint(), + mLayout = new TQGridLayout( this, 0, 2, KDialog::marginHint(), KDialog::spacingHint() ); } @@ -118,7 +118,7 @@ void ContactEditorTabPage::addWidget( KAB::ContactEditorWidget *widget ) { if ( widget->logicalWidth() == 2 ) { mWidgets.prepend( widget ); - connect( widget, SIGNAL( changed() ), SIGNAL( changed() ) ); + connect( widget, TQT_SIGNAL( changed() ), TQT_SIGNAL( changed() ) ); return; } @@ -133,7 +133,7 @@ void ContactEditorTabPage::addWidget( KAB::ContactEditorWidget *widget ) } mWidgets.insert( ++it, widget ); - connect( widget, SIGNAL( changed() ), SIGNAL( changed() ) ); + connect( widget, TQT_SIGNAL( changed() ), TQT_SIGNAL( changed() ) ); } void ContactEditorTabPage::loadContact( KABC::Addressee *addr ) @@ -174,8 +174,8 @@ void ContactEditorTabPage::updateLayout() row += (*it)->logicalHeight(); if ( it != mWidgets.fromLast() ) { - QFrame *frame = new QFrame( this ); - frame->setFrameStyle( QFrame::HLine | QFrame::Sunken ); + TQFrame *frame = new TQFrame( this ); + frame->setFrameStyle( TQFrame::HLine | TQFrame::Sunken ); mLayout->addMultiCellWidget( frame, row, row, 0, 1 ); row++; } @@ -190,8 +190,8 @@ void ContactEditorTabPage::updateLayout() return; } else { mLayout->addMultiCellWidget( *it, row, row + leftHeight - 1, 0, 0 ); - QFrame *frame = new QFrame( this ); - frame->setFrameStyle( QFrame::HLine | QFrame::Sunken ); + TQFrame *frame = new TQFrame( this ); + frame->setFrameStyle( TQFrame::HLine | TQFrame::Sunken ); mLayout->addMultiCellWidget( frame, row + leftHeight, row + leftHeight, 0, 1 ); } |