summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/addressbookselectordialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/ui/addressbookselectordialog.cpp')
-rw-r--r--kopete/libkopete/ui/addressbookselectordialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/libkopete/ui/addressbookselectordialog.cpp b/kopete/libkopete/ui/addressbookselectordialog.cpp
index 7d2e17ff..44f42e2a 100644
--- a/kopete/libkopete/ui/addressbookselectordialog.cpp
+++ b/kopete/libkopete/ui/addressbookselectordialog.cpp
@@ -19,9 +19,9 @@
#include "addressbookselectordialog.h"
#include "addressbookselectorwidget.h"
#include <kdialogbase.h>
-#include <qdialog.h>
-#include <qlistview.h>
-#include <qvbox.h>
+#include <tqdialog.h>
+#include <tqlistview.h>
+#include <tqvbox.h>
#include <klocale.h>
#include <kdialog.h>
@@ -30,9 +30,9 @@ namespace Kopete
namespace UI
{
-AddressBookSelectorDialog::AddressBookSelectorDialog(const QString &title, const QString &message, const QString &preSelectUid, QWidget *parent, const char *name, bool modal ) : KDialogBase(parent, name, modal, title, Help|Ok|Cancel, Ok, true )
+AddressBookSelectorDialog::AddressBookSelectorDialog(const TQString &title, const TQString &message, const TQString &preSelectUid, TQWidget *parent, const char *name, bool modal ) : KDialogBase(parent, name, modal, title, Help|Ok|Cancel, Ok, true )
{
- QVBox *vbox=new QVBox(this);
+ TQVBox *vbox=new TQVBox(this);
m_addressBookSelectorWidget= new AddressBookSelectorWidget(vbox);
m_addressBookSelectorWidget->setLabelMessage(message);
@@ -42,7 +42,7 @@ AddressBookSelectorDialog::AddressBookSelectorDialog(const QString &title, const
enableButtonOK(false);
//setHelp("linkaddressbook");
- connect(m_addressBookSelectorWidget, SIGNAL(addresseeListClicked( QListViewItem * )), SLOT(slotWidgetAddresseeListClicked( QListViewItem * )));
+ connect(m_addressBookSelectorWidget, TQT_SIGNAL(addresseeListClicked( TQListViewItem * )), TQT_SLOT(slotWidgetAddresseeListClicked( TQListViewItem * )));
if ( !preSelectUid.isEmpty() )
m_addressBookSelectorWidget->selectAddressee(preSelectUid);
@@ -52,19 +52,19 @@ AddressBookSelectorDialog::~AddressBookSelectorDialog()
{
}
-KABC::Addressee AddressBookSelectorDialog::getAddressee( const QString &title, const QString &message, const QString &preSelectUid, QWidget *parent)
+KABC::Addressee AddressBookSelectorDialog::getAddressee( const TQString &title, const TQString &message, const TQString &preSelectUid, TQWidget *parent)
{
AddressBookSelectorDialog dialog(title, message, preSelectUid, parent);
int result = dialog.exec();
KABC::Addressee adr;
- if ( result == QDialog::Accepted )
+ if ( result == TQDialog::Accepted )
adr = dialog.addressBookSelectorWidget()->addressee();
return adr;
}
-void AddressBookSelectorDialog::slotWidgetAddresseeListClicked( QListViewItem *addressee )
+void AddressBookSelectorDialog::slotWidgetAddresseeListClicked( TQListViewItem *addressee )
{
// enable ok if a valid addressee is selected
enableButtonOK( addressee ? addressee->isSelected() : false);
@@ -72,12 +72,12 @@ void AddressBookSelectorDialog::slotWidgetAddresseeListClicked( QListViewItem *a
void AddressBookSelectorDialog::accept()
{
- QDialog::accept();
+ TQDialog::accept();
}
void AddressBookSelectorDialog::reject()
{
- QDialog::reject();
+ TQDialog::reject();
}
} // namespace UI