summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/addressbookselectordialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:25:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:25:43 -0600
commit903aacf3fda692b6fa7e7934ea158653b99cc6a5 (patch)
tree37409851c95238b97d8a162ff501b8500ae1b216 /kopete/libkopete/ui/addressbookselectordialog.cpp
parent9c9412b30c54468adc9e506cc76c5d113fbf5056 (diff)
downloadtdenetwork-903aacf3fda692b6fa7e7934ea158653b99cc6a5.tar.gz
tdenetwork-903aacf3fda692b6fa7e7934ea158653b99cc6a5.zip
Fix FTBFS
Diffstat (limited to 'kopete/libkopete/ui/addressbookselectordialog.cpp')
-rw-r--r--kopete/libkopete/ui/addressbookselectordialog.cpp89
1 files changed, 0 insertions, 89 deletions
diff --git a/kopete/libkopete/ui/addressbookselectordialog.cpp b/kopete/libkopete/ui/addressbookselectordialog.cpp
deleted file mode 100644
index 44f42e2a..00000000
--- a/kopete/libkopete/ui/addressbookselectordialog.cpp
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- AddressBookSelectorDialog
- Nice Dialog to select a KDE AddressBook contact
-
- Copyright (c) 2005 by Duncan Mac-Vicar Prett <duncan@kde.org>
-
- Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org>
-
- *************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- *************************************************************************
-*/
-
-#include "addressbookselectordialog.h"
-#include "addressbookselectorwidget.h"
-#include <kdialogbase.h>
-#include <tqdialog.h>
-#include <tqlistview.h>
-#include <tqvbox.h>
-#include <klocale.h>
-#include <kdialog.h>
-
-namespace Kopete
-{
-namespace UI
-{
-
-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 )
-{
- TQVBox *vbox=new TQVBox(this);
- m_addressBookSelectorWidget= new AddressBookSelectorWidget(vbox);
- m_addressBookSelectorWidget->setLabelMessage(message);
-
- vbox->setSpacing( KDialog::spacingHint() );
-
- setMainWidget(vbox);
- enableButtonOK(false);
- //setHelp("linkaddressbook");
-
- connect(m_addressBookSelectorWidget, TQT_SIGNAL(addresseeListClicked( TQListViewItem * )), TQT_SLOT(slotWidgetAddresseeListClicked( TQListViewItem * )));
-
- if ( !preSelectUid.isEmpty() )
- m_addressBookSelectorWidget->selectAddressee(preSelectUid);
-}
-
-AddressBookSelectorDialog::~AddressBookSelectorDialog()
-{
-}
-
-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 == TQDialog::Accepted )
- adr = dialog.addressBookSelectorWidget()->addressee();
-
- return adr;
-}
-
-void AddressBookSelectorDialog::slotWidgetAddresseeListClicked( TQListViewItem *addressee )
-{
- // enable ok if a valid addressee is selected
- enableButtonOK( addressee ? addressee->isSelected() : false);
-}
-
-void AddressBookSelectorDialog::accept()
-{
- TQDialog::accept();
-}
-
-void AddressBookSelectorDialog::reject()
-{
- TQDialog::reject();
-}
-
-} // namespace UI
-} // namespace Kopete
-
-#include "addressbookselectordialog.moc"
-
-// vim: set noet ts=4 sts=4 sw=4:
-