diff options
Diffstat (limited to 'kpilot/kpilot/addressEditor.cc')
-rw-r--r-- | kpilot/kpilot/addressEditor.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kpilot/kpilot/addressEditor.cc b/kpilot/kpilot/addressEditor.cc index 0ea0032b..cfab322e 100644 --- a/kpilot/kpilot/addressEditor.cc +++ b/kpilot/kpilot/addressEditor.cc @@ -33,13 +33,13 @@ #endif #ifndef QLINEEDIT_H -#include <qlineedit.h> +#include <tqlineedit.h> #endif #ifndef QLAYOUT_H -#include <qlayout.h> +#include <tqlayout.h> #endif #ifndef QLABEL_H -#include <qlabel.h> +#include <tqlabel.h> #endif #ifndef _KDEBUG_H #include <kdebug.h> @@ -54,7 +54,7 @@ AddressEditor::AddressEditor(PilotAddress * p, PilotAddressInfo *appInfo, - QWidget * parent, + TQWidget * parent, const char *name) : KDialogBase(KDialogBase::Plain, i18n("Address Editor"), @@ -69,8 +69,8 @@ AddressEditor::AddressEditor(PilotAddress * p, initLayout(); fillFields(); - connect(parent, SIGNAL(recordChanged(PilotAddress *)), - this, SLOT(updateRecord(PilotAddress *))); + connect(parent, TQT_SIGNAL(recordChanged(PilotAddress *)), + this, TQT_SLOT(updateRecord(PilotAddress *))); } @@ -100,7 +100,7 @@ AddressEditor::~AddressEditor() /* * Return phone label from AddressAppInfo + some sanity checking */ -QString AddressEditor::phoneLabelText(PilotAddress * addr, const PhoneSlot &i) +TQString AddressEditor::phoneLabelText(PilotAddress * addr, const PhoneSlot &i) { FUNCTIONSETUP; if (!addr) @@ -109,7 +109,7 @@ QString AddressEditor::phoneLabelText(PilotAddress * addr, const PhoneSlot &i) } PilotAddressInfo::EPhoneType idx = addr->getPhoneType(i); - QString ret = fAppInfo->phoneLabel(idx) + CSL1(":"); + TQString ret = fAppInfo->phoneLabel(idx) + CSL1(":"); return ret; } @@ -154,16 +154,16 @@ void AddressEditor::fillFields() #define MakeField(text,field,row,column) \ - t=new QLabel(text,p); \ - field = new QLineEdit(p); \ + t=new TQLabel(text,p); \ + field = new TQLineEdit(p); \ field->setMinimumWidth(20*SPACING); \ t->setBuddy(field); \ grid->addWidget(t,row,column); \ grid->addWidget(field,row,column+1); #define MakeFieldL(text,label,field,row,column) \ - label = new QLabel(text,p); \ - field = new QLineEdit(p); \ + label = new TQLabel(text,p); \ + field = new TQLineEdit(p); \ field->setMinimumWidth(20*SPACING); \ label->setBuddy(field); \ grid->addWidget(label,row,column); \ @@ -173,10 +173,10 @@ void AddressEditor::initLayout() { FUNCTIONSETUP; - QFrame *p = plainPage(); - QGridLayout *grid = new QGridLayout(p, 10, 5, 0, SPACING); + TQFrame *p = plainPage(); + TQGridLayout *grid = new TQGridLayout(p, 10, 5, 0, SPACING); - QLabel *t; + TQLabel *t; MakeField(i18n("Last name:"), fLastNameField, 0, 0); MakeField(i18n("First name:"), fFirstNameField, 1, 0); |