diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/addresseeeditordialog.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ); |