summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/distributionlisteditor.cpp4
-rw-r--r--kaddressbook/tr.h2
-rw-r--r--korganizer/tr.h2
3 files changed, 8 insertions, 0 deletions
diff --git a/kabc/distributionlisteditor.cpp b/kabc/distributionlisteditor.cpp
index bad1efc..9f5840b 100644
--- a/kabc/distributionlisteditor.cpp
+++ b/kabc/distributionlisteditor.cpp
@@ -1,49 +1,53 @@
/*
This file is part of libkabc.
Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include <qlistview.h>
#include <qlayout.h>
#include <qpushbutton.h>
#include <qcombobox.h>
+#ifdef DESKTOP_VERSION
#include <qinputdialog.h>
+#else
+#include <qtcompat/qinputdialog.h>
+#endif
#include <qbuttongroup.h>
#include <qradiobutton.h>
#include <klocale.h>
#include <kdebug.h>
#include "addressbook.h"
#include "addresseedialog.h"
#include "distributionlist.h"
#include "distributionlisteditor.h"
//US #include "distributionlisteditor.moc"
using namespace KABC;
EmailSelectDialog::EmailSelectDialog( const QStringList &emails, const QString &current,
QWidget *parent ) :
KDialogBase( KDialogBase::Plain, i18n("Select Email Address"), Ok, Ok,
parent )
{
QFrame *topFrame = plainPage();
QBoxLayout *topLayout = new QVBoxLayout( topFrame );
diff --git a/kaddressbook/tr.h b/kaddressbook/tr.h
new file mode 100644
index 0000000..981e2c1
--- a/dev/null
+++ b/kaddressbook/tr.h
@@ -0,0 +1,2 @@
+#include <klocale.h>
+#define tr i18n
diff --git a/korganizer/tr.h b/korganizer/tr.h
new file mode 100644
index 0000000..981e2c1
--- a/dev/null
+++ b/korganizer/tr.h
@@ -0,0 +1,2 @@
+#include <klocale.h>
+#define tr i18n