diff options
Diffstat (limited to 'kaddressbook/addresseeeditordialog.cpp')
-rw-r--r-- | kaddressbook/addresseeeditordialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp index 8df8357a2..429d6b90e 100644 --- a/kaddressbook/addresseeeditordialog.cpp +++ b/kaddressbook/addresseeeditordialog.cpp @@ -21,8 +21,8 @@ without including the source code for Qt in the source distribution. */ -#include <qapplication.h> -#include <qlayout.h> +#include <tqapplication.h> +#include <tqlayout.h> #include <kdebug.h> #include <klocale.h> @@ -35,7 +35,7 @@ #include "addresseeeditordialog.h" AddresseeEditorDialog::AddresseeEditorDialog( KAB::Core *core, - QWidget *parent, const char *name ) + TQWidget *parent, const char *name ) : KDialogBase( KDialogBase::Plain, i18n( "Edit Contact" ), KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::Apply, KDialogBase::Ok, parent, name, false ) @@ -46,23 +46,23 @@ AddresseeEditorDialog::AddresseeEditorDialog( KAB::Core *core, kdDebug(5720) << "AddresseeEditorDialog()" << endl; - QWidget *page = plainPage(); + TQWidget *page = plainPage(); - QVBoxLayout *layout = new QVBoxLayout( page ); + TQVBoxLayout *layout = new TQVBoxLayout( page ); if ( KABPrefs::instance()->editorType() == KABPrefs::SimpleEditor ) { mEditorWidget = new SimpleAddresseeEditor( page ); } else { mEditorWidget = new AddresseeEditorWidget( page ); } - connect( mEditorWidget, SIGNAL( modified() ), SLOT( widgetModified() ) ); + connect( mEditorWidget, TQT_SIGNAL( modified() ), TQT_SLOT( widgetModified() ) ); layout->addWidget( mEditorWidget ); enableButton( KDialogBase::Apply, false ); KConfig config( "kaddressbookrc" ); config.setGroup( "AddresseeEditor" ); - QSize defaultSize( 750, 570 ); + TQSize defaultSize( 750, 570 ); resize( config.readSizeEntry( "Size", &defaultSize ) ); } @@ -103,10 +103,10 @@ void AddresseeEditorDialog::slotApply() return; if ( mEditorWidget->dirty() ) { - QApplication::setOverrideCursor( Qt::waitCursor ); + TQApplication::setOverrideCursor( Qt::waitCursor ); mEditorWidget->save(); emit contactModified( mEditorWidget->addressee() ); - QApplication::restoreOverrideCursor(); + TQApplication::restoreOverrideCursor(); } enableButton( KDialogBase::Apply, false ); |