summaryrefslogtreecommitdiffstats
path: root/kaddressbook/emaileditwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/emaileditwidget.cpp')
-rw-r--r--kaddressbook/emaileditwidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kaddressbook/emaileditwidget.cpp b/kaddressbook/emaileditwidget.cpp
index 3cc2de14f..21d21e52f 100644
--- a/kaddressbook/emaileditwidget.cpp
+++ b/kaddressbook/emaileditwidget.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 <tqcheckbox.h>
@@ -44,7 +44,7 @@
#include "emaileditwidget.h"
-class EmailValidator : public QRegExpValidator
+class EmailValidator : public TQRegExpValidator
{
public:
EmailValidator()
@@ -55,11 +55,11 @@ class EmailValidator : public QRegExpValidator
}
};
-class EmailItem : public QListBoxText
+class EmailItem : public TQListBoxText
{
public:
- EmailItem( TQListBox *parent, const TQString &text, bool preferred )
- : TQListBoxText( parent, text ), mPreferred( preferred )
+ EmailItem( TQListBox *tqparent, const TQString &text, bool preferred )
+ : TQListBoxText( tqparent, text ), mPreferred( preferred )
{}
void setPreferred( bool preferred ) { mPreferred = preferred; }
@@ -86,8 +86,8 @@ class EmailItem : public QListBoxText
bool mPreferred;
};
-EmailEditWidget::EmailEditWidget( TQWidget *parent, const char *name )
- : TQWidget( parent, name )
+EmailEditWidget::EmailEditWidget( TQWidget *tqparent, const char *name )
+ : TQWidget( tqparent, name )
{
TQGridLayout *topLayout = new TQGridLayout( this, 2, 2, KDialog::marginHint(),
KDialog::spacingHint() );
@@ -171,11 +171,11 @@ void EmailEditWidget::textChanged( const TQString &text )
}
-EmailEditDialog::EmailEditDialog( const TQStringList &list, TQWidget *parent,
+EmailEditDialog::EmailEditDialog( const TQStringList &list, TQWidget *tqparent,
const char *name )
: KDialogBase( KDialogBase::Plain, i18n( "Edit Email Addresses" ),
KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Help,
- parent, name, true )
+ tqparent, name, true )
{
TQWidget *page = plainPage();
@@ -254,7 +254,7 @@ void EmailEditDialog::add()
bool ok = false;
TQString email = KInputDialog::getText( i18n( "Add Email" ), i18n( "New Email:" ),
- TQString::null, &ok, this, "EmailEditDialog",
+ TQString(), &ok, this, "EmailEditDialog",
validator );
if ( !ok )