summaryrefslogtreecommitdiffstats
path: root/kaddressbook/addviewdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/addviewdialog.cpp')
-rw-r--r--kaddressbook/addviewdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/addviewdialog.cpp b/kaddressbook/addviewdialog.cpp
index c936e5fa8..4f3a58078 100644
--- a/kaddressbook/addviewdialog.cpp
+++ b/kaddressbook/addviewdialog.cpp
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqbuttongroup.h>
@@ -34,10 +34,10 @@
#include "addviewdialog.h"
AddViewDialog::AddViewDialog( TQDict<ViewFactory> *viewFactoryDict,
- TQWidget *parent, const char *name )
+ TQWidget *tqparent, const char *name )
: KDialogBase( KDialogBase::Plain, i18n( "Add View" ),
KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok,
- parent, name ),
+ tqparent, name ),
mViewFactoryDict( viewFactoryDict )
{
mTypeId = 0;
@@ -57,7 +57,7 @@ AddViewDialog::AddViewDialog( TQDict<ViewFactory> *viewFactoryDict,
TQT_SLOT( textChanged( const TQString& ) ) );
tqlayout->addWidget( mViewNameEdit, 0, 1 );
- mTypeGroup = new TQButtonGroup( 0, Qt::Horizontal, i18n( "View Type" ), page );
+ mTypeGroup = new TQButtonGroup( 0, TQt::Horizontal, i18n( "View Type" ), page );
connect( mTypeGroup, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( clicked( int ) ) );
tqlayout->addMultiCellWidget( mTypeGroup, 1, 1, 0, 1 );
TQGridLayout *groupLayout = new TQGridLayout( mTypeGroup->tqlayout(), 3, 2 );
@@ -69,10 +69,10 @@ AddViewDialog::AddViewDialog( TQDict<ViewFactory> *viewFactoryDict,
TQRadioButton *button = new TQRadioButton( i18n((*iter)->type().utf8()),
mTypeGroup, (*iter)->type().latin1() );
label = new TQLabel( (*iter)->description(), mTypeGroup );
- label->tqsetAlignment( Qt::WordBreak );
+ label->tqsetAlignment( TQt::WordBreak );
- groupLayout->addWidget( button, row, 0, Qt::AlignTop );
- groupLayout->addWidget( label, row, 1, Qt::AlignTop );
+ groupLayout->addWidget( button, row, 0, TQt::AlignTop );
+ groupLayout->addWidget( label, row, 1, TQt::AlignTop );
row++;
}
@@ -94,7 +94,7 @@ TQString AddViewDialog::viewName()const
TQString AddViewDialog::viewType()const
{
// we missuse the name property for storing the type
- return mTypeGroup->find( mTypeId )->name();
+ return mTypeGroup->tqfind( mTypeId )->name();
}
void AddViewDialog::clicked( int id )