summaryrefslogtreecommitdiffstats
path: root/tderesources
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources')
-rw-r--r--tderesources/birthdays/resourcetdeabc.cpp10
-rw-r--r--tderesources/birthdays/resourcetdeabc.h12
-rw-r--r--tderesources/birthdays/resourcetdeabcconfig.cpp6
-rw-r--r--tderesources/birthdays/resourcetdeabcconfig.h2
-rw-r--r--tderesources/blogging/API_Blog.h2
-rw-r--r--tderesources/blogging/bloggingcalendaradaptor.cpp16
-rw-r--r--tderesources/blogging/bloggingcalendaradaptor.h2
-rw-r--r--tderesources/blogging/kcal_resourceblogging.h6
-rw-r--r--tderesources/blogging/kcal_resourcebloggingconfig.h6
-rw-r--r--tderesources/blogging/xmlrpcjob.h2
-rw-r--r--tderesources/caldav/config.cpp8
-rw-r--r--tderesources/caldav/config.h6
-rw-r--r--tderesources/caldav/configwidgets.cpp12
-rw-r--r--tderesources/caldav/configwidgets.h10
-rw-r--r--tderesources/caldav/resource.cpp18
-rw-r--r--tderesources/caldav/resource.h6
-rw-r--r--tderesources/carddav/config.h6
-rw-r--r--tderesources/carddav/configwidgets.cpp12
-rw-r--r--tderesources/carddav/configwidgets.h10
-rw-r--r--tderesources/carddav/resource.cpp16
-rw-r--r--tderesources/carddav/resource.h6
-rw-r--r--tderesources/egroupware/debugdialog.h2
-rw-r--r--tderesources/egroupware/kcal_resourcexmlrpc.cpp58
-rw-r--r--tderesources/egroupware/kcal_resourcexmlrpc.h6
-rw-r--r--tderesources/egroupware/kcal_resourcexmlrpcconfig.h6
-rw-r--r--tderesources/egroupware/knotes_resourcexmlrpc.cpp22
-rw-r--r--tderesources/egroupware/knotes_resourcexmlrpc.h6
-rw-r--r--tderesources/egroupware/knotes_resourcexmlrpcconfig.h6
-rw-r--r--tderesources/egroupware/synchronizer.h4
-rw-r--r--tderesources/egroupware/tdeabc_resourcexmlrpc.cpp34
-rw-r--r--tderesources/egroupware/tdeabc_resourcexmlrpc.h6
-rw-r--r--tderesources/egroupware/tdeabc_resourcexmlrpcconfig.h6
-rw-r--r--tderesources/egroupware/todostatemapper.cpp2
-rw-r--r--tderesources/egroupware/xmlrpciface.cpp18
-rw-r--r--tderesources/egroupware/xmlrpciface.h4
-rw-r--r--tderesources/exchange/dateset.cpp2
-rw-r--r--tderesources/exchange/resourceexchange.cpp12
-rw-r--r--tderesources/exchange/resourceexchange.h8
-rw-r--r--tderesources/exchange/resourceexchangeconfig.cpp8
-rw-r--r--tderesources/exchange/resourceexchangeconfig.h2
-rw-r--r--tderesources/featureplan/kcal_resourcefeatureplan.cpp2
-rw-r--r--tderesources/featureplan/kcal_resourcefeatureplan.h6
-rw-r--r--tderesources/featureplan/kcal_resourcefeatureplanconfig.h6
-rw-r--r--tderesources/groupdav/kcal_resourcegroupdav.h4
-rw-r--r--tderesources/groupdav/tdeabc_resourcegroupdav.h6
-rw-r--r--tderesources/groupware/kcal_resourcegroupware.cpp14
-rw-r--r--tderesources/groupware/kcal_resourcegroupware.h2
-rw-r--r--tderesources/groupware/kcal_resourcegroupwareconfig.cpp2
-rw-r--r--tderesources/groupware/kcal_resourcegroupwareconfig.h2
-rw-r--r--tderesources/groupware/tdeabc_resourcegroupware.cpp16
-rw-r--r--tderesources/groupware/tdeabc_resourcegroupware.h2
-rw-r--r--tderesources/groupware/tdeabc_resourcegroupwareconfig.cpp2
-rw-r--r--tderesources/groupware/tdeabc_resourcegroupwareconfig.h2
-rw-r--r--tderesources/groupwise/groupwisesettingswidget.cpp4
-rw-r--r--tderesources/groupwise/groupwisesettingswidget.h2
-rw-r--r--tderesources/groupwise/kcal_resourcegroupwise.cpp14
-rw-r--r--tderesources/groupwise/kcal_resourcegroupwise.h6
-rw-r--r--tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp6
-rw-r--r--tderesources/groupwise/kcal_resourcegroupwiseconfig.h6
-rw-r--r--tderesources/groupwise/soap/groupwiseserver.cpp2
-rw-r--r--tderesources/groupwise/soap/groupwiseserver.h2
-rw-r--r--tderesources/groupwise/soap/gwconverter.cpp12
-rw-r--r--tderesources/groupwise/soap/incidenceconverter.cpp6
-rw-r--r--tderesources/groupwise/soap/ksslsocket.cpp6
-rw-r--r--tderesources/groupwise/soap/ksslsocket.h2
-rw-r--r--tderesources/groupwise/soap/patches/socklen.diff4
-rw-r--r--tderesources/groupwise/soap/stdsoap2.cpp15
-rw-r--r--tderesources/groupwise/soap/stdsoap2.h62
-rw-r--r--tderesources/groupwise/tdeabc_resourcegroupwise.cpp32
-rw-r--r--tderesources/groupwise/tdeabc_resourcegroupwise.h8
-rw-r--r--tderesources/groupwise/tdeabc_resourcegroupwiseconfig.cpp2
-rw-r--r--tderesources/groupwise/tdeabc_resourcegroupwiseconfig.h6
-rw-r--r--tderesources/groupwise/tdeioslave/groupwise.cpp30
-rw-r--r--tderesources/groupwise/tdeioslave/groupwise.h2
-rw-r--r--tderesources/kolab/kcal/resourcekolab.cpp12
-rw-r--r--tderesources/kolab/kcal/resourcekolab.h12
-rw-r--r--tderesources/kolab/knotes/resourcekolab.h6
-rw-r--r--tderesources/kolab/shared/kmailconnection.cpp16
-rw-r--r--tderesources/kolab/shared/kmailconnection.h2
-rw-r--r--tderesources/kolab/shared/kolabbase.cpp10
-rw-r--r--tderesources/kolab/shared/resourcekolabbase.cpp2
-rw-r--r--tderesources/kolab/tdeabc/resourcekolab.cpp2
-rw-r--r--tderesources/kolab/tdeabc/resourcekolab.h6
-rw-r--r--tderesources/lib/addressbookadaptor.h4
-rw-r--r--tderesources/lib/calendaradaptor.h6
-rw-r--r--tderesources/lib/davaddressbookadaptor.h4
-rw-r--r--tderesources/lib/davcalendaradaptor.h4
-rw-r--r--tderesources/lib/folderconfig.cpp6
-rw-r--r--tderesources/lib/folderconfig.h6
-rw-r--r--tderesources/lib/folderlister.cpp12
-rw-r--r--tderesources/lib/folderlister.h6
-rw-r--r--tderesources/lib/folderlistview.cpp26
-rw-r--r--tderesources/lib/folderlistview.h2
-rw-r--r--tderesources/lib/folderselectdialog.cpp8
-rw-r--r--tderesources/lib/groupwaredataadaptor.h8
-rw-r--r--tderesources/lib/groupwaredownloadjob.cpp36
-rw-r--r--tderesources/lib/groupwaredownloadjob.h2
-rw-r--r--tderesources/lib/groupwareresourcejob.cpp2
-rw-r--r--tderesources/lib/groupwareresourcejob.h2
-rw-r--r--tderesources/lib/groupwareuploadjob.cpp62
-rw-r--r--tderesources/lib/groupwareuploadjob.h2
-rw-r--r--tderesources/lib/kcal_cachesettingsdlg.h6
-rw-r--r--tderesources/lib/kcal_resourcegroupwarebase.cpp22
-rw-r--r--tderesources/lib/kcal_resourcegroupwarebase.h6
-rw-r--r--tderesources/lib/kcal_resourcegroupwarebaseconfig.cpp8
-rw-r--r--tderesources/lib/kcal_resourcegroupwarebaseconfig.h6
-rw-r--r--tderesources/lib/tdeabc_resourcegroupwarebase.cpp8
-rw-r--r--tderesources/lib/tdeabc_resourcegroupwarebase.h6
-rw-r--r--tderesources/lib/tdeabc_resourcegroupwarebaseconfig.cpp4
-rw-r--r--tderesources/lib/tdeabc_resourcegroupwarebaseconfig.h6
-rw-r--r--tderesources/lib/webdavhandler.cpp2
-rw-r--r--tderesources/lib/webdavhandler.h4
-rw-r--r--tderesources/newexchange/exchangecalendaradaptor.cpp2
-rw-r--r--tderesources/newexchange/exchangeconvertercalendar.cpp16
-rw-r--r--tderesources/newexchange/kcal_resourceexchange.h4
-rw-r--r--tderesources/newexchange/tdeabc_resourceexchange.h4
-rw-r--r--tderesources/remote/resourceremote.cpp14
-rw-r--r--tderesources/remote/resourceremote.h6
-rw-r--r--tderesources/remote/resourceremoteconfig.cpp2
-rw-r--r--tderesources/remote/resourceremoteconfig.h6
-rw-r--r--tderesources/scalix/kcal/resourcescalix.cpp8
-rw-r--r--tderesources/scalix/kcal/resourcescalix.h6
-rw-r--r--tderesources/scalix/knotes/resourcescalix.h6
-rw-r--r--tderesources/scalix/scalixadmin/delegatedialog.cpp2
-rw-r--r--tderesources/scalix/scalixadmin/delegatedialog.h2
-rw-r--r--tderesources/scalix/scalixadmin/delegatemanager.h2
-rw-r--r--tderesources/scalix/scalixadmin/delegatepage.cpp16
-rw-r--r--tderesources/scalix/scalixadmin/delegatepage.h2
-rw-r--r--tderesources/scalix/scalixadmin/delegateview.cpp2
-rw-r--r--tderesources/scalix/scalixadmin/delegateview.h2
-rw-r--r--tderesources/scalix/scalixadmin/jobs.cpp12
-rw-r--r--tderesources/scalix/scalixadmin/jobs.h6
-rw-r--r--tderesources/scalix/scalixadmin/ldapview.cpp8
-rw-r--r--tderesources/scalix/scalixadmin/ldapview.h2
-rw-r--r--tderesources/scalix/scalixadmin/otherusermanager.h2
-rw-r--r--tderesources/scalix/scalixadmin/otheruserpage.cpp12
-rw-r--r--tderesources/scalix/scalixadmin/otheruserpage.h2
-rw-r--r--tderesources/scalix/scalixadmin/otheruserview.cpp2
-rw-r--r--tderesources/scalix/scalixadmin/otheruserview.h2
-rw-r--r--tderesources/scalix/scalixadmin/outofofficepage.cpp14
-rw-r--r--tderesources/scalix/scalixadmin/outofofficepage.h2
-rw-r--r--tderesources/scalix/scalixadmin/passwordpage.cpp8
-rw-r--r--tderesources/scalix/scalixadmin/passwordpage.h2
-rw-r--r--tderesources/scalix/shared/kmailconnection.cpp10
-rw-r--r--tderesources/scalix/shared/kmailconnection.h2
-rw-r--r--tderesources/scalix/shared/resourcescalixbase.cpp2
-rw-r--r--tderesources/scalix/shared/scalixbase.cpp8
-rw-r--r--tderesources/scalix/tdeabc/contact.cpp8
-rw-r--r--tderesources/scalix/tdeabc/resourcescalix.cpp2
-rw-r--r--tderesources/scalix/tdeabc/resourcescalix.h6
-rw-r--r--tderesources/scalix/tdeioslave/scalix.cpp16
-rw-r--r--tderesources/scalix/tdeioslave/scalix.h2
-rw-r--r--tderesources/slox/kcalresourceslox.cpp38
-rw-r--r--tderesources/slox/kcalresourceslox.h6
-rw-r--r--tderesources/slox/kcalresourcesloxconfig.cpp6
-rw-r--r--tderesources/slox/kcalresourcesloxconfig.h6
-rw-r--r--tderesources/slox/sloxaccounts.cpp6
-rw-r--r--tderesources/slox/sloxaccounts.h6
-rw-r--r--tderesources/slox/sloxbase.h4
-rw-r--r--tderesources/slox/sloxfolder.h4
-rw-r--r--tderesources/slox/sloxfolderdialog.cpp2
-rw-r--r--tderesources/slox/sloxfolderdialog.h2
-rw-r--r--tderesources/slox/sloxfoldermanager.cpp6
-rw-r--r--tderesources/slox/sloxfoldermanager.h6
-rw-r--r--tderesources/slox/tdeabcresourceslox.cpp30
-rw-r--r--tderesources/slox/tdeabcresourceslox.h6
-rw-r--r--tderesources/slox/tdeabcresourcesloxconfig.cpp2
-rw-r--r--tderesources/slox/tdeabcresourcesloxconfig.h6
-rw-r--r--tderesources/slox/testsloxaccounts.cpp2
-rw-r--r--tderesources/slox/webdavhandler.cpp4
-rw-r--r--tderesources/slox/webdavhandler.h6
-rw-r--r--tderesources/tvanytime/kcal_resourcetvanytime.cpp14
-rw-r--r--tderesources/tvanytime/kcal_resourcetvanytime.h6
-rw-r--r--tderesources/tvanytime/kcal_resourcetvanytimeconfig.cpp2
-rw-r--r--tderesources/tvanytime/kcal_resourcetvanytimeconfig.h6
-rw-r--r--tderesources/tvanytime/tvanytime.tdevelop202
176 files changed, 685 insertions, 950 deletions
diff --git a/tderesources/birthdays/resourcetdeabc.cpp b/tderesources/birthdays/resourcetdeabc.cpp
index d36ebddd..0917f6ad 100644
--- a/tderesources/birthdays/resourcetdeabc.cpp
+++ b/tderesources/birthdays/resourcetdeabc.cpp
@@ -30,7 +30,7 @@
#include <kdebug.h>
#include <kurl.h>
#include <tdeio/job.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeabc/stdaddressbook.h>
#include <tdeabc/locknull.h>
@@ -125,7 +125,7 @@ bool ResourceTDEABC::doOpen()
kdDebug(5800) << "ResourceTDEABC::doOpen()" << endl;
mAddressbook = TDEABC::StdAddressBook::self( true );
- connect( mAddressbook, TQT_SIGNAL(addressBookChanged(AddressBook*)), TQT_SLOT( reload() ) );
+ connect( mAddressbook, TQ_SIGNAL(addressBookChanged(AddressBook*)), TQ_SLOT( reload() ) );
return true;
}
@@ -220,7 +220,7 @@ bool ResourceTDEABC::doLoad()
TQString anniversary_string = (*it).custom( "KADDRESSBOOK", "X-Anniversary" );
if (anniversary_string.isEmpty() )
continue;
- TQDateTime anniversary = TQDate::fromString( anniversary_string, Qt::ISODate );
+ TQDateTime anniversary = TQDate::fromString( anniversary_string, TQt::ISODate );
if ( !anniversary.isValid() )
continue;
@@ -232,7 +232,7 @@ bool ResourceTDEABC::doLoad()
for ( addrIt = anniversaries.begin(); addrIt != anniversaries.end(); ++addrIt ) {
if ( name == (*addrIt).realName() ) {
TQDate spouseAnniversary =
- TQDate::fromString( (*addrIt).custom( "KADDRESSBOOK", "X-Anniversary" ), Qt::ISODate );
+ TQDate::fromString( (*addrIt).custom( "KADDRESSBOOK", "X-Anniversary" ), TQt::ISODate );
if ( anniversary == TQDateTime(spouseAnniversary) ) {
found = true;
break;
@@ -247,7 +247,7 @@ bool ResourceTDEABC::doLoad()
}
for ( addrIt = anniversaries.begin(); addrIt != anniversaries.end(); ++addrIt ) {
- TQDate anniversary = TQDate::fromString( (*addrIt).custom( "KADDRESSBOOK", "X-Anniversary" ), Qt::ISODate );
+ TQDate anniversary = TQDate::fromString( (*addrIt).custom( "KADDRESSBOOK", "X-Anniversary" ), TQt::ISODate );
kdDebug(5800) << "found a anniversary " << TQString(anniversary.toString()) << endl;
TQString name;
TQString name_1 = (*addrIt).nickName();
diff --git a/tderesources/birthdays/resourcetdeabc.h b/tderesources/birthdays/resourcetdeabc.h
index 35271c1d..103c404f 100644
--- a/tderesources/birthdays/resourcetdeabc.h
+++ b/tderesources/birthdays/resourcetdeabc.h
@@ -33,7 +33,7 @@
#include "libkcal/resourcecalendar.h"
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEIO {
class FileCopyJob;
@@ -45,9 +45,9 @@ namespace KCal {
/**
Resource providing birthdays and anniversaries as events.
*/
-class KDE_EXPORT ResourceTDEABC : public ResourceCalendar
+class TDE_EXPORT ResourceTDEABC : public ResourceCalendar
{
- Q_OBJECT
+ TQ_OBJECT
friend class ResourceTDEABCConfig;
@@ -77,7 +77,7 @@ class KDE_EXPORT ResourceTDEABC : public ResourceCalendar
TDEABC::Lock *lock();
/** Add Event to calendar. */
- KDE_DEPRECATED bool addEvent(Event *event);
+ TDE_DEPRECATED bool addEvent(Event *event);
bool addEvent( Event *event, const TQString &subresource );
/** deletes an event from this calendar. */
bool deleteEvent(Event *);
@@ -109,7 +109,7 @@ class KDE_EXPORT ResourceTDEABC : public ResourceCalendar
/**
Add a todo to the todolist.
*/
- KDE_DEPRECATED bool addTodo( Todo *todo );
+ TDE_DEPRECATED bool addTodo( Todo *todo );
bool addTodo( Todo *todo, const TQString &subresource );
/**
Remove a todo from the todolist.
@@ -129,7 +129,7 @@ class KDE_EXPORT ResourceTDEABC : public ResourceCalendar
*/
Todo::List rawTodosForDate( const TQDate &date );
/** Add a Journal entry to calendar */
- KDE_DEPRECATED bool addJournal( Journal *journal );
+ TDE_DEPRECATED bool addJournal( Journal *journal );
bool addJournal( Journal *journal, const TQString &subresource );
/** Remove journal from the calendar. */
diff --git a/tderesources/birthdays/resourcetdeabcconfig.cpp b/tderesources/birthdays/resourcetdeabcconfig.cpp
index 0f9b3279..4b3b0a1d 100644
--- a/tderesources/birthdays/resourcetdeabcconfig.cpp
+++ b/tderesources/birthdays/resourcetdeabcconfig.cpp
@@ -61,13 +61,13 @@ ResourceTDEABCConfig::ResourceTDEABCConfig( TQWidget* parent, const char* name
mCategoryView->setEnabled( false );
topLayout->addMultiCellWidget( mCategoryView, 4, 4, 0, 1 );
- connect( mUseCategories, TQT_SIGNAL( toggled( bool ) ),
- mCategoryView, TQT_SLOT( setEnabled( bool ) ) );
+ connect( mUseCategories, TQ_SIGNAL( toggled( bool ) ),
+ mCategoryView, TQ_SLOT( setEnabled( bool ) ) );
mAlarmTimeEdit->setDisabled(true);
mALabel->setDisabled(true);
- connect(mAlarm, TQT_SIGNAL(clicked()), TQT_SLOT(alarmClicked()));
+ connect(mAlarm, TQ_SIGNAL(clicked()), TQ_SLOT(alarmClicked()));
setReadOnly( true );
diff --git a/tderesources/birthdays/resourcetdeabcconfig.h b/tderesources/birthdays/resourcetdeabcconfig.h
index 80efd02b..88ade268 100644
--- a/tderesources/birthdays/resourcetdeabcconfig.h
+++ b/tderesources/birthdays/resourcetdeabcconfig.h
@@ -40,7 +40,7 @@ namespace KCal {
*/
class ResourceTDEABCConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceTDEABCConfig( TQWidget* parent = 0, const char* name = 0 );
diff --git a/tderesources/blogging/API_Blog.h b/tderesources/blogging/API_Blog.h
index 5ad5b478..91f6e623 100644
--- a/tderesources/blogging/API_Blog.h
+++ b/tderesources/blogging/API_Blog.h
@@ -83,7 +83,7 @@ protected:
class APIBlog : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
APIBlog( const KURL &server, TQObject *parent = 0L, const char *name = 0L );
diff --git a/tderesources/blogging/bloggingcalendaradaptor.cpp b/tderesources/blogging/bloggingcalendaradaptor.cpp
index 2ed925a8..9c899e5c 100644
--- a/tderesources/blogging/bloggingcalendaradaptor.cpp
+++ b/tderesources/blogging/bloggingcalendaradaptor.cpp
@@ -102,17 +102,17 @@ void BloggingCalendarAdaptor::setAPI( KBlog::APIBlog *api )
delete mAPI;
mAPI = api;
mAuthenticated = false;
- connect( api, TQT_SIGNAL( userInfoRetrieved( const TQString &, const TQString &,
+ connect( api, TQ_SIGNAL( userInfoRetrieved( const TQString &, const TQString &,
const TQString & ) ),
- TQT_SLOT( slotUserInfoRetrieved( const TQString &, const TQString &,
+ TQ_SLOT( slotUserInfoRetrieved( const TQString &, const TQString &,
const TQString & ) ) );
- connect( api, TQT_SIGNAL( folderInfoRetrieved( const TQString &, const TQString & ) ),
- TQT_SLOT( slotFolderInfoRetrieved( const TQString&, const TQString & ) ) );
- connect( api, TQT_SIGNAL( itemOnServer( const KURL & ) ),
- TQT_SIGNAL( itemOnServer( const KURL & ) ) );
- connect( api, TQT_SIGNAL( itemDownloaded( KCal::Incidence *, const TQString &,
+ connect( api, TQ_SIGNAL( folderInfoRetrieved( const TQString &, const TQString & ) ),
+ TQ_SLOT( slotFolderInfoRetrieved( const TQString&, const TQString & ) ) );
+ connect( api, TQ_SIGNAL( itemOnServer( const KURL & ) ),
+ TQ_SIGNAL( itemOnServer( const KURL & ) ) );
+ connect( api, TQ_SIGNAL( itemDownloaded( KCal::Incidence *, const TQString &,
const KURL &, const TQString &, const TQString & ) ),
- TQT_SLOT( calendarItemDownloaded( KCal::Incidence *, const TQString &,
+ TQ_SLOT( calendarItemDownloaded( KCal::Incidence *, const TQString &,
const KURL &, const TQString &, const TQString & ) ) );
}
diff --git a/tderesources/blogging/bloggingcalendaradaptor.h b/tderesources/blogging/bloggingcalendaradaptor.h
index ee6d292a..527955fb 100644
--- a/tderesources/blogging/bloggingcalendaradaptor.h
+++ b/tderesources/blogging/bloggingcalendaradaptor.h
@@ -50,7 +50,7 @@ class BloggingUploadItem : public KPIM::GroupwareUploadItem
class BloggingCalendarAdaptor : public CalendarAdaptor
{
-Q_OBJECT
+TQ_OBJECT
public:
BloggingCalendarAdaptor();
diff --git a/tderesources/blogging/kcal_resourceblogging.h b/tderesources/blogging/kcal_resourceblogging.h
index 56d3cad2..1cbd01f8 100644
--- a/tderesources/blogging/kcal_resourceblogging.h
+++ b/tderesources/blogging/kcal_resourceblogging.h
@@ -22,7 +22,7 @@
#define KCAL_RESOURCEBLOGGING_H
#include <kcal_resourcegroupwarebase.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace KBlog {
class APIBlog;
@@ -33,9 +33,9 @@ namespace KCal {
/**
This class provides a resource for accessing blogs on a blogging server as journals
*/
-class KDE_EXPORT ResourceBlogging : public ResourceGroupwareBase
+class TDE_EXPORT ResourceBlogging : public ResourceGroupwareBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceBlogging();
diff --git a/tderesources/blogging/kcal_resourcebloggingconfig.h b/tderesources/blogging/kcal_resourcebloggingconfig.h
index d2062d76..ca387006 100644
--- a/tderesources/blogging/kcal_resourcebloggingconfig.h
+++ b/tderesources/blogging/kcal_resourcebloggingconfig.h
@@ -20,14 +20,14 @@
#ifndef KCAL_RESOURCEBLOGGINGCONFIG_H
#define KCAL_RESOURCEBLOGGINGCONFIG_H
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <kcal_resourcegroupwarebaseconfig.h>
namespace KCal {
-class KDE_EXPORT ResourceBloggingConfig : public ResourceGroupwareBaseConfig
+class TDE_EXPORT ResourceBloggingConfig : public ResourceGroupwareBaseConfig
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceBloggingConfig( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/blogging/xmlrpcjob.h b/tderesources/blogging/xmlrpcjob.h
index c03346a6..fbff25c9 100644
--- a/tderesources/blogging/xmlrpcjob.h
+++ b/tderesources/blogging/xmlrpcjob.h
@@ -44,7 +44,7 @@ namespace TDEIO {
* @since 3.4
*/
class XmlrpcJob : public TransferJob {
-Q_OBJECT
+TQ_OBJECT
public:
diff --git a/tderesources/caldav/config.cpp b/tderesources/caldav/config.cpp
index b83660f8..4a9888ea 100644
--- a/tderesources/caldav/config.cpp
+++ b/tderesources/caldav/config.cpp
@@ -167,12 +167,12 @@ void ResourceCalDavConfig::setupUI() {
mainLayout->addWidget(mRememberPassword, 8, 1);
mTasksUrl->setEnabled(mUseSTasks->isChecked());
- connect( mUseSTasks, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotSTasksToggled( bool ) ) );
+ connect( mUseSTasks, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( slotSTasksToggled( bool ) ) );
mJournalsUrl->setEnabled(mUseSJournals->isChecked());
- connect( mUseSJournals, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotSJournalsToggled( bool ) ) );
+ connect( mUseSJournals, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( slotSJournalsToggled( bool ) ) );
// configs
TQHBoxLayout* horizontal = new TQHBoxLayout(this);
diff --git a/tderesources/caldav/config.h b/tderesources/caldav/config.h
index fe03114c..23ea20fb 100644
--- a/tderesources/caldav/config.h
+++ b/tderesources/caldav/config.h
@@ -19,7 +19,7 @@
#include "resource.h"
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tderesources/configwidget.h>
class TQLineEdit;
@@ -37,9 +37,9 @@ class CalDavSaveConfig;
/**
* Configuration widget for CalDAV resource.
*/
-class KDE_EXPORT ResourceCalDavConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceCalDavConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/caldav/configwidgets.cpp b/tderesources/caldav/configwidgets.cpp
index db620741..9f4f1e11 100644
--- a/tderesources/caldav/configwidgets.cpp
+++ b/tderesources/caldav/configwidgets.cpp
@@ -103,8 +103,8 @@ CalDavReloadConfig::CalDavReloadConfig( TQWidget *parent )
d->mGroup->insert( automaticReloadOnStartup, 1 );
d->mGroup->insert( noAutomaticReload, 0 );
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
+ connect( intervalRadio, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( slotIntervalToggled( bool ) ) );
TQHBox *intervalBox = new TQHBox( groupBox );
//new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
@@ -113,7 +113,7 @@ CalDavReloadConfig::CalDavReloadConfig( TQWidget *parent )
d->mIntervalSpin->setRange( 1, 900 );
d->mIntervalSpin->setEnabled( false );
- groupBox->setColumnLayout(1, Qt::Vertical);
+ groupBox->setColumnLayout(1, TQt::Vertical);
TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
vbox->addWidget(intervalRadio);
vbox->addWidget(intervalBox);
@@ -179,8 +179,8 @@ CalDavSaveConfig::CalDavSaveConfig( TQWidget *parent )
d->mGroup->insert( onExit, 1 );
d->mGroup->insert( intervalRadio, 2 );
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
+ connect( intervalRadio, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( slotIntervalToggled( bool ) ) );
TQHBox *intervalBox = new TQHBox( groupBox );
//new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
@@ -206,7 +206,7 @@ CalDavSaveConfig::CalDavSaveConfig( TQWidget *parent )
intervalRadio->hide();
intervalBox->hide();
- groupBox->setColumnLayout(1, Qt::Vertical);
+ groupBox->setColumnLayout(1, TQt::Vertical);
TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
vbox->addWidget(delay);
vbox->addWidget(every);
diff --git a/tderesources/caldav/configwidgets.h b/tderesources/caldav/configwidgets.h
index 1e524844..07362c01 100644
--- a/tderesources/caldav/configwidgets.h
+++ b/tderesources/caldav/configwidgets.h
@@ -36,7 +36,7 @@
#define KCALDAV_AUTOWIDGETS_H
#include <tqwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace KCal {
@@ -47,9 +47,9 @@ class ResourceCached;
@see ResourceCached
*/
-class KDE_EXPORT CalDavReloadConfig : public TQWidget
+class TDE_EXPORT CalDavReloadConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
explicit CalDavReloadConfig( TQWidget *parent = 0 );
@@ -74,9 +74,9 @@ class KDE_EXPORT CalDavReloadConfig : public TQWidget
@see ResourceCached
*/
-class KDE_EXPORT CalDavSaveConfig : public TQWidget
+class TDE_EXPORT CalDavSaveConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
explicit CalDavSaveConfig( TQWidget *parent = 0 );
diff --git a/tderesources/caldav/resource.cpp b/tderesources/caldav/resource.cpp
index 8fae5c98..9ab685c8 100644
--- a/tderesources/caldav/resource.cpp
+++ b/tderesources/caldav/resource.cpp
@@ -197,7 +197,7 @@ bool ResourceCalDav::doSave() {
clearChanges();
if (mWriteRetryTimer != NULL) {
if (mWriteRetryTimer->isActive() == false) {
- disconnect( mWriteRetryTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(doSave()) );
+ disconnect( mWriteRetryTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(doSave()) );
delete mWriteRetryTimer;
mWriteRetryTimer = NULL;
}
@@ -249,8 +249,8 @@ void ResourceCalDav::init() {
// creating jobs
// TQt4 handles this quite differently, as shown below,
// whereas TQt3 needs events (see ::event())
-// connect(mLoader, TQT_SIGNAL(finished()), this, TQT_SLOT(loadFinished()));
-// connect(mWriter, TQT_SIGNAL(finished()), this, TQT_SLOT(writingFinished()));
+// connect(mLoader, TQ_SIGNAL(finished()), this, TQ_SLOT(loadFinished()));
+// connect(mWriter, TQ_SIGNAL(finished()), this, TQ_SLOT(writingFinished()));
setType("ResourceCalDav");
}
@@ -827,14 +827,14 @@ bool ResourceCalDav::event ( TQEvent * e ) {
if (e->type() == 1000) {
// Read done
loadFinished();
- return TRUE;
+ return true;
}
else if (e->type() == 1001) {
// Write done
writingFinished();
- return TRUE;
+ return true;
}
- else return FALSE;
+ else return false;
}
void ResourceCalDav::releaseReadLockout() {
@@ -850,9 +850,9 @@ bool ResourceCalDav::startWriting(const TQString& url, const TQString& tasksUrl,
if ((mLoader->running() == true) || (mLoadingQueue.isEmpty() == false) || (mWriter->running() == true) || (mWritingQueue.isEmpty() == false)) {
if (mWriteRetryTimer == NULL) {
mWriteRetryTimer = new TQTimer(this);
- connect( mWriteRetryTimer, TQT_SIGNAL(timeout()), TQT_SLOT(doSave()) );
+ connect( mWriteRetryTimer, TQ_SIGNAL(timeout()), TQ_SLOT(doSave()) );
}
- mWriteRetryTimer->start(1000, TRUE);
+ mWriteRetryTimer->start(1000, true);
return false;
}
@@ -995,7 +995,7 @@ void ResourceCalDav::writingFinished() {
}
// Give the remote system a few seconds to process the data before we allow any read operations
- TQTimer::singleShot( 3000, this, TQT_SLOT(releaseReadLockout()) );
+ TQTimer::singleShot( 3000, this, TQ_SLOT(releaseReadLockout()) );
// Writing queue and mWritingQueueReady flag are not shared resources, i.e. only one thread has an access to them.
// That's why no mutexes are required.
diff --git a/tderesources/caldav/resource.h b/tderesources/caldav/resource.h
index 96f88a45..326806b1 100644
--- a/tderesources/caldav/resource.h
+++ b/tderesources/caldav/resource.h
@@ -26,7 +26,7 @@
#include <tdeabc/locknull.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tdeconfig.h>
namespace KCal {
@@ -41,9 +41,9 @@ class CalDavWriter;
/**
* This class provides a resource for accessing calendars via CalDAV protocol.
*/
-class KDE_EXPORT ResourceCalDav : public ResourceCached
+class TDE_EXPORT ResourceCalDav : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/carddav/config.h b/tderesources/carddav/config.h
index e9919723..c4c8c659 100644
--- a/tderesources/carddav/config.h
+++ b/tderesources/carddav/config.h
@@ -18,7 +18,7 @@
#include "resource.h"
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tderesources/configwidget.h>
class TQLineEdit;
@@ -36,9 +36,9 @@ class CardDavSaveConfig;
/**
* Configuration widget for CardDAV resource.
*/
-class KDE_EXPORT ResourceCardDavConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceCardDavConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/carddav/configwidgets.cpp b/tderesources/carddav/configwidgets.cpp
index d0e55a5f..60fc5ed2 100644
--- a/tderesources/carddav/configwidgets.cpp
+++ b/tderesources/carddav/configwidgets.cpp
@@ -102,8 +102,8 @@ CardDavReloadConfig::CardDavReloadConfig( TQWidget *parent )
d->mGroup->insert( automaticReloadOnStartup, 1 );
d->mGroup->insert( noAutomaticReload, 0 );
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
+ connect( intervalRadio, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( slotIntervalToggled( bool ) ) );
TQHBox *intervalBox = new TQHBox( groupBox );
//new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
@@ -112,7 +112,7 @@ CardDavReloadConfig::CardDavReloadConfig( TQWidget *parent )
d->mIntervalSpin->setRange( 1, 900 );
d->mIntervalSpin->setEnabled( false );
- groupBox->setColumnLayout(1, Qt::Vertical);
+ groupBox->setColumnLayout(1, TQt::Vertical);
TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
vbox->addWidget(intervalRadio);
vbox->addWidget(intervalBox);
@@ -178,8 +178,8 @@ CardDavSaveConfig::CardDavSaveConfig( TQWidget *parent )
d->mGroup->insert( onExit, 1 );
d->mGroup->insert( intervalRadio, 2 );
- connect( intervalRadio, TQT_SIGNAL( toggled( bool ) ),
- TQT_SLOT( slotIntervalToggled( bool ) ) );
+ connect( intervalRadio, TQ_SIGNAL( toggled( bool ) ),
+ TQ_SLOT( slotIntervalToggled( bool ) ) );
TQHBox *intervalBox = new TQHBox( groupBox );
//new TQLabel( i18nc( "@label:spinbox", "Interval in minutes:" ), intervalBox );
@@ -205,7 +205,7 @@ CardDavSaveConfig::CardDavSaveConfig( TQWidget *parent )
intervalRadio->hide();
intervalBox->hide();
- groupBox->setColumnLayout(1, Qt::Vertical);
+ groupBox->setColumnLayout(1, TQt::Vertical);
TQVBoxLayout *vbox = new TQVBoxLayout(groupBox->layout());
vbox->addWidget(delay);
vbox->addWidget(every);
diff --git a/tderesources/carddav/configwidgets.h b/tderesources/carddav/configwidgets.h
index f63535c9..f723cda6 100644
--- a/tderesources/carddav/configwidgets.h
+++ b/tderesources/carddav/configwidgets.h
@@ -35,7 +35,7 @@
#define KCARDDAV_AUTOWIDGETS_H
#include <tqwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEABC {
@@ -46,9 +46,9 @@ class ResourceCached;
@see ResourceCached
*/
-class KDE_EXPORT CardDavReloadConfig : public TQWidget
+class TDE_EXPORT CardDavReloadConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
explicit CardDavReloadConfig( TQWidget *parent = 0 );
@@ -73,9 +73,9 @@ class KDE_EXPORT CardDavReloadConfig : public TQWidget
@see ResourceCached
*/
-class KDE_EXPORT CardDavSaveConfig : public TQWidget
+class TDE_EXPORT CardDavSaveConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
explicit CardDavSaveConfig( TQWidget *parent = 0 );
diff --git a/tderesources/carddav/resource.cpp b/tderesources/carddav/resource.cpp
index 69eb98e4..4bc11df0 100644
--- a/tderesources/carddav/resource.cpp
+++ b/tderesources/carddav/resource.cpp
@@ -197,7 +197,7 @@ bool ResourceCardDav::doSave() {
clearChanges();
if (mWriteRetryTimer != NULL) {
if (mWriteRetryTimer->isActive() == false) {
- disconnect( mWriteRetryTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(doSave()) );
+ disconnect( mWriteRetryTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(doSave()) );
delete mWriteRetryTimer;
mWriteRetryTimer = NULL;
}
@@ -256,8 +256,8 @@ void ResourceCardDav::init() {
// creating jobs
// TQt4 handles this quite differently, as shown below,
// whereas TQt3 needs events (see ::event())
-// connect(mLoader, TQT_SIGNAL(finished()), this, TQT_SLOT(loadFinished()));
-// connect(mWriter, TQT_SIGNAL(finished()), this, TQT_SLOT(writingFinished()));
+// connect(mLoader, TQ_SIGNAL(finished()), this, TQ_SLOT(loadFinished()));
+// connect(mWriter, TQ_SIGNAL(finished()), this, TQ_SLOT(writingFinished()));
setType("ResourceCardDav");
}
@@ -587,14 +587,14 @@ bool ResourceCardDav::event ( TQEvent * e ) {
if (e->type() == 1000) {
// Read done
loadFinished();
- return TRUE;
+ return true;
}
else if (e->type() == 1001) {
// Write done
writingFinished();
- return TRUE;
+ return true;
}
- else return FALSE;
+ else return false;
}
bool ResourceCardDav::startWriting(const TQString& url) {
@@ -609,9 +609,9 @@ bool ResourceCardDav::startWriting(const TQString& url) {
if ((mLoader->running() == true) || (mLoadingQueue.isEmpty() == false) || (mWriter->running() == true) || (mWritingQueue.isEmpty() == false)) {
if (mWriteRetryTimer == NULL) {
mWriteRetryTimer = new TQTimer(this);
- connect( mWriteRetryTimer, TQT_SIGNAL(timeout()), TQT_SLOT(doSave()) );
+ connect( mWriteRetryTimer, TQ_SIGNAL(timeout()), TQ_SLOT(doSave()) );
}
- mWriteRetryTimer->start(1000, TRUE);
+ mWriteRetryTimer->start(1000, true);
return false;
}
diff --git a/tderesources/carddav/resource.h b/tderesources/carddav/resource.h
index a24b12a7..a76754bd 100644
--- a/tderesources/carddav/resource.h
+++ b/tderesources/carddav/resource.h
@@ -25,7 +25,7 @@
#include <tdeabc/locknull.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tdeconfig.h>
namespace TDEABC {
@@ -40,9 +40,9 @@ class CardDavWriter;
/**
* This class provides a resource for accessing calendars via CardDAV protocol.
*/
-class KDE_EXPORT ResourceCardDav : public ResourceCached
+class TDE_EXPORT ResourceCardDav : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/debugdialog.h b/tderesources/egroupware/debugdialog.h
index bde17988..008e881e 100644
--- a/tderesources/egroupware/debugdialog.h
+++ b/tderesources/egroupware/debugdialog.h
@@ -31,7 +31,7 @@ class KTextBrowser;
*/
class DebugDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/kcal_resourcexmlrpc.cpp b/tderesources/egroupware/kcal_resourcexmlrpc.cpp
index 676770ed..7e63ac42 100644
--- a/tderesources/egroupware/kcal_resourcexmlrpc.cpp
+++ b/tderesources/egroupware/kcal_resourcexmlrpc.cpp
@@ -32,7 +32,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tderesources/configwidget.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <kurl.h>
#include <libtdepim/kpimprefs.h>
@@ -197,8 +197,8 @@ bool ResourceXMLRPC::doOpen()
args.insert( "password", mPrefs->password() );
mServer->call( "system.login", TQVariant( args ),
- this, TQT_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mSynchronizer->start();
@@ -214,8 +214,8 @@ void ResourceXMLRPC::doClose()
args.insert( "kp3", mKp3 );
mServer->call( "system.logout", TQVariant( args ),
- this, TQT_SLOT( logoutFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( logoutFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mSynchronizer->start();
}
@@ -243,8 +243,8 @@ bool ResourceXMLRPC::doLoad()
args.insert( "end", TQDateTime( TQDate::currentDate().addDays( 2000 ) ) );
mServer->call( SearchEventsCommand, args,
- this, TQT_SLOT( listEventsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( listEventsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
args.clear();
columns.insert( "type", "task" );
@@ -253,16 +253,16 @@ bool ResourceXMLRPC::doLoad()
args.insert( "order", "id_parent" );
mServer->call( SearchTodosCommand, args,
- this, TQT_SLOT( listTodosFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( listTodosFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mServer->call( LoadEventCategoriesCommand, TQVariant( TQStringVariantMap() ),
- this, TQT_SLOT( loadEventCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( loadEventCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mServer->call( LoadTodoCategoriesCommand, TQVariant( false ),
- this, TQT_SLOT( loadTodoCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( loadTodoCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
return true;
}
@@ -286,8 +286,8 @@ bool ResourceXMLRPC::doSave()
args.insert( "id", idMapper().remoteId( (*evIt)->uid() ).toInt() );
mServer->call( AddEventCommand, TQVariant( args ),
- this, TQT_SLOT( updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
counter++;
}
}
@@ -302,8 +302,8 @@ bool ResourceXMLRPC::doSave()
args.insert( "id", idMapper().remoteId( (*todoIt)->uid() ).toInt() );
mServer->call( AddTodoCommand, TQVariant( args ),
- this, TQT_SLOT( updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
counter++;
}
}
@@ -340,8 +340,8 @@ bool ResourceXMLRPC::addEvent( Event* ev )
writeEvent( ev, args );
args.insert( "id", idMapper().remoteId( ev->uid() ).toInt() );
mServer->call( AddEventCommand, TQVariant( args ),
- this, TQT_SLOT( updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( updateEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mCalendar.deleteIncidence( oldEvent );
mCalendar.addIncidence( ev );
@@ -350,8 +350,8 @@ bool ResourceXMLRPC::addEvent( Event* ev )
} else { // new event
writeEvent( ev, args );
mServer->call( AddEventCommand, TQVariant( args ),
- this, TQT_SLOT( addEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( addEventFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ),
TQVariant( ev->uid() ) );
mCalendar.addEvent( ev );
@@ -369,9 +369,9 @@ bool ResourceXMLRPC::deleteEvent( Event* ev )
return false;
mServer->call( DeleteEventCommand, idMapper().remoteId( ev->uid() ).toInt(),
- this, TQT_SLOT( deleteEventFinished( const TQValueList<TQVariant>&,
+ this, TQ_SLOT( deleteEventFinished( const TQValueList<TQVariant>&,
const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ),
TQVariant( ev->uid() ) );
return true;
}
@@ -420,8 +420,8 @@ bool ResourceXMLRPC::addTodo( Todo *todo )
writeTodo( todo, args );
args.insert( "id", idMapper().remoteId( todo->uid() ).toInt() );
mServer->call( AddTodoCommand, TQVariant( args ),
- this, TQT_SLOT( updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( updateTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mCalendar.deleteIncidence( oldTodo );
mCalendar.addIncidence( todo );
@@ -430,8 +430,8 @@ bool ResourceXMLRPC::addTodo( Todo *todo )
} else { // new todo
writeTodo( todo, args );
mServer->call( AddTodoCommand, TQVariant( args ),
- this, TQT_SLOT( addTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( addTodoFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ),
TQVariant( todo->uid() ) );
mCalendar.addTodo( todo );
@@ -449,9 +449,9 @@ bool ResourceXMLRPC::deleteTodo( Todo *todo )
return false;
mServer->call( DeleteTodoCommand, idMapper().remoteId( todo->uid() ).toInt(),
- this, TQT_SLOT( deleteTodoFinished( const TQValueList<TQVariant>&,
+ this, TQ_SLOT( deleteTodoFinished( const TQValueList<TQVariant>&,
const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ),
TQVariant( todo->uid() ) );
return true;
}
diff --git a/tderesources/egroupware/kcal_resourcexmlrpc.h b/tderesources/egroupware/kcal_resourcexmlrpc.h
index 0e46c6d3..53005dd5 100644
--- a/tderesources/egroupware/kcal_resourcexmlrpc.h
+++ b/tderesources/egroupware/kcal_resourcexmlrpc.h
@@ -29,7 +29,7 @@
#include <tdeconfig.h>
#include <kurl.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include "libkcal/calendarlocal.h"
#include "libkcal/incidence.h"
@@ -50,9 +50,9 @@ class EGroupwarePrefs;
/**
This class provides access to php/eGroupware calendar via XML-RPC.
*/
-class KDE_EXPORT ResourceXMLRPC : public ResourceCached
+class TDE_EXPORT ResourceXMLRPC : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/kcal_resourcexmlrpcconfig.h b/tderesources/egroupware/kcal_resourcexmlrpcconfig.h
index b99bca73..15aded2e 100644
--- a/tderesources/egroupware/kcal_resourcexmlrpcconfig.h
+++ b/tderesources/egroupware/kcal_resourcexmlrpcconfig.h
@@ -22,7 +22,7 @@
#define RESOURCEXMLRPCCONFIG_H
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class KIntSpinBox;
class KLineEdit;
@@ -30,9 +30,9 @@ class KURLRequester;
namespace KCal {
-class KDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/knotes_resourcexmlrpc.cpp b/tderesources/egroupware/knotes_resourcexmlrpc.cpp
index 9a477076..80262ed7 100644
--- a/tderesources/egroupware/knotes_resourcexmlrpc.cpp
+++ b/tderesources/egroupware/knotes_resourcexmlrpc.cpp
@@ -24,7 +24,7 @@
#include <kdebug.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <kurl.h>
@@ -123,8 +123,8 @@ bool ResourceXMLRPC::load()
args.insert( "password", mPrefs->password() );
mServer->call( "system.login", TQVariant( args ),
- this, TQT_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mSynchronizer->start();
@@ -135,8 +135,8 @@ bool ResourceXMLRPC::load()
args.insert( "order", "id_parent" );
mServer->call( SearchNotesCommand, args,
- this, TQT_SLOT( listNotesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( listNotesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mSynchronizer->start();
@@ -163,15 +163,15 @@ bool ResourceXMLRPC::addNote( KCal::Journal *journal )
writeNote( journal, args );
args.insert( "id", mUidMap[ journal->uid() ].toInt() );
mServer->call( AddNoteCommand, TQVariant( args ),
- this, TQT_SLOT( updateNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( updateNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mCalendar.addJournal( journal );
added = true;
}
} else {
mServer->call( AddNoteCommand, TQVariant( args ),
- this, TQT_SLOT( addNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( addNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ),
TQVariant( journal->uid() ) );
mCalendar.addJournal( journal );
@@ -189,8 +189,8 @@ bool ResourceXMLRPC::deleteNote( KCal::Journal *journal )
int id = mUidMap[ journal->uid() ].toInt();
mServer->call( DeleteNoteCommand, id,
- this, TQT_SLOT( deleteNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( deleteNoteFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ),
TQVariant( journal->uid() ) );
mSynchronizer->start();
diff --git a/tderesources/egroupware/knotes_resourcexmlrpc.h b/tderesources/egroupware/knotes_resourcexmlrpc.h
index 336488de..c52c3925 100644
--- a/tderesources/egroupware/knotes_resourcexmlrpc.h
+++ b/tderesources/egroupware/knotes_resourcexmlrpc.h
@@ -27,7 +27,7 @@
#include <tdeconfig.h>
#include <kurl.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include "libkcal/calendarlocal.h"
#include "libkcal/journal.h"
@@ -46,9 +46,9 @@ class EGroupwarePrefs;
/**
This class provides access to eGroupware notes via XML-RPC.
*/
-class KDE_EXPORT ResourceXMLRPC : public ResourceNotes
+class TDE_EXPORT ResourceXMLRPC : public ResourceNotes
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/knotes_resourcexmlrpcconfig.h b/tderesources/egroupware/knotes_resourcexmlrpcconfig.h
index e6b05bee..3693e67c 100644
--- a/tderesources/egroupware/knotes_resourcexmlrpcconfig.h
+++ b/tderesources/egroupware/knotes_resourcexmlrpcconfig.h
@@ -22,7 +22,7 @@
#define RESOURCEXMLRPCCONFIG_H
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class KIntSpinBox;
class KLineEdit;
@@ -30,9 +30,9 @@ class KURLRequester;
namespace KNotes {
-class KDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/synchronizer.h b/tderesources/egroupware/synchronizer.h
index ed9fd135..9e14fd93 100644
--- a/tderesources/egroupware/synchronizer.h
+++ b/tderesources/egroupware/synchronizer.h
@@ -37,8 +37,8 @@
...
job = TDEIO::file_copy( url, file, -1, true );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotResult( TDEIO::Job * ) ) );
mSynchronizer.start(); // will block here until the slot was called
...
diff --git a/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp b/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp
index dd791cd8..232eb94f 100644
--- a/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp
+++ b/tderesources/egroupware/tdeabc_resourcexmlrpc.cpp
@@ -26,7 +26,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <kmdcodec.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <libkcal/freebusyurlstore.h>
#include <libtdepim/kpimprefs.h>
@@ -159,8 +159,8 @@ bool ResourceXMLRPC::doOpen()
args.insert( "password", mPrefs->password() );
mServer->call( "system.login", TQVariant( args ),
- this, TQT_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( loginFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mSynchronizer->start();
@@ -174,8 +174,8 @@ void ResourceXMLRPC::doClose()
args.insert( "kp3", mKp3 );
mServer->call( "system.logout", TQVariant( args ),
- this, TQT_SLOT( logoutFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( logoutFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mSynchronizer->start();
}
@@ -205,16 +205,16 @@ bool ResourceXMLRPC::asyncLoad()
args.insert( "include_users", "calendar" );
mServer->call( SearchContactsCommand, args,
- this, TQT_SLOT( listContactsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( listContactsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mServer->call( LoadCategoriesCommand, TQVariant( false ),
- this, TQT_SLOT( loadCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( loadCategoriesFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
mServer->call( LoadCustomFieldsCommand, TQVariant( TQValueList<TQVariant>() ),
- this, TQT_SLOT( loadCustomFieldsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
+ this, TQ_SLOT( loadCustomFieldsFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( fault( int, const TQString&, const TQVariant& ) ) );
return true;
}
@@ -253,8 +253,8 @@ void ResourceXMLRPC::addContact( const Addressee& addr )
writeContact( addr, args );
mServer->call( AddContactCommand, args,
- this, TQT_SLOT( addContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( addContactFault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( addContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( addContactFault( int, const TQString&, const TQVariant& ) ),
TQVariant( addr.uid() ) );
}
@@ -270,8 +270,8 @@ void ResourceXMLRPC::updateContact( const Addressee& addr )
args.insert( "id", idMapper().remoteId( addr.uid() ) );
mServer->call( AddContactCommand, args,
- this, TQT_SLOT( updateContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( updateContactFault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( updateContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( updateContactFault( int, const TQString&, const TQVariant& ) ),
TQVariant( addr.uid() ) );
}
@@ -284,8 +284,8 @@ void ResourceXMLRPC::deleteContact( const Addressee& addr )
}
mServer->call( DeleteContactCommand, idMapper().remoteId( addr.uid() ),
- this, TQT_SLOT( deleteContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
- this, TQT_SLOT( deleteContactFault( int, const TQString&, const TQVariant& ) ),
+ this, TQ_SLOT( deleteContactFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
+ this, TQ_SLOT( deleteContactFault( int, const TQString&, const TQVariant& ) ),
TQVariant( addr.uid() ) );
}
diff --git a/tderesources/egroupware/tdeabc_resourcexmlrpc.h b/tderesources/egroupware/tdeabc_resourcexmlrpc.h
index c0ccb944..c9e318f4 100644
--- a/tderesources/egroupware/tdeabc_resourcexmlrpc.h
+++ b/tderesources/egroupware/tdeabc_resourcexmlrpc.h
@@ -22,7 +22,7 @@
#define TDEABC_RESOURCEXMLRPC_H
#include <tqmap.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include "libtdepim/tdeabcresourcecached.h"
@@ -37,9 +37,9 @@ namespace TDEABC {
class EGroupwarePrefs;
-class KDE_EXPORT ResourceXMLRPC : public ResourceCached
+class TDE_EXPORT ResourceXMLRPC : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/tdeabc_resourcexmlrpcconfig.h b/tderesources/egroupware/tdeabc_resourcexmlrpcconfig.h
index 57773483..502f0597 100644
--- a/tderesources/egroupware/tdeabc_resourcexmlrpcconfig.h
+++ b/tderesources/egroupware/tdeabc_resourcexmlrpcconfig.h
@@ -22,16 +22,16 @@
#define RESOURCEXMLRPCCONFIG_H
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class KLineEdit;
class KURLRequester;
namespace TDEABC {
-class KDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceXMLRPCConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/egroupware/todostatemapper.cpp b/tderesources/egroupware/todostatemapper.cpp
index 531b298f..97742559 100644
--- a/tderesources/egroupware/todostatemapper.cpp
+++ b/tderesources/egroupware/todostatemapper.cpp
@@ -23,7 +23,7 @@
#include <tqfile.h>
#include <kdebug.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include "todostatemapper.h"
diff --git a/tderesources/egroupware/xmlrpciface.cpp b/tderesources/egroupware/xmlrpciface.cpp
index 4afb0b84..29d5563e 100644
--- a/tderesources/egroupware/xmlrpciface.cpp
+++ b/tderesources/egroupware/xmlrpciface.cpp
@@ -78,10 +78,10 @@ void Query::call( const TQString &server, const TQString &method,
job->addMetaData( "content-type", "Content-Type: text/xml; charset=utf-8" );
job->addMetaData( "ConnectTimeout", "50" );
- connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- this, TQT_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ this, TQ_SLOT( slotData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
m_pendingJobs.append( job );
}
@@ -222,7 +222,7 @@ TQString Query::marshal( const TQVariant &arg ) const
case TQVariant::ByteArray:
return "<value><base64>" + KCodecs::base64Encode( arg.toByteArray() ) + "</base64></value>\r\n";
case TQVariant::DateTime:
- return "<value><datetime.iso8601>" + arg.toDateTime().toString( Qt::ISODate ) + "</datetime.iso8601></value>\r\n";
+ return "<value><datetime.iso8601>" + arg.toDateTime().toString( TQt::ISODate ) + "</datetime.iso8601></value>\r\n";
case TQVariant::List:
{
TQString markup = "<value><array><data>\r\n";
@@ -279,7 +279,7 @@ TQVariant Query::demarshal( const TQDomElement &elem ) const
else if ( typeName == "base64" )
return TQVariant( KCodecs::base64Decode( TQCString(typeElement.text().latin1()) ) );
else if ( typeName == "datetime" || typeName == "datetime.iso8601" )
- return TQVariant( TQDateTime::fromString( typeElement.text(), Qt::ISODate ) );
+ return TQVariant( TQDateTime::fromString( typeElement.text(), TQt::ISODate ) );
else if ( typeName == "array" )
{
TQValueList<TQVariant> values;
@@ -360,9 +360,9 @@ void Server::call( const TQString &method, const TQValueList<TQVariant> &args,
kdWarning() << "Cannot execute call to " << method << ": empty server URL" << endl;
Query *query = Query::create( id, this );
- connect( query, TQT_SIGNAL( message( const TQValueList<TQVariant> &, const TQVariant& ) ), msgObj, messageSlot );
- connect( query, TQT_SIGNAL( fault( int, const TQString&, const TQVariant& ) ), faultObj, faultSlot );
- connect( query, TQT_SIGNAL( finished( Query* ) ), this, TQT_SLOT( queryFinished( Query* ) ) );
+ connect( query, TQ_SIGNAL( message( const TQValueList<TQVariant> &, const TQVariant& ) ), msgObj, messageSlot );
+ connect( query, TQ_SIGNAL( fault( int, const TQString&, const TQVariant& ) ), faultObj, faultSlot );
+ connect( query, TQ_SIGNAL( finished( Query* ) ), this, TQ_SLOT( queryFinished( Query* ) ) );
mPendingQueries.append( query );
query->call( m_url.url(), method, args, m_userAgent );
diff --git a/tderesources/egroupware/xmlrpciface.h b/tderesources/egroupware/xmlrpciface.h
index df2f3a6d..fb2f23df 100644
--- a/tderesources/egroupware/xmlrpciface.h
+++ b/tderesources/egroupware/xmlrpciface.h
@@ -32,7 +32,7 @@ namespace KXMLRPC
class Query : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -77,7 +77,7 @@ namespace KXMLRPC
class Server : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
Server( const KURL &url = KURL(),
diff --git a/tderesources/exchange/dateset.cpp b/tderesources/exchange/dateset.cpp
index b2622902..5366b029 100644
--- a/tderesources/exchange/dateset.cpp
+++ b/tderesources/exchange/dateset.cpp
@@ -239,7 +239,7 @@ void DateSet::print()
}
// Try and merge range i with range i+1
-// NOT TRUE preconditions: range i starts before range i+1, but MAY end later!
+// NOT true preconditions: range i starts before range i+1, but MAY end later!
// preconditions: range i starts before or in range i+1
bool DateSet::tryMerge( int i )
{
diff --git a/tderesources/exchange/resourceexchange.cpp b/tderesources/exchange/resourceexchange.cpp
index ae65f9cd..a2cbbed0 100644
--- a/tderesources/exchange/resourceexchange.cpp
+++ b/tderesources/exchange/resourceexchange.cpp
@@ -123,18 +123,18 @@ bool ResourceExchange::doOpen()
kdDebug() << "ResourceExchange::doOpen()" << endl;
mClient = new ExchangeClient( mAccount, mTimeZoneId );
- connect( mClient, TQT_SIGNAL( downloadFinished( int, const TQString & ) ),
- TQT_SLOT( slotDownloadFinished( int, const TQString & ) ) );
- connect( mClient, TQT_SIGNAL( event( KCal::Event *, const KURL & ) ),
- TQT_SLOT( downloadedEvent( KCal::Event *, const KURL & ) ) );
+ connect( mClient, TQ_SIGNAL( downloadFinished( int, const TQString & ) ),
+ TQ_SLOT( slotDownloadFinished( int, const TQString & ) ) );
+ connect( mClient, TQ_SIGNAL( event( KCal::Event *, const KURL & ) ),
+ TQ_SLOT( downloadedEvent( KCal::Event *, const KURL & ) ) );
#if 0
kdDebug() << "Creating monitor" << endl;
TQHostAddress ip;
ip.setAddress( mAccount->host() );
mMonitor = new ExchangeMonitor( mAccount, ExchangeMonitor::CallBack, ip );
- connect( mMonitor, TQT_SIGNAL(notify( const TQValueList<long>& , const TQValueList<KURL>& )), this, TQT_SLOT(slotMonitorNotify( const TQValueList<long>& , const TQValueList<KURL>& )) );
- connect( mMonitor, TQT_SIGNAL(error(int , const TQString&)), this, TQT_SLOT(slotMonitorError(int , const TQString&)) );
+ connect( mMonitor, TQ_SIGNAL(notify( const TQValueList<long>& , const TQValueList<KURL>& )), this, TQ_SLOT(slotMonitorNotify( const TQValueList<long>& , const TQValueList<KURL>& )) );
+ connect( mMonitor, TQ_SIGNAL(error(int , const TQString&)), this, TQ_SLOT(slotMonitorError(int , const TQString&)) );
mMonitor->addWatch( mAccount->calendarURL(), ExchangeMonitor::UpdateNewMember, 1 );
#endif
diff --git a/tderesources/exchange/resourceexchange.h b/tderesources/exchange/resourceexchange.h
index 120a4de9..c944e9d7 100644
--- a/tderesources/exchange/resourceexchange.h
+++ b/tderesources/exchange/resourceexchange.h
@@ -47,7 +47,7 @@ class CalFormat;
// FIXME: Use ResourceCached
class ResourceExchange : public ResourceCalendar, public IncidenceBase::Observer
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -84,7 +84,7 @@ class ResourceExchange : public ResourceCalendar, public IncidenceBase::Observer
// void close();
/** Add Event to calendar. */
- KDE_DEPRECATED bool addEvent( Event *event );
+ TDE_DEPRECATED bool addEvent( Event *event );
bool addEvent( Event *event, const TQString &subresource );
/** deletes an event from this calendar. */
@@ -121,7 +121,7 @@ class ResourceExchange : public ResourceCalendar, public IncidenceBase::Observer
/**
Add a todo to the todolist.
*/
- KDE_DEPRECATED bool addTodo( Todo *todo );
+ TDE_DEPRECATED bool addTodo( Todo *todo );
bool addTodo( Todo *todo, const TQString &subresource );
/**
Remove a todo from the todolist.
@@ -142,7 +142,7 @@ class ResourceExchange : public ResourceCalendar, public IncidenceBase::Observer
Todo::List rawTodosForDate( const TQDate &date );
/** Add a Journal entry to calendar */
- KDE_DEPRECATED bool addJournal( Journal *journal );
+ TDE_DEPRECATED bool addJournal( Journal *journal );
bool addJournal( Journal *journal, const TQString &subresource );
/** deletes an event from this calendar. */
virtual bool deleteJournal(Journal *);
diff --git a/tderesources/exchange/resourceexchangeconfig.cpp b/tderesources/exchange/resourceexchangeconfig.cpp
index 3b3bf14f..5d2de94a 100644
--- a/tderesources/exchange/resourceexchangeconfig.cpp
+++ b/tderesources/exchange/resourceexchangeconfig.cpp
@@ -24,7 +24,7 @@
#include <tdelocale.h>
#include <kdebug.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdemessagebox.h>
#include "exchangeaccount.h"
@@ -62,7 +62,7 @@ ResourceExchangeConfig::ResourceExchangeConfig( TQWidget* parent, const char* n
mAutoMailbox = new TQCheckBox( i18n( "Determine mailbox &automatically" ), this );
mainLayout->addMultiCellWidget( mAutoMailbox, 5, 5, 0, 1 );
- connect( mAutoMailbox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAuto(bool)) );
+ connect( mAutoMailbox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAuto(bool)) );
mMailboxEdit = new KLineEdit( this );
mainLayout->addWidget( new TQLabel( i18n( "Mailbox URL:" ), this ), 6, 0 );
@@ -70,11 +70,11 @@ ResourceExchangeConfig::ResourceExchangeConfig( TQWidget* parent, const char* n
mTryFindMailbox = new TQPushButton( i18n( "&Find" ), this );
mainLayout->addWidget( mTryFindMailbox, 6, 2 );
- connect( mTryFindMailbox, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFindClicked()) );
+ connect( mTryFindMailbox, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFindClicked()) );
label = new TQLabel( i18n( "Cache timeout:" ), this );
mCacheEdit = new KIntNumInput( this );
- connect(mCacheEdit, TQT_SIGNAL(valueChanged( int )), TQT_SLOT(slotCacheEditChanged( int )));
+ connect(mCacheEdit, TQ_SIGNAL(valueChanged( int )), TQ_SLOT(slotCacheEditChanged( int )));
mCacheEdit->setMinValue( 0 );
mainLayout->addWidget( label, 7, 0 );
mainLayout->addWidget( mCacheEdit, 7, 1 );
diff --git a/tderesources/exchange/resourceexchangeconfig.h b/tderesources/exchange/resourceexchangeconfig.h
index c008c2ce..f9332bad 100644
--- a/tderesources/exchange/resourceexchangeconfig.h
+++ b/tderesources/exchange/resourceexchangeconfig.h
@@ -36,7 +36,7 @@ namespace KCal {
class ResourceExchangeConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/featureplan/kcal_resourcefeatureplan.cpp b/tderesources/featureplan/kcal_resourcefeatureplan.cpp
index f5c7ee5f..6db45054 100644
--- a/tderesources/featureplan/kcal_resourcefeatureplan.cpp
+++ b/tderesources/featureplan/kcal_resourcefeatureplan.cpp
@@ -36,7 +36,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tderesources/configwidget.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <kurl.h>
#include <libtdepim/kpimprefs.h>
diff --git a/tderesources/featureplan/kcal_resourcefeatureplan.h b/tderesources/featureplan/kcal_resourcefeatureplan.h
index c86d18bc..f82da2cf 100644
--- a/tderesources/featureplan/kcal_resourcefeatureplan.h
+++ b/tderesources/featureplan/kcal_resourcefeatureplan.h
@@ -29,7 +29,7 @@
#include <tdeabc/locknull.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tdeconfig.h>
namespace KCal {
@@ -37,9 +37,9 @@ namespace KCal {
/**
This class represents a featureplan (in KDE XML format)
*/
-class KDE_EXPORT ResourceFeaturePlan : public ResourceCached
+class TDE_EXPORT ResourceFeaturePlan : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceFeaturePlan( const TDEConfig * );
diff --git a/tderesources/featureplan/kcal_resourcefeatureplanconfig.h b/tderesources/featureplan/kcal_resourcefeatureplanconfig.h
index 917ce52e..0bd6d4b9 100644
--- a/tderesources/featureplan/kcal_resourcefeatureplanconfig.h
+++ b/tderesources/featureplan/kcal_resourcefeatureplanconfig.h
@@ -23,7 +23,7 @@
#define RESOURCEFEATUREPLANCONFIG_H
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class KLineEdit;
class KURLRequester;
@@ -31,9 +31,9 @@ class TQCheckBox;
namespace KCal {
-class KDE_EXPORT ResourceFeaturePlanConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceFeaturePlanConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupdav/kcal_resourcegroupdav.h b/tderesources/groupdav/kcal_resourcegroupdav.h
index dba9bd27..7085f327 100644
--- a/tderesources/groupdav/kcal_resourcegroupdav.h
+++ b/tderesources/groupdav/kcal_resourcegroupdav.h
@@ -31,9 +31,9 @@ namespace KCal {
/**
This class provides a resource for accessing an GroupDav.org server
*/
-class KDE_EXPORT ResourceGroupDav : public ResourceGroupwareBase
+class TDE_EXPORT ResourceGroupDav : public ResourceGroupwareBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceGroupDav();
diff --git a/tderesources/groupdav/tdeabc_resourcegroupdav.h b/tderesources/groupdav/tdeabc_resourcegroupdav.h
index 7aa82f71..496f8e05 100644
--- a/tderesources/groupdav/tdeabc_resourcegroupdav.h
+++ b/tderesources/groupdav/tdeabc_resourcegroupdav.h
@@ -23,13 +23,13 @@
#define TDEABC_RESOURCEGROUPDAV_H
#include "tdeabc_resourcegroupwarebase.h"
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEABC {
-class KDE_EXPORT ResourceGroupDav : public ResourceGroupwareBase
+class TDE_EXPORT ResourceGroupDav : public ResourceGroupwareBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupware/kcal_resourcegroupware.cpp b/tderesources/groupware/kcal_resourcegroupware.cpp
index 6200773b..56d61b52 100644
--- a/tderesources/groupware/kcal_resourcegroupware.cpp
+++ b/tderesources/groupware/kcal_resourcegroupware.cpp
@@ -38,7 +38,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tderesources/configwidget.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <kurl.h>
#include <libtdepim/kpimprefs.h>
@@ -159,16 +159,16 @@ bool ResourceGroupware::doLoad()
mJobData = TQString();
mDownloadJob = KPIM::GroupwareJob::getCalendar( url );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotJobResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
mProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading calendar") );
connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoad() ) );
return true;
}
diff --git a/tderesources/groupware/kcal_resourcegroupware.h b/tderesources/groupware/kcal_resourcegroupware.h
index 323f6ade..56ad9ce6 100644
--- a/tderesources/groupware/kcal_resourcegroupware.h
+++ b/tderesources/groupware/kcal_resourcegroupware.h
@@ -41,7 +41,7 @@ namespace KCal {
*/
class ResourceGroupware : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceGroupware();
diff --git a/tderesources/groupware/kcal_resourcegroupwareconfig.cpp b/tderesources/groupware/kcal_resourcegroupwareconfig.cpp
index 305118f1..e851cf3d 100644
--- a/tderesources/groupware/kcal_resourcegroupwareconfig.cpp
+++ b/tderesources/groupware/kcal_resourcegroupwareconfig.cpp
@@ -26,7 +26,7 @@
#include <tdelocale.h>
#include <kdebug.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <klineedit.h>
#include <libkcal/resourcecachedconfig.h>
diff --git a/tderesources/groupware/kcal_resourcegroupwareconfig.h b/tderesources/groupware/kcal_resourcegroupwareconfig.h
index 7bfa34d4..53dcff7a 100644
--- a/tderesources/groupware/kcal_resourcegroupwareconfig.h
+++ b/tderesources/groupware/kcal_resourcegroupwareconfig.h
@@ -40,7 +40,7 @@ class ResourceCachedSaveConfig;
*/
class ResourceGroupwareConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceGroupwareConfig( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/groupware/tdeabc_resourcegroupware.cpp b/tderesources/groupware/tdeabc_resourcegroupware.cpp
index e8f0c0a2..b6b25911 100644
--- a/tderesources/groupware/tdeabc_resourcegroupware.cpp
+++ b/tderesources/groupware/tdeabc_resourcegroupware.cpp
@@ -244,18 +244,18 @@ bool ResourceGroupware::asyncLoad()
mJobData = TQString();
mDownloadJob = KPIM::GroupwareJob::getAddressBook( url );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( mDownloadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotJobResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
mProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading addressbook") );
connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoad() ) );
return true;
}
diff --git a/tderesources/groupware/tdeabc_resourcegroupware.h b/tderesources/groupware/tdeabc_resourcegroupware.h
index 59bbc9a4..47d4a5fd 100644
--- a/tderesources/groupware/tdeabc_resourcegroupware.h
+++ b/tderesources/groupware/tdeabc_resourcegroupware.h
@@ -34,7 +34,7 @@ class GroupwarePrefs;
class ResourceGroupware : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupware/tdeabc_resourcegroupwareconfig.cpp b/tderesources/groupware/tdeabc_resourcegroupwareconfig.cpp
index e171c7e7..74e86600 100644
--- a/tderesources/groupware/tdeabc_resourcegroupwareconfig.cpp
+++ b/tderesources/groupware/tdeabc_resourcegroupwareconfig.cpp
@@ -106,7 +106,7 @@ ResourceGroupwareConfig::ResourceGroupwareConfig( TQWidget* parent, const char*
mainLayout->addWidget( label, 6, 0 );
mainLayout->addWidget( mAddressBookBox, 6, 1 );
- connect( updateButton, TQT_SIGNAL( clicked() ), TQT_SLOT( updateAddressBookList() ) );
+ connect( updateButton, TQ_SIGNAL( clicked() ), TQ_SLOT( updateAddressBookList() ) );
}
void ResourceGroupwareConfig::loadSettings( KRES::Resource *res )
diff --git a/tderesources/groupware/tdeabc_resourcegroupwareconfig.h b/tderesources/groupware/tdeabc_resourcegroupwareconfig.h
index 86825bbf..7cf839d9 100644
--- a/tderesources/groupware/tdeabc_resourcegroupwareconfig.h
+++ b/tderesources/groupware/tdeabc_resourcegroupwareconfig.h
@@ -35,7 +35,7 @@ class ResourceGroupware;
class ResourceGroupwareConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupwise/groupwisesettingswidget.cpp b/tderesources/groupwise/groupwisesettingswidget.cpp
index 48de8143..cbff52ac 100644
--- a/tderesources/groupwise/groupwisesettingswidget.cpp
+++ b/tderesources/groupwise/groupwisesettingswidget.cpp
@@ -27,8 +27,8 @@
GroupWiseSettingsWidget::GroupWiseSettingsWidget( TQWidget * parent )
: GroupWiseSettingsWidgetBase( parent )
{
- connect( m_settingsList, TQT_SIGNAL( itemRenamed( TQListViewItem *, int ) ),
- this, TQT_SLOT( slotItemRenamed( TQListViewItem *, int ) ) );
+ connect( m_settingsList, TQ_SIGNAL( itemRenamed( TQListViewItem *, int ) ),
+ this, TQ_SLOT( slotItemRenamed( TQListViewItem *, int ) ) );
}
void GroupWiseSettingsWidget::slotItemRenamed( TQListViewItem * item, int )
diff --git a/tderesources/groupwise/groupwisesettingswidget.h b/tderesources/groupwise/groupwisesettingswidget.h
index 9fff6aa7..9e81533d 100644
--- a/tderesources/groupwise/groupwisesettingswidget.h
+++ b/tderesources/groupwise/groupwisesettingswidget.h
@@ -30,7 +30,7 @@ class TQListViewItem;
class GroupWiseSettingsWidget : public GroupWiseSettingsWidgetBase
{
-Q_OBJECT
+TQ_OBJECT
public:
GroupWiseSettingsWidget( TQWidget * parent );
diff --git a/tderesources/groupwise/kcal_resourcegroupwise.cpp b/tderesources/groupwise/kcal_resourcegroupwise.cpp
index a8a0727e..b75492e1 100644
--- a/tderesources/groupwise/kcal_resourcegroupwise.cpp
+++ b/tderesources/groupwise/kcal_resourcegroupwise.cpp
@@ -40,7 +40,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tderesources/configwidget.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <kurl.h>
#include <libtdepim/kpimprefs.h>
@@ -158,16 +158,16 @@ bool ResourceGroupwise::doLoad()
mJobData = TQString();
mDownloadJob = TDEIO::get( url, false, false );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotJobResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) );
mProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading calendar") );
connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoad() ) );
return true;
}
diff --git a/tderesources/groupwise/kcal_resourcegroupwise.h b/tderesources/groupwise/kcal_resourcegroupwise.h
index 5743a282..ea9c846e 100644
--- a/tderesources/groupwise/kcal_resourcegroupwise.h
+++ b/tderesources/groupwise/kcal_resourcegroupwise.h
@@ -30,7 +30,7 @@
#include <tdeabc/locknull.h>
#include <tdeio/job.h>
#include <tdeconfig.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class ngwt__Settings;
@@ -41,9 +41,9 @@ class GroupwisePrefsBase;
/**
This class provides a resource for accessing a Groupwise calendar.
*/
-class KDE_EXPORT ResourceGroupwise : public ResourceCached
+class TDE_EXPORT ResourceGroupwise : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp b/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp
index cb9f4493..0ef36231 100644
--- a/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp
+++ b/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp
@@ -28,7 +28,7 @@
#include <tdelistview.h>
#include <kdebug.h>
#include <kdialogbase.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <klineedit.h>
#include <libkcal/resourcecachedconfig.h>
@@ -73,7 +73,7 @@ ResourceGroupwiseConfig::ResourceGroupwiseConfig( TQWidget* parent, const char*
mainLayout->addMultiCellWidget( mSaveConfig, 6, 6, 0, 1 );
settingsButton->hide();
- // connect( settingsButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotViewUserSettings() ) );
+ // connect( settingsButton, TQ_SIGNAL( clicked() ), TQ_SLOT( slotViewUserSettings() ) );
}
@@ -123,7 +123,7 @@ void ResourceGroupwiseConfig::slotViewUserSettings()
if ( s )
{
- KDialogBase * dialog = new KDialogBase( ::tqqt_cast<TQWidget*>(parent() ), "gwsettingswidget", true, i18n( "GroupWise Settings" ) );
+ KDialogBase * dialog = new KDialogBase( ::tqt_cast<TQWidget*>(parent() ), "gwsettingswidget", true, i18n( "GroupWise Settings" ) );
// TQVBoxLayout * layout = new TQVBoxLayout( dialog );
GroupWiseSettingsWidget * settingsWidget = new GroupWiseSettingsWidget( dialog );
dialog->setMainWidget( settingsWidget );
diff --git a/tderesources/groupwise/kcal_resourcegroupwiseconfig.h b/tderesources/groupwise/kcal_resourcegroupwiseconfig.h
index 87447e0a..a955b0f3 100644
--- a/tderesources/groupwise/kcal_resourcegroupwiseconfig.h
+++ b/tderesources/groupwise/kcal_resourcegroupwiseconfig.h
@@ -21,7 +21,7 @@
#define KCALRESOURCEGROUPWISECONFIG_H
#include <kurlrequester.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tderesources/resource.h>
#include <tderesources/configwidget.h>
@@ -39,9 +39,9 @@ class ResourceCachedSaveConfig;
@see KCalResourceGroupwise
*/
-class KDE_EXPORT ResourceGroupwiseConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceGroupwiseConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceGroupwiseConfig( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/groupwise/soap/groupwiseserver.cpp b/tderesources/groupwise/soap/groupwiseserver.cpp
index 07342ec4..3ba461b9 100644
--- a/tderesources/groupwise/soap/groupwiseserver.cpp
+++ b/tderesources/groupwise/soap/groupwiseserver.cpp
@@ -114,7 +114,7 @@ int GroupwiseServer::gSoapOpen( struct soap *soap, const char *,
// kdDebug() << "Creating KSSLSocket()" << endl;
m_sock = new KSSLSocket();
m_sock->setTimeout( KProtocolManager::connectTimeout() );
- connect( m_sock, TQT_SIGNAL( sslFailure() ), TQT_SLOT( slotSslError() ) );
+ connect( m_sock, TQ_SIGNAL( sslFailure() ), TQ_SLOT( slotSslError() ) );
} else {
m_sock = new KExtendedSocket();
}
diff --git a/tderesources/groupwise/soap/groupwiseserver.h b/tderesources/groupwise/soap/groupwiseserver.h
index 0a0f70e0..31cd8f14 100644
--- a/tderesources/groupwise/soap/groupwiseserver.h
+++ b/tderesources/groupwise/soap/groupwiseserver.h
@@ -93,7 +93,7 @@ class DeltaInfo
class GroupwiseServer : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupwise/soap/gwconverter.cpp b/tderesources/groupwise/soap/gwconverter.cpp
index bda455f7..b842f15b 100644
--- a/tderesources/groupwise/soap/gwconverter.cpp
+++ b/tderesources/groupwise/soap/gwconverter.cpp
@@ -67,8 +67,8 @@ char* GWConverter::qStringToChar( const TQString &string )
TQDate GWConverter::charToTQDate( const char *str )
{
- if ( !str ) return TQDate(); // FIXME: Qt::ISODate is probably no good here because it expects yyyy-MM-dd not yyyyMMdd
- return TQDate::fromString( TQString::fromUtf8( str ), Qt::ISODate );
+ if ( !str ) return TQDate(); // FIXME: TQt::ISODate is probably no good here because it expects yyyy-MM-dd not yyyyMMdd
+ return TQDate::fromString( TQString::fromUtf8( str ), TQt::ISODate );
}
char *GWConverter::qDateTimeToChar( const TQDateTime &dt,
@@ -94,7 +94,7 @@ std::string* GWConverter::qDateTimeToString( const TQDateTime &dt )
TQDateTime GWConverter::stringToTQDateTime( const std::string* str )
{
- TQDateTime dt = TQDateTime::fromString( TQString::fromUtf8( str->c_str() ), Qt::ISODate );
+ TQDateTime dt = TQDateTime::fromString( TQString::fromUtf8( str->c_str() ), TQt::ISODate );
return dt;
}
@@ -111,15 +111,15 @@ std::string* GWConverter::qDateToString( const TQDate &date )
TQDate GWConverter::stringToTQDate( std::string* str )
{
//NB this ISODate may become unnecessary, if GW stops sending in yyyy-mm-dd format again
- return TQDate::fromString( TQString::fromLatin1( str->c_str() ), Qt::ISODate );
+ return TQDate::fromString( TQString::fromLatin1( str->c_str() ), TQt::ISODate );
}
TQDateTime GWConverter::charToTQDateTime( const char *str )
{
if ( !str ) return TQDateTime();
// kdDebug() << "charToTQDateTime(): " << str << endl;
- // as above re Qt::ISODate
- TQDateTime dt = TQDateTime::fromString( TQString::fromUtf8( str ), Qt::ISODate );
+ // as above re TQt::ISODate
+ TQDateTime dt = TQDateTime::fromString( TQString::fromUtf8( str ), TQt::ISODate );
// kdDebug() << " " << dt.toString() << endl;
return dt;
}
diff --git a/tderesources/groupwise/soap/incidenceconverter.cpp b/tderesources/groupwise/soap/incidenceconverter.cpp
index 84e28e69..5491f3db 100644
--- a/tderesources/groupwise/soap/incidenceconverter.cpp
+++ b/tderesources/groupwise/soap/incidenceconverter.cpp
@@ -543,7 +543,7 @@ bool IncidenceConverter::convertFromCalendarItem( ngwt__CalendarItem* item,
std::vector<xsd__date>::const_iterator it;
for ( it = dateList->begin(); it != dateList->end(); ++it ) {
- TQDate date = TQDate::fromString( s2q( *it ), Qt::ISODate );
+ TQDate date = TQDate::fromString( s2q( *it ), TQt::ISODate );
if ( date.isValid() )
}
}
@@ -689,7 +689,7 @@ void IncidenceConverter::setRecurrence( KCal::Incidence * incidence, ngwt__Calen
// recurrence date - try setting it using the recurrence start date - didn't help
/* std::string startDate;
- startDate.append( recur->recurStart().date().toString( Qt::ISODate ).utf8() );
+ startDate.append( recur->recurStart().date().toString( TQt::ISODate ).utf8() );
item->rdate = soap_new_ngwt__RecurrenceDateType( soap(), -1 );
item->rdate->date.push_back( startDate );*/
// exceptions list - try sending empty list even if no exceptions
@@ -704,7 +704,7 @@ void IncidenceConverter::setRecurrence( KCal::Incidence * incidence, ngwt__Calen
for ( KCal::DateList::ConstIterator it = exceptions.begin(); it != exceptions.end(); ++it )
{
std::string startDate;
- startDate.append( TQString((*it).toString( Qt::ISODate )).utf8() );
+ startDate.append( TQString((*it).toString( TQt::ISODate )).utf8() );
item->exdate->date.push_back( startDate );
}
}
diff --git a/tderesources/groupwise/soap/ksslsocket.cpp b/tderesources/groupwise/soap/ksslsocket.cpp
index 2f085cf2..b753249d 100644
--- a/tderesources/groupwise/soap/ksslsocket.cpp
+++ b/tderesources/groupwise/soap/ksslsocket.cpp
@@ -57,9 +57,9 @@ KSSLSocket::KSSLSocket() : KExtendedSocket()
setBlockingMode(false);
//Connect internal slots
- TQObject::connect( this, TQT_SIGNAL(connectionSuccess()), this, TQT_SLOT(slotConnected()) );
- TQObject::connect( this, TQT_SIGNAL(closed(int)), this, TQT_SLOT(slotDisconnected()) );
- TQObject::connect( this, TQT_SIGNAL(connectionFailed(int)), this, TQT_SLOT(slotDisconnected()));
+ TQObject::connect( this, TQ_SIGNAL(connectionSuccess()), this, TQ_SLOT(slotConnected()) );
+ TQObject::connect( this, TQ_SIGNAL(closed(int)), this, TQ_SLOT(slotDisconnected()) );
+ TQObject::connect( this, TQ_SIGNAL(connectionFailed(int)), this, TQ_SLOT(slotDisconnected()));
}
KSSLSocket::~KSSLSocket()
diff --git a/tderesources/groupwise/soap/ksslsocket.h b/tderesources/groupwise/soap/ksslsocket.h
index 42545948..aa4225b8 100644
--- a/tderesources/groupwise/soap/ksslsocket.h
+++ b/tderesources/groupwise/soap/ksslsocket.h
@@ -27,7 +27,7 @@ class KSSLSocketPrivate;
class KSSLSocket : public KExtendedSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupwise/soap/patches/socklen.diff b/tderesources/groupwise/soap/patches/socklen.diff
index e6494bc9..8355e1c3 100644
--- a/tderesources/groupwise/soap/patches/socklen.diff
+++ b/tderesources/groupwise/soap/patches/socklen.diff
@@ -6,7 +6,7 @@ diff -u -3 -p -r1.3 stdsoap2.cpp
--- soap/stdsoap2.cpp 3 Dec 2004 17:15:43 -0000 1.3
+++ soap/stdsoap2.cpp 6 Dec 2004 21:27:25 -0000
@@ -3072,7 +3072,7 @@ tcp_connect(struct soap *soap, const cha
- #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
+ #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(VXWORKS)
int n = sizeof(struct sockaddr_in);
#else
- size_t n = sizeof(struct sockaddr_in);
@@ -15,7 +15,7 @@ diff -u -3 -p -r1.3 stdsoap2.cpp
fd_set fds;
if (soap->connect_timeout > 0)
@@ -3503,7 +3503,10 @@ tcp_accept(struct soap *soap, int s, str
- #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)
+ #elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(VXWORKS)
fd = (int)accept((SOAP_SOCKET)s, a, n);
#else
- fd = (int)accept((SOAP_SOCKET)s, a, (size_t*)n);
diff --git a/tderesources/groupwise/soap/stdsoap2.cpp b/tderesources/groupwise/soap/stdsoap2.cpp
index b83b2bb4..95987858 100644
--- a/tderesources/groupwise/soap/stdsoap2.cpp
+++ b/tderesources/groupwise/soap/stdsoap2.cpp
@@ -2996,7 +2996,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr)
strncpy(addrcopy, addr, strlen(addr)+1);
iadd = inet_addr(addrcopy);
#else
-#if defined(_AIXVERSION_431) || defined(__osf__)
+#if defined(_AIXVERSION_431)
struct hostent_data ht_data;
#endif
iadd = inet_addr(addr);
@@ -3011,7 +3011,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr)
#if defined(__GLIBC__)
if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0)
host = NULL;
-#elif defined(_AIXVERSION_431) || defined(__osf__)
+#elif defined(_AIXVERSION_431)
memset((void*)&ht_data, 0, sizeof(ht_data));
if (gethostbyname_r(addr, &hostent, &ht_data) < 0)
{ host = NULL;
@@ -3827,9 +3827,6 @@ soap_accept(struct soap *soap)
#elif defined(PALM)
fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL,0)&~O_NONBLOCK);
fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL,0)&~O_NONBLOCK);
-#elif defined(SYMBIAN)
- long blocking = 0;
- ioctl((SOAP_SOCKET)soap->master, 0/*FIONBIO*/, &blocking);
#else
fcntl((SOAP_SOCKET)soap->master, F_SETFL, fcntl((SOAP_SOCKET)soap->master, F_GETFL)&~O_NONBLOCK);
fcntl((SOAP_SOCKET)soap->socket, F_SETFL, fcntl((SOAP_SOCKET)soap->socket, F_GETFL)&~O_NONBLOCK);
@@ -4246,15 +4243,11 @@ soap_begin_send(struct soap *soap)
#ifndef UNDER_CE
#ifndef WITH_FASTCGI
if (!soap_valid_socket(soap->socket)) /* Set win32 stdout or soap->sendfd to BINARY, e.g. to support DIME */
-#ifdef __BORLANDC__
- setmode((SOAP_SOCKET)soap->sendfd, O_BINARY);
-#else
_setmode((SOAP_SOCKET)soap->sendfd, _O_BINARY);
#endif
#endif
#endif
#endif
-#endif
if (soap->mode & SOAP_IO)
{ soap->bufidx = 0;
soap->buflen = 0;
@@ -10821,14 +10814,10 @@ soap_begin_recv(struct soap *soap)
#ifndef UNDER_CE
#ifndef WITH_FASTCGI
if (!soap_valid_socket(soap->socket))
-#ifdef __BORLANDC__
- setmode((SOAP_SOCKET)soap->recvfd, O_BINARY);
-#else
_setmode((SOAP_SOCKET)soap->recvfd, _O_BINARY);
#endif
#endif
#endif
-#endif
#ifdef WITH_ZLIB
soap->mode &= ~SOAP_ENC_ZLIB;
soap->zlib_in = SOAP_ZLIB_NONE;
diff --git a/tderesources/groupwise/soap/stdsoap2.h b/tderesources/groupwise/soap/stdsoap2.h
index b68c2407..05fee0bc 100644
--- a/tderesources/groupwise/soap/stdsoap2.h
+++ b/tderesources/groupwise/soap/stdsoap2.h
@@ -139,25 +139,12 @@ A commercial use license is available from Genivia, Inc., contact@genivia.com
# endif
#endif
-#ifdef __BORLANDC__
-# ifdef __WIN32__
-# ifndef WIN32
-# define WIN32
-# endif
-# endif
-#endif
-
#ifdef __CYGWIN__
# ifndef CYGWIN
# define CYGWIN
# endif
#endif
-#ifdef __SYMBIAN32__
-# define SYMBIAN
-# undef WIN32
-#endif
-
#if defined(__palmos__) || defined(PALM_GCC) || defined(__PALMOS_TRAPS__)
# ifndef PALM
# define PALM
@@ -291,24 +278,6 @@ A commercial use license is available from Genivia, Inc., contact@genivia.com
# define HAVE_WCTOMB
# define HAVE_MBTOWC
# define HAVE_ISNAN
-# elif defined(__osf__)
-# define HAVE_STRRCHR
-# define HAVE_STRTOD
-# define HAVE_SSCANF
-# define HAVE_STRTOL
-# define HAVE_STRTOUL
-# define HAVE_STRTOLL
-# define HAVE_STRTOULL
-# define HAVE_GETTIMEOFDAY
-# define HAVE_SYS_TIMEB_H
-# define HAVE_RAND_R
-# define HAVE_GMTIME_R
-# define HAVE_LOCALTIME_R
-# define __USE_STD_IOSTREAM
-# define HAVE_WCTOMB
-# define HAVE_MBTOWC
-# define SOAP_LONG_FORMAT "%ld"
-# define SOAP_ULONG_FORMAT "%lu"
# elif defined(MAC_CARBON)
# define WITH_NOIO
# define HAVE_STRRCHR
@@ -333,12 +302,6 @@ A commercial use license is available from Genivia, Inc., contact@genivia.com
# define O_NONBLOCK FNONBIO
# include <sys_socket.h>
# include "palmFunctions.h"
-# elif defined(SYMBIAN)
-# define WITH_LEAN
-# define WITH_NONAMESPACES
-# define HAVE_STRTOD /* use STRTOD since sscanf doesn't seem to work */
-# include <e32def.h>
-# include <sys/ioctl.h>
# elif defined(VXWORKS)
# define HAVE_STRRCHR
# define HAVE_STRTOD
@@ -445,9 +408,7 @@ A commercial use license is available from Genivia, Inc., contact@genivia.com
# include <sockLib.h>
# endif
# ifndef VXWORKS
-# ifndef SYMBIAN
-# include <strings.h>
-# endif
+# include <strings.h>
# endif
# ifdef SUN_OS
# include <sys/stream.h> /* SUN */
@@ -549,7 +510,7 @@ extern "C" {
# define SOAP_SOCKLEN_T SOCKLEN_T
#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(__TQNX__) || defined(TQNX) || defined(_AIX) || defined(__NetBSD__) || defined(__DragonFly__)
# define SOAP_SOCKLEN_T socklen_t
-#elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(__osf__) || defined(VXWORKS)
+#elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(VXWORKS)
# define SOAP_SOCKLEN_T int
#else
# define SOAP_SOCKLEN_T size_t
@@ -565,10 +526,7 @@ extern "C" {
#define SOAP_INVALID_SOCKET (-1)
#define soap_valid_socket(n) ((n) != SOAP_INVALID_SOCKET)
-#if defined(SYMBIAN)
-# define LONG64 long
-# define ULONG64 unsigned LONG64
-#elif !defined(WIN32) || defined(__GLIBC__) || defined(__GNU__)
+#if !defined(WIN32) || defined(__GLIBC__) || defined(__GNU__)
# ifndef LONG64
# define LONG64 long long
# define ULONG64 unsigned LONG64
@@ -576,15 +534,10 @@ extern "C" {
#elif defined(UNDER_CE)
# define LONG64 __int64
# define ULONG64 unsigned LONG64
-#elif defined(__BORLANDC__)
-# define LONG64 __int64
-# define ULONG64 unsigned LONG64
#endif
#if defined(WIN32)
# define soap_int32 __int32
-#elif defined(SYMBIAN)
-# define soap_int32 long
#elif defined(PALM)
# define soap_int32 Int32
#else
@@ -601,13 +554,8 @@ extern "C" {
# define SOAP_ERANGE ERANGE
# define SOAP_EINTR EINTR
# define SOAP_EAGAIN EAGAIN
-# ifdef SYMBIAN
-# define SOAP_EWOULDBLOCK 9898
-# define SOAP_EINPROGRESS 9899
-# else
-# define SOAP_EWOULDBLOCK EWOULDBLOCK
-# define SOAP_EINPROGRESS EINPROGRESS
-# endif
+# define SOAP_EWOULDBLOCK EWOULDBLOCK
+# define SOAP_EINPROGRESS EINPROGRESS
#endif
#ifdef WIN32
diff --git a/tderesources/groupwise/tdeabc_resourcegroupwise.cpp b/tderesources/groupwise/tdeabc_resourcegroupwise.cpp
index 7c3ed791..04ecc769 100644
--- a/tderesources/groupwise/tdeabc_resourcegroupwise.cpp
+++ b/tderesources/groupwise/tdeabc_resourcegroupwise.cpp
@@ -288,8 +288,8 @@ bool ResourceGroupwise::asyncLoad()
{
mProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n( "Loading GroupWise resource %1" ).arg( resourceName() ), TQString(), true /*CanBeCancelled*/, mPrefs->url().startsWith("https" ) );
- connect( mProgress, TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
+ connect( mProgress, TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoad() ) );
}
if ( addressBooks().isEmpty() ) {
@@ -349,15 +349,15 @@ void ResourceGroupwise::fetchAddressBooks( const BookType bookType )
mJob = TDEIO::get( url, false, false ); // TODO: make the GW jobs call finished if the URL
// contains no address book IDs
kdDebug() << " Job address: " << mJob << endl;
- connect( mJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotReadJobData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( mJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
+ connect( mJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotReadJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
if ( bookType == System )
{
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( fetchSABResult( TDEIO::Job * ) ) );
+ connect( mJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( fetchSABResult( TDEIO::Job * ) ) );
mSABProgress = KPIM::ProgressManager::instance()->createProgressItem(
mProgress, KPIM::ProgressManager::getUniqueID(),
i18n( "Fetching System Address Book" ), TQString(),
@@ -366,8 +366,8 @@ void ResourceGroupwise::fetchAddressBooks( const BookType bookType )
}
else
{
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( fetchUABResult( TDEIO::Job * ) ) );
+ connect( mJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( fetchUABResult( TDEIO::Job * ) ) );
mUABProgress = KPIM::ProgressManager::instance()->createProgressItem(
mProgress, KPIM::ProgressManager::getUniqueID(),
i18n( "Fetching User Address Books" ), TQString(),
@@ -446,12 +446,12 @@ void ResourceGroupwise::updateSystemAddressBook()
mJob = TDEIO::get( url, false, false );
mJob->setInteractive( false );
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( updateSABResult( TDEIO::Job * ) ) );
- connect( mJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotUpdateJobData( TDEIO::Job *, const TQByteArray & ) ) );
- connect( mJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
+ connect( mJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( updateSABResult( TDEIO::Job * ) ) );
+ connect( mJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotUpdateJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotJobPercent( TDEIO::Job *, unsigned long ) ) );
return;
}
diff --git a/tderesources/groupwise/tdeabc_resourcegroupwise.h b/tderesources/groupwise/tdeabc_resourcegroupwise.h
index b57c36e8..c573eaf9 100644
--- a/tderesources/groupwise/tdeabc_resourcegroupwise.h
+++ b/tderesources/groupwise/tdeabc_resourcegroupwise.h
@@ -23,7 +23,7 @@
#include "soap/groupwiseserver.h"
#include <tdeabcresourcecached.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <libtdepim/progressmanager.h>
@@ -37,11 +37,11 @@ namespace TDEABC {
class GroupwisePrefs;
-class KDE_EXPORT ResourceGroupwise : public ResourceCached
+class TDE_EXPORT ResourceGroupwise : public ResourceCached
{
friend class ResourceGroupwiseConfig;
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -143,7 +143,7 @@ class KDE_EXPORT ResourceGroupwise : public ResourceCached
/** DATA PROCESSING SLOTS **/
void slotReadJobData( TDEIO::Job *, const TQByteArray & );
void slotUpdateJobData( TDEIO::Job *, const TQByteArray & );
- /** HELPER TQT_SLOT **/
+ /** HELPER TQ_SLOT **/
void slotJobPercent( TDEIO::Job *job, unsigned long percent );
void cancelLoad();
diff --git a/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.cpp b/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.cpp
index 49016cdd..69dd7a6f 100644
--- a/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.cpp
+++ b/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.cpp
@@ -102,7 +102,7 @@ ResourceGroupwiseConfig::ResourceGroupwiseConfig( TQWidget* parent, const char*
mainLayout->addWidget( label, 6, 0 );
mainLayout->addWidget( mAddressBookBox, 6, 1 );
- connect( updateButton, TQT_SIGNAL( clicked() ), TQT_SLOT( updateAddressBookList() ) );
+ connect( updateButton, TQ_SIGNAL( clicked() ), TQ_SLOT( updateAddressBookList() ) );
}
void ResourceGroupwiseConfig::loadSettings( KRES::Resource *res )
diff --git a/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.h b/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.h
index 233743f8..3ebdb52c 100644
--- a/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.h
+++ b/tderesources/groupwise/tdeabc_resourcegroupwiseconfig.h
@@ -23,7 +23,7 @@
#include "soap/groupwiseserver.h"
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tqmap.h>
@@ -36,9 +36,9 @@ namespace TDEABC {
class ResourceGroupwise;
-class KDE_EXPORT ResourceGroupwiseConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceGroupwiseConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/groupwise/tdeioslave/groupwise.cpp b/tderesources/groupwise/tdeioslave/groupwise.cpp
index c51fa4e4..47fbb452 100644
--- a/tderesources/groupwise/tdeioslave/groupwise.cpp
+++ b/tderesources/groupwise/tdeioslave/groupwise.cpp
@@ -33,7 +33,7 @@
#include <tdeabc/addressee.h>
#include <tdeabc/vcardconverter.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdeio/global.h>
#include <kdebug.h>
#include <tdelocale.h>
@@ -44,7 +44,7 @@
#include <unistd.h>
#include <stdlib.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include "groupwise.h"
@@ -64,7 +64,7 @@ class ResourceMemory : public ResourceCached
}
extern "C" {
-KDE_EXPORT int kdemain( int argc, char **argv );
+TDE_EXPORT int kdemain( int argc, char **argv );
}
int kdemain( int argc, char **argv )
@@ -295,14 +295,14 @@ void Groupwise::getAddressbook( const KURL &url )
GroupwiseServer server( u, user, pass, 0 );
- connect( &server, TQT_SIGNAL( readAddressBookTotalSize( int ) ),
- TQT_SLOT( slotReadAddressBookTotalSize( int ) ) );
- connect( &server, TQT_SIGNAL( readAddressBookProcessedSize( int ) ),
- TQT_SLOT( slotReadAddressBookProcessedSize( int ) ) );
- connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ),
- TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) );
- connect( &server, TQT_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ),
- TQT_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) );
+ connect( &server, TQ_SIGNAL( readAddressBookTotalSize( int ) ),
+ TQ_SLOT( slotReadAddressBookTotalSize( int ) ) );
+ connect( &server, TQ_SIGNAL( readAddressBookProcessedSize( int ) ),
+ TQ_SLOT( slotReadAddressBookProcessedSize( int ) ) );
+ connect( &server, TQ_SIGNAL( errorMessage( const TQString &, bool ) ),
+ TQ_SLOT( slotServerErrorMessage( const TQString &, bool ) ) );
+ connect( &server, TQ_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ),
+ TQ_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) );
kdDebug() << "Login" << endl;
if ( !server.login() ) {
@@ -369,10 +369,10 @@ void Groupwise::updateAddressbook( const KURL &url )
debugMessage( "update IDs: " + ids.join( "," ) );
GroupwiseServer server( u, user, pass, 0 );
- connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ),
- TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) );
- connect( &server, TQT_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ),
- TQT_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) );
+ connect( &server, TQ_SIGNAL( errorMessage( const TQString &, bool ) ),
+ TQ_SLOT( slotServerErrorMessage( const TQString &, bool ) ) );
+ connect( &server, TQ_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ),
+ TQ_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) );
kdDebug() << " Login" << endl;
if ( !server.login() ) {
diff --git a/tderesources/groupwise/tdeioslave/groupwise.h b/tderesources/groupwise/tdeioslave/groupwise.h
index 5004682d..73fb48bb 100644
--- a/tderesources/groupwise/tdeioslave/groupwise.h
+++ b/tderesources/groupwise/tdeioslave/groupwise.h
@@ -26,7 +26,7 @@
class Groupwise : public TQObject, public TDEIO::SlaveBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
void get( const KURL &url );
diff --git a/tderesources/kolab/kcal/resourcekolab.cpp b/tderesources/kolab/kcal/resourcekolab.cpp
index 869ddca8..d19a2576 100644
--- a/tderesources/kolab/kcal/resourcekolab.cpp
+++ b/tderesources/kolab/kcal/resourcekolab.cpp
@@ -77,8 +77,8 @@ ResourceKolab::ResourceKolab( const TDEConfig *config )
setResourceName( i18n( "Kolab Server" ) );
}
setType( "imap" );
- connect( &mResourceChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotEmitResourceChanged() ) );
+ connect( &mResourceChangedTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( slotEmitResourceChanged() ) );
}
ResourceKolab::~ResourceKolab()
@@ -176,7 +176,7 @@ bool ResourceKolab::loadSubResource( const TQString& subResource,
UIServer_stub uiserver( "tdeio_uiserver", "UIServer" );
int progressId = 0;
if ( useProgress ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
+ progressId = uiserver.newJob( tdeApp->dcopClient()->appId(), true );
uiserver.totalFiles( progressId, count );
uiserver.infoMessage( progressId, labelTxt );
uiserver.transferring( progressId, labelTxt );
@@ -402,7 +402,7 @@ void ResourceKolab::resolveConflict( KCal::Incidence* inc, const TQString& subre
KIncidenceChooser* ch = new KIncidenceChooser();
ch->setIncidence( local ,inc );
if ( KIncidenceChooser::chooseMode == KIncidenceChooser::ask ) {
- connect ( this, TQT_SIGNAL( useGlobalMode() ), ch, TQT_SLOT ( useGlobalMode() ) );
+ connect ( this, TQ_SIGNAL( useGlobalMode() ), ch, TQ_SLOT ( useGlobalMode() ) );
if ( ch->exec() ) {
if ( KIncidenceChooser::chooseMode != KIncidenceChooser::ask ) {
emit useGlobalMode() ;
@@ -711,7 +711,7 @@ bool ResourceKolab::addIncidence( KCal::Incidence* incidence, const TQString& _s
/* Will be needed when kmail triggers a delete, so we don't delete the inocent
* incidence that's sharing the uid with this one */
- mOriginalUID2fakeUID[tqMakePair( incidence->schedulingID(), subResource )] = uid;
+ mOriginalUID2fakeUID[qMakePair( incidence->schedulingID(), subResource )] = uid;
}
}
/* Add to the cache if the add didn't come from KOrganizer, in which case
@@ -1185,7 +1185,7 @@ void ResourceKolab::setSubresourceActive( const TQString &subresource, bool v )
}
mResourceChangedTimer.changeInterval( 100 );
}
- TQTimer::singleShot( 0, this, TQT_SLOT(writeConfig()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(writeConfig()) );
}
bool ResourceKolab::subresourceWritable( const TQString& subresource ) const
diff --git a/tderesources/kolab/kcal/resourcekolab.h b/tderesources/kolab/kcal/resourcekolab.h
index 8a4da37c..289e894d 100644
--- a/tderesources/kolab/kcal/resourcekolab.h
+++ b/tderesources/kolab/kcal/resourcekolab.h
@@ -37,7 +37,7 @@
#include <tqtimer.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <libkcal/calendarlocal.h>
#include <libkcal/icalformat.h>
#include <libkcal/resourcecalendar.h>
@@ -47,11 +47,11 @@ namespace KCal {
struct TemporarySilencer;
-class KDE_EXPORT ResourceKolab : public KCal::ResourceCalendar,
+class TDE_EXPORT ResourceKolab : public KCal::ResourceCalendar,
public KCal::IncidenceBase::Observer,
public Kolab::ResourceKolabBase
{
- Q_OBJECT
+ TQ_OBJECT
friend struct TemporarySilencer;
@@ -71,7 +71,7 @@ public:
void doClose();
// The libkcal functions. See the resource for descriptions
- KDE_DEPRECATED bool addEvent( KCal::Event *event );
+ TDE_DEPRECATED bool addEvent( KCal::Event *event );
bool addEvent( KCal::Event *event, const TQString &subResource );
bool deleteEvent( KCal::Event * );
KCal::Event* event( const TQString &UniqueStr );
@@ -84,14 +84,14 @@ public:
KCal::Event::List rawEvents( const TQDate& start, const TQDate& end,
bool inclusive = false );
- KDE_DEPRECATED bool addTodo( KCal::Todo * todo );
+ TDE_DEPRECATED bool addTodo( KCal::Todo * todo );
bool addTodo( KCal::Todo *todo, const TQString &subResource );
bool deleteTodo( KCal::Todo * );
KCal::Todo* todo( const TQString &uid );
KCal::Todo::List rawTodos( TodoSortField sortField = TodoSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
KCal::Todo::List rawTodosForDate( const TQDate& date );
- KDE_DEPRECATED bool addJournal( KCal::Journal * );
+ TDE_DEPRECATED bool addJournal( KCal::Journal * );
bool addJournal( KCal::Journal *, const TQString &subResource );
bool deleteJournal( KCal::Journal * );
KCal::Journal* journal( const TQString &uid );
diff --git a/tderesources/kolab/knotes/resourcekolab.h b/tderesources/kolab/knotes/resourcekolab.h
index 5f205b16..747c2ea4 100644
--- a/tderesources/kolab/knotes/resourcekolab.h
+++ b/tderesources/kolab/knotes/resourcekolab.h
@@ -39,7 +39,7 @@
#include <libkcal/calendarlocal.h>
#include "../shared/resourcekolabbase.h"
#include "../shared/subresource.h"
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace Kolab {
@@ -49,11 +49,11 @@ namespace Kolab {
* addresses in an IMAP folder in KMail (or other conforming email
* clients).
*/
-class KDE_EXPORT ResourceKolab : public ResourceNotes,
+class TDE_EXPORT ResourceKolab : public ResourceNotes,
public KCal::IncidenceBase::Observer,
public ResourceKolabBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/kolab/shared/kmailconnection.cpp b/tderesources/kolab/shared/kmailconnection.cpp
index 8011c15d..24d9c25e 100644
--- a/tderesources/kolab/shared/kmailconnection.cpp
+++ b/tderesources/kolab/shared/kmailconnection.cpp
@@ -55,14 +55,14 @@ KMailConnection::KMailConnection( ResourceKolabBase* resource,
mDCOPClient->attach();
mDCOPClient->registerAs( objId, true );
- kapp->dcopClient()->setNotifications( true );
- connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString& ) ),
- this, TQT_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
+ tdeApp->dcopClient()->setNotifications( true );
+ connect( tdeApp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString& ) ),
+ this, TQ_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
}
KMailConnection::~KMailConnection()
{
- kapp->dcopClient()->setNotifications( false );
+ tdeApp->dcopClient()->setNotifications( false );
delete mKMailIcalIfaceStub;
mKMailIcalIfaceStub = 0;
delete mDCOPClient;
@@ -78,13 +78,13 @@ bool KMailConnection::connectToKMail()
// if we are kmail (and probably kontact as well) ourselves, don't try to start us again
// this prevents a DCOP deadlock when launching the kmail while kontact is the IMAP backend
// provider (and probably vice versa)
- if ( kapp->instanceName() == "kmail" ) {
+ if ( tdeApp->instanceName() == "kmail" ) {
// someone, probably ourselves, already offers the interface, if not stop here
- const QCStringList services = kapp->dcopClient()->registeredApplications();
+ const QCStringList services = tdeApp->dcopClient()->registeredApplications();
for ( uint i = 0; i < services.count(); ++i ) {
if ( services[i].find( "anonymous" ) == 0 ) // querying anonymous-XXXXX deadlocks as well, what are those anyway?
continue;
- const QCStringList objs = kapp->dcopClient()->remoteObjects( services[i] );
+ const QCStringList objs = tdeApp->dcopClient()->remoteObjects( services[i] );
if ( objs.contains( dcopObjectId ) ) {
dcopService = services[i];
break;
@@ -107,7 +107,7 @@ bool KMailConnection::connectToKMail()
}
}
- mKMailIcalIfaceStub = new KMailICalIface_stub( kapp->dcopClient(),
+ mKMailIcalIfaceStub = new KMailICalIface_stub( tdeApp->dcopClient(),
dcopService, dcopObjectId );
// Attach to the KMail signals
diff --git a/tderesources/kolab/shared/kmailconnection.h b/tderesources/kolab/shared/kmailconnection.h
index 62003b5f..5497246a 100644
--- a/tderesources/kolab/shared/kmailconnection.h
+++ b/tderesources/kolab/shared/kmailconnection.h
@@ -49,7 +49,7 @@ class ResourceKolabBase;
This class provides the kmail connectivity for IMAP resources.
*/
class KMailConnection : public TQObject, public DCOPObject {
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
diff --git a/tderesources/kolab/shared/kolabbase.cpp b/tderesources/kolab/shared/kolabbase.cpp
index 1dc5418b..5834fd1f 100644
--- a/tderesources/kolab/shared/kolabbase.cpp
+++ b/tderesources/kolab/shared/kolabbase.cpp
@@ -409,12 +409,12 @@ TQDomDocument KolabBase::domTree()
TQString KolabBase::dateTimeToString( const TQDateTime& time )
{
- return time.toString( Qt::ISODate ) + 'Z';
+ return time.toString( TQt::ISODate ) + 'Z';
}
TQString KolabBase::dateToString( const TQDate& date )
{
- return date.toString( Qt::ISODate );
+ return date.toString( TQt::ISODate );
}
TQDateTime KolabBase::stringToDateTime( const TQString& _date )
@@ -423,15 +423,15 @@ TQDateTime KolabBase::stringToDateTime( const TQString& _date )
//Deal with data from some clients that always append a Z to dates.
if ( date.endsWith( "ZZ" ) )
date.truncate( date.length() - 2 );
- //In TQt3, Qt::ISODate cannot handle a trailing Z for UTC, so remove if found.
+ //In TQt3, TQt::ISODate cannot handle a trailing Z for UTC, so remove if found.
else if ( date.endsWith( "Z" ) )
date.truncate( date.length() - 1 );
- return TQDateTime::fromString( date, Qt::ISODate );
+ return TQDateTime::fromString( date, TQt::ISODate );
}
TQDate KolabBase::stringToDate( const TQString& date )
{
- return TQDate::fromString( date, Qt::ISODate );
+ return TQDate::fromString( date, TQt::ISODate );
}
TQString KolabBase::sensitivityToString( Sensitivity s )
diff --git a/tderesources/kolab/shared/resourcekolabbase.cpp b/tderesources/kolab/shared/resourcekolabbase.cpp
index ce53bad3..600c1393 100644
--- a/tderesources/kolab/shared/resourcekolabbase.cpp
+++ b/tderesources/kolab/shared/resourcekolabbase.cpp
@@ -37,7 +37,7 @@
#include <folderselectdialog.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kinputdialog.h>
#include <kurl.h>
#include <tdetempfile.h>
diff --git a/tderesources/kolab/tdeabc/resourcekolab.cpp b/tderesources/kolab/tdeabc/resourcekolab.cpp
index 7476212e..4415ce2e 100644
--- a/tderesources/kolab/tdeabc/resourcekolab.cpp
+++ b/tderesources/kolab/tdeabc/resourcekolab.cpp
@@ -201,7 +201,7 @@ bool TDEABC::ResourceKolab::loadSubResource( const TQString& subResource )
UIServer_stub uiserver( "tdeio_uiserver", "UIServer" );
int progressId = 0;
if ( count > 200 ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
+ progressId = uiserver.newJob( tdeApp->dcopClient()->appId(), true );
uiserver.totalFiles( progressId, count );
uiserver.infoMessage( progressId, i18n( "Loading contacts..." ) );
uiserver.transferring( progressId, "Contacts" );
diff --git a/tderesources/kolab/tdeabc/resourcekolab.h b/tderesources/kolab/tdeabc/resourcekolab.h
index 9b4b4a17..dd3dab6b 100644
--- a/tderesources/kolab/tdeabc/resourcekolab.h
+++ b/tderesources/kolab/tdeabc/resourcekolab.h
@@ -38,7 +38,7 @@
#include "../shared/resourcekolabbase.h"
#include "../shared/subresource.h"
#include <kmail/kmailicalIface.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEABC {
@@ -49,10 +49,10 @@ namespace TDEABC {
* addresses in an Kolab folder in KMail (or other conforming email
* clients).
*/
-class KDE_EXPORT ResourceKolab : public KPIM::ResourceABC,
+class TDE_EXPORT ResourceKolab : public KPIM::ResourceABC,
public Kolab::ResourceKolabBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/lib/addressbookadaptor.h b/tderesources/lib/addressbookadaptor.h
index 5a754bc6..ef1beb5d 100644
--- a/tderesources/lib/addressbookadaptor.h
+++ b/tderesources/lib/addressbookadaptor.h
@@ -26,7 +26,7 @@
#include "groupwaredataadaptor.h"
#include <tdeabc/addressee.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <kurl.h>
namespace TDEABC {
@@ -43,7 +43,7 @@ class AddressBookUploadItem : public KPIM::GroupwareUploadItem
: KPIM::GroupwareUploadItem( type ) {}
};
-class KDE_EXPORT AddressBookAdaptor : public KPIM::GroupwareDataAdaptor
+class TDE_EXPORT AddressBookAdaptor : public KPIM::GroupwareDataAdaptor
{
public:
AddressBookAdaptor();
diff --git a/tderesources/lib/calendaradaptor.h b/tderesources/lib/calendaradaptor.h
index 7a2567e3..aea6a69e 100644
--- a/tderesources/lib/calendaradaptor.h
+++ b/tderesources/lib/calendaradaptor.h
@@ -27,7 +27,7 @@
#include <libkcal/incidence.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <kurl.h>
namespace KPIM {
@@ -49,9 +49,9 @@ class CalendarUploadItem : public KPIM::GroupwareUploadItem
};
-class KDE_EXPORT CalendarAdaptor : public KPIM::GroupwareDataAdaptor
+class TDE_EXPORT CalendarAdaptor : public KPIM::GroupwareDataAdaptor
{
- Q_OBJECT
+ TQ_OBJECT
public:
CalendarAdaptor();
diff --git a/tderesources/lib/davaddressbookadaptor.h b/tderesources/lib/davaddressbookadaptor.h
index fcb16afa..41a39bf4 100644
--- a/tderesources/lib/davaddressbookadaptor.h
+++ b/tderesources/lib/davaddressbookadaptor.h
@@ -24,11 +24,11 @@
#include "addressbookadaptor.h"
#include "folderlister.h"
#include <tqdom.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEABC {
-class KDE_EXPORT DavAddressBookAdaptor : public AddressBookAdaptor
+class TDE_EXPORT DavAddressBookAdaptor : public AddressBookAdaptor
{
public:
DavAddressBookAdaptor() {}
diff --git a/tderesources/lib/davcalendaradaptor.h b/tderesources/lib/davcalendaradaptor.h
index ab1c9757..069d6245 100644
--- a/tderesources/lib/davcalendaradaptor.h
+++ b/tderesources/lib/davcalendaradaptor.h
@@ -24,11 +24,11 @@
#include "calendaradaptor.h"
#include "folderlister.h"
#include <tqdom.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace KCal {
-class KDE_EXPORT DavCalendarAdaptor : public CalendarAdaptor
+class TDE_EXPORT DavCalendarAdaptor : public CalendarAdaptor
{
public:
DavCalendarAdaptor() {}
diff --git a/tderesources/lib/folderconfig.cpp b/tderesources/lib/folderconfig.cpp
index e400c02f..facdf13b 100644
--- a/tderesources/lib/folderconfig.cpp
+++ b/tderesources/lib/folderconfig.cpp
@@ -47,12 +47,12 @@ FolderConfig::FolderConfig( TQWidget *parent )
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->addSpacing( KDialog::spacingHint() );
- TQGroupBox *topBox = new TQGroupBox( 1, Qt::Horizontal, i18n("Folder Selection"),
+ TQGroupBox *topBox = new TQGroupBox( 1, TQt::Horizontal, i18n("Folder Selection"),
this );
topLayout->addWidget( topBox );
TQPushButton *button = new TQPushButton( i18n("Update Folder List"), topBox );
- connect( button, TQT_SIGNAL( clicked() ), TQT_SIGNAL( updateFoldersClicked() ) );
+ connect( button, TQ_SIGNAL( clicked() ), TQ_SIGNAL( updateFoldersClicked() ) );
mFolderList = new FolderListView( topBox );
@@ -81,7 +81,7 @@ void FolderConfig::setFolderLister( FolderLister *f )
if ( suptypes.contains( FolderLister::Unknown ) ) types << FolderListView::Unknown;
mFolderList->setEnabledTypes( types );
- connect( mFolderLister, TQT_SIGNAL( foldersRead() ), TQT_SLOT( updateFolderList() ) );
+ connect( mFolderLister, TQ_SIGNAL( foldersRead() ), TQ_SLOT( updateFolderList() ) );
}
void FolderConfig::retrieveFolderList( const KURL &url )
diff --git a/tderesources/lib/folderconfig.h b/tderesources/lib/folderconfig.h
index e027095d..1694613c 100644
--- a/tderesources/lib/folderconfig.h
+++ b/tderesources/lib/folderconfig.h
@@ -24,7 +24,7 @@
#define KPIM_FOLDERCONFIG_H
#include <kurl.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tqwidget.h>
// class TDEListView;
@@ -35,9 +35,9 @@ namespace KPIM {
class FolderLister;
-class KDE_EXPORT FolderConfig : public TQWidget
+class TDE_EXPORT FolderConfig : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
FolderConfig( TQWidget *parent );
diff --git a/tderesources/lib/folderlister.cpp b/tderesources/lib/folderlister.cpp
index c12d3ae6..ec40e8cc 100644
--- a/tderesources/lib/folderlister.cpp
+++ b/tderesources/lib/folderlister.cpp
@@ -216,12 +216,12 @@ void FolderLister::setAdaptor( KPIM::GroupwareDataAdaptor *adaptor )
disconnect( mAdaptor, 0, this, 0 );
}
mAdaptor = adaptor;
- connect( mAdaptor, TQT_SIGNAL( folderInfoRetrieved( const KURL &,
+ connect( mAdaptor, TQ_SIGNAL( folderInfoRetrieved( const KURL &,
const TQString &, KPIM::FolderLister::ContentType ) ),
- this, TQT_SLOT( processFolderResult( const KURL &, const TQString &,
+ this, TQ_SLOT( processFolderResult( const KURL &, const TQString &,
KPIM::FolderLister::ContentType ) ) );
- connect( mAdaptor, TQT_SIGNAL( folderSubitemRetrieved( const KURL &, bool ) ),
- this, TQT_SLOT( folderSubitemRetrieved( const KURL &, bool ) ) );
+ connect( mAdaptor, TQ_SIGNAL( folderSubitemRetrieved( const KURL &, bool ) ),
+ this, TQ_SLOT( folderSubitemRetrieved( const KURL &, bool ) ) );
}
void FolderLister::folderSubitemRetrieved( const KURL &url, bool isFolder )
@@ -272,8 +272,8 @@ void FolderLister::doRetrieveFolder( const KURL &u )
kdDebug(7000) << "FolderLister::retrieveFolders: adjustedURL="
<< url.prettyURL() << endl;
- connect( listjob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotListJobResult( TDEIO::Job * ) ) );
+ connect( listjob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotListJobResult( TDEIO::Job * ) ) );
} else {
// TODO: Indicate a problem to the user!
kdWarning() << "Unable to create the folder list job for the url "
diff --git a/tderesources/lib/folderlister.h b/tderesources/lib/folderlister.h
index ac99d516..4f04bf1c 100644
--- a/tderesources/lib/folderlister.h
+++ b/tderesources/lib/folderlister.h
@@ -26,7 +26,7 @@
// #include "tderesources_groupwareprefs.h"
/*#include "groupwareresourcejob.h"*/
#include <kurl.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tqvaluelist.h>
#include <tqstring.h>
@@ -45,9 +45,9 @@ class GroupwareDataAdaptor;
class GroupwarePrefsBase;
-class KDE_EXPORT FolderLister : public TQObject
+class TDE_EXPORT FolderLister : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Type { AddressBook, Calendar };
diff --git a/tderesources/lib/folderlistview.cpp b/tderesources/lib/folderlistview.cpp
index c9e03daa..f2427c48 100644
--- a/tderesources/lib/folderlistview.cpp
+++ b/tderesources/lib/folderlistview.cpp
@@ -43,10 +43,10 @@ FolderListView::FolderListView( TQWidget *parent, const TQValueList<Property> &t
{
setEnabledTypes( types );
- connect( this, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(slotMousePressed(int, TQListViewItem*, const TQPoint&, int)) );
- connect( this, TQT_SIGNAL(spacePressed(TQListViewItem*)),
- this, TQT_SLOT(showPopupMenu(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(slotMousePressed(int, TQListViewItem*, const TQPoint&, int)) );
+ connect( this, TQ_SIGNAL(spacePressed(TQListViewItem*)),
+ this, TQ_SLOT(showPopupMenu(TQListViewItem*)) );
}
void FolderListView::setEnabledTypes( const TQValueList<Property> &types )
@@ -99,32 +99,32 @@ void FolderListView::showPopupMenu( FolderListItem *i, const TQPoint &globalPos
int id;
m.insertTitle( folder.name, 9999 );
- id = m.insertItem( i18n("&Enabled"), this, TQT_SLOT(slotPopupHandler(int)), 0, FolderName );
+ id = m.insertItem( i18n("&Enabled"), this, TQ_SLOT(slotPopupHandler(int)), 0, FolderName );
m.setItemChecked( id, i->isOn() );
m.insertSeparator();
if ( ( folder.type & KPIM::FolderLister::Event ) && (mTypes.contains( Event ) ) ) {
- id = m.insertItem( i18n("Default for New &Events"), this, TQT_SLOT(slotPopupHandler(int)), 0, Event );
+ id = m.insertItem( i18n("Default for New &Events"), this, TQ_SLOT(slotPopupHandler(int)), 0, Event );
m.setItemChecked( id, i->isDefault( Event ) );
}
if ( ( folder.type & KPIM::FolderLister::Todo ) && (mTypes.contains( Todo ) ) ) {
- id = m.insertItem( i18n("Default for New &Todos"), this, TQT_SLOT(slotPopupHandler(int)), 0, Todo );
+ id = m.insertItem( i18n("Default for New &Todos"), this, TQ_SLOT(slotPopupHandler(int)), 0, Todo );
m.setItemChecked( id, i->isDefault( Todo ) );
}
if ( ( folder.type & KPIM::FolderLister::Journal ) && (mTypes.contains( Journal ) ) ) {
- id = m.insertItem( i18n("Default for New &Journals"), this, TQT_SLOT(slotPopupHandler(int)), 0, Journal );
+ id = m.insertItem( i18n("Default for New &Journals"), this, TQ_SLOT(slotPopupHandler(int)), 0, Journal );
m.setItemChecked( id, i->isDefault( Journal ) );
}
if ( ( folder.type & KPIM::FolderLister::Contact ) && (mTypes.contains( Contact ) ) ) {
- id = m.insertItem( i18n("Default for New &Contacts"), this, TQT_SLOT(slotPopupHandler(int)), 0, Contact );
+ id = m.insertItem( i18n("Default for New &Contacts"), this, TQ_SLOT(slotPopupHandler(int)), 0, Contact );
m.setItemChecked( id, i->isDefault( Contact ) );
}
if ( ( folder.type == KPIM::FolderLister::All ) && (mTypes.contains( All ) ) ) {
- id = m.insertItem( i18n("Default for All New &Items"), this, TQT_SLOT(slotPopupHandler(int)), 0, All );
+ id = m.insertItem( i18n("Default for All New &Items"), this, TQ_SLOT(slotPopupHandler(int)), 0, All );
m.setItemChecked( id, i->isDefault( All ) );
}
if ( ( folder.type == KPIM::FolderLister::Unknown ) && (mTypes.contains( Unknown ) ) ) {
- id = m.insertItem( i18n("Default for &Unknown New Items"), this, TQT_SLOT(slotPopupHandler(int)), 0, Unknown );
+ id = m.insertItem( i18n("Default for &Unknown New Items"), this, TQ_SLOT(slotPopupHandler(int)), 0, Unknown );
m.setItemChecked( id, i->isDefault( Unknown ) );
}
@@ -147,10 +147,10 @@ void FolderListView::slotPopupHandler( int z )
void FolderListView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint& pos, int c)
{
if ( dynamic_cast<FolderListItem*>(i) ) {
- if ( btn == Qt::RightButton ) {
+ if ( btn == TQt::RightButton ) {
showPopupMenu( (FolderListItem*)i, /*mapToGlobal(*/pos/*)*/ );
}
- else if ( btn == Qt::LeftButton && c > 0 ) {
+ else if ( btn == TQt::LeftButton && c > 0 ) {
// map pos to item/column and call FolderListItem::activate(col, pos)
((FolderListItem*)i)->activate( c, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(i).top() ) );
// } else {
diff --git a/tderesources/lib/folderlistview.h b/tderesources/lib/folderlistview.h
index 08cadce6..a54ffd56 100644
--- a/tderesources/lib/folderlistview.h
+++ b/tderesources/lib/folderlistview.h
@@ -37,7 +37,7 @@ class FolderListCaption;
*/
class FolderListView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
friend class FolderListItem;
diff --git a/tderesources/lib/folderselectdialog.cpp b/tderesources/lib/folderselectdialog.cpp
index ab599153..7ffd3e38 100644
--- a/tderesources/lib/folderselectdialog.cpp
+++ b/tderesources/lib/folderselectdialog.cpp
@@ -53,10 +53,10 @@ FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString&
mListBox->ensureCurrentVisible();
layout->addWidget( mListBox, 10 );
- connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ),
- TQT_SLOT( slotOk() ) );
- connect( mListBox, TQT_SIGNAL( returnPressed( TQListBoxItem * ) ),
- TQT_SLOT( slotOk() ) );
+ connect( mListBox, TQ_SIGNAL( doubleClicked( TQListBoxItem * ) ),
+ TQ_SLOT( slotOk() ) );
+ connect( mListBox, TQ_SIGNAL( returnPressed( TQListBoxItem * ) ),
+ TQ_SLOT( slotOk() ) );
mListBox->setFocus();
diff --git a/tderesources/lib/groupwaredataadaptor.h b/tderesources/lib/groupwaredataadaptor.h
index 0370aa6f..51def5c7 100644
--- a/tderesources/lib/groupwaredataadaptor.h
+++ b/tderesources/lib/groupwaredataadaptor.h
@@ -29,7 +29,7 @@
#include <tqstring.h>
#include <libkcal/listbase.h>
#include <tqobject.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEIO {
@@ -44,7 +44,7 @@ class IdMapper;
class GroupwareDataAdaptor;
//class GroupwareJob;
-class KDE_EXPORT GroupwareUploadItem
+class TDE_EXPORT GroupwareUploadItem
{
public:
typedef KCal::ListBase<GroupwareUploadItem> List;
@@ -88,9 +88,9 @@ class KDE_EXPORT GroupwareUploadItem
};
-class KDE_EXPORT GroupwareDataAdaptor : public TQObject
+class TDE_EXPORT GroupwareDataAdaptor : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
GroupwareDataAdaptor();
diff --git a/tderesources/lib/groupwaredownloadjob.cpp b/tderesources/lib/groupwaredownloadjob.cpp
index 52a01fd4..1381b929 100644
--- a/tderesources/lib/groupwaredownloadjob.cpp
+++ b/tderesources/lib/groupwaredownloadjob.cpp
@@ -59,21 +59,21 @@ void GroupwareDownloadJob::run()
mItemsForDownload.clear();
mCurrentlyOnServer.clear();
- connect( adaptor(), TQT_SIGNAL( itemToDownload( const KURL &, KPIM::FolderLister::ContentType ) ),
- TQT_SLOT( slotItemToDownload( const KURL &, KPIM::FolderLister::ContentType ) ) );
- connect( adaptor(), TQT_SIGNAL( itemOnServer( const KURL & ) ),
- TQT_SLOT( slotItemOnServer( const KURL & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemDownloaded( const TQString &, const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemDownloaded( const TQString &, const KURL &, const TQString & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemDownloadError( const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemDownloadError( const KURL &, const TQString & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemToDownload( const KURL &, KPIM::FolderLister::ContentType ) ),
+ TQ_SLOT( slotItemToDownload( const KURL &, KPIM::FolderLister::ContentType ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemOnServer( const KURL & ) ),
+ TQ_SLOT( slotItemOnServer( const KURL & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemDownloaded( const TQString &, const KURL &, const TQString & ) ),
+ TQ_SLOT( slotItemDownloaded( const TQString &, const KURL &, const TQString & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemDownloadError( const KURL &, const TQString & ) ),
+ TQ_SLOT( slotItemDownloadError( const KURL &, const TQString & ) ) );
mProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(),
adaptor()->downloadProgressMessage() );
connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoad() ) );
listItems();
}
@@ -105,10 +105,10 @@ void GroupwareDownloadJob::listItems()
mListItemsData = TQString();
mListEventsJob = adaptor()->createListItemsJob( url );
- connect( mListEventsJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotListItemsResult( TDEIO::Job * ) ) );
- connect( mListEventsJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotListItemsData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mListEventsJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotListItemsResult( TDEIO::Job * ) ) );
+ connect( mListEventsJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotListItemsData( TDEIO::Job *, const TQByteArray & ) ) );
}
}
@@ -187,10 +187,10 @@ void GroupwareDownloadJob::downloadItem()
mDownloadJob = adaptor()->createDownloadJob( href, ctype );
}
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotDownloadItemResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotDownloadItemData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotDownloadItemResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotDownloadItemData( TDEIO::Job *, const TQByteArray & ) ) );
}
}
diff --git a/tderesources/lib/groupwaredownloadjob.h b/tderesources/lib/groupwaredownloadjob.h
index 6cf3bf24..d754ecb5 100644
--- a/tderesources/lib/groupwaredownloadjob.h
+++ b/tderesources/lib/groupwaredownloadjob.h
@@ -41,7 +41,7 @@ class ProgressItem;
*/
class GroupwareDownloadJob : public GroupwareJob
{
- Q_OBJECT
+ TQ_OBJECT
public:
GroupwareDownloadJob( GroupwareDataAdaptor *adaptor );
diff --git a/tderesources/lib/groupwareresourcejob.cpp b/tderesources/lib/groupwareresourcejob.cpp
index b7e4b57b..09972b85 100644
--- a/tderesources/lib/groupwareresourcejob.cpp
+++ b/tderesources/lib/groupwareresourcejob.cpp
@@ -30,7 +30,7 @@ using namespace KPIM;
GroupwareJob::GroupwareJob( GroupwareDataAdaptor *adaptor )
: mAdaptor( adaptor )
{
- TQTimer::singleShot( 0, this, TQT_SLOT( run() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( run() ) );
}
bool GroupwareJob::error() const
diff --git a/tderesources/lib/groupwareresourcejob.h b/tderesources/lib/groupwareresourcejob.h
index d32caaae..1b7697e3 100644
--- a/tderesources/lib/groupwareresourcejob.h
+++ b/tderesources/lib/groupwareresourcejob.h
@@ -37,7 +37,7 @@ class GroupwareDataAdaptor;
*/
class GroupwareJob : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
GroupwareJob( GroupwareDataAdaptor *adaptor );
diff --git a/tderesources/lib/groupwareuploadjob.cpp b/tderesources/lib/groupwareuploadjob.cpp
index 51307d83..4c0f1ba2 100644
--- a/tderesources/lib/groupwareuploadjob.cpp
+++ b/tderesources/lib/groupwareuploadjob.cpp
@@ -52,22 +52,22 @@ void GroupwareUploadJob::run()
KPIM::ProgressManager::getUniqueID(),
adaptor()->uploadProgressMessage() );
connect( mUploadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelSave() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelSave() ) );
- connect( adaptor(), TQT_SIGNAL( itemDeletionError( const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemDeleteError( const KURL &, const TQString & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploadError( const KURL &, const TQString & ) ),
- TQT_SLOT( slotItemUploadError( const KURL &, const TQString & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploadNewError( const TQString &, const TQString & ) ),
- TQT_SLOT( slotItemUploadNewError( const TQString &, const TQString & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemDeletionError( const KURL &, const TQString & ) ),
+ TQ_SLOT( slotItemDeleteError( const KURL &, const TQString & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemUploadError( const KURL &, const TQString & ) ),
+ TQ_SLOT( slotItemUploadError( const KURL &, const TQString & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemUploadNewError( const TQString &, const TQString & ) ),
+ TQ_SLOT( slotItemUploadNewError( const TQString &, const TQString & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemDeleted( const TQString &, const KURL & ) ),
- TQT_SLOT( slotItemDeleted( const TQString &, const KURL & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploaded( const TQString &, const KURL & ) ),
- TQT_SLOT( slotItemUploaded( const TQString &, const KURL & ) ) );
- connect( adaptor(), TQT_SIGNAL( itemUploadedNew( const TQString &, const KURL& ) ),
- TQT_SLOT( slotItemUploadedNew( const TQString &, const KURL & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemDeleted( const TQString &, const KURL & ) ),
+ TQ_SLOT( slotItemDeleted( const TQString &, const KURL & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemUploaded( const TQString &, const KURL & ) ),
+ TQ_SLOT( slotItemUploaded( const TQString &, const KURL & ) ) );
+ connect( adaptor(), TQ_SIGNAL( itemUploadedNew( const TQString &, const KURL& ) ),
+ TQ_SLOT( slotItemUploadedNew( const TQString &, const KURL & ) ) );
mUploadProgress->setTotalItems( mAddedItems.size() + mChangedItems.size() +
@@ -81,7 +81,7 @@ void GroupwareUploadJob::deleteItem()
{
kdDebug(5800)<<"GroupwareUploadJob::deleteItem()"<<endl;
if ( mDeletedItems.isEmpty() ) {
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadItem() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( uploadItem() ) );
} else {
kdDebug(7000) << " Deleting " << mDeletedItems.size() << " items from the server " << endl;
@@ -102,10 +102,10 @@ kdDebug() << "Not using batch delete " << endl;
if ( mDeletionJob ) {
mDeletionJobData = TQString();
- connect( mDeletionJob, TQT_SIGNAL( result( TDEIO::Job* ) ),
- TQT_SLOT( slotDeletionJobResult( TDEIO::Job* ) ) );
-// connect( mDeletionJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
-// TQT_SLOT( slotDeletionJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mDeletionJob, TQ_SIGNAL( result( TDEIO::Job* ) ),
+ TQ_SLOT( slotDeletionJobResult( TDEIO::Job* ) ) );
+// connect( mDeletionJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+// TQ_SLOT( slotDeletionJobData( TDEIO::Job *, const TQByteArray & ) ) );
} else {
deleteItem();
}
@@ -129,7 +129,7 @@ void GroupwareUploadJob::slotDeletionJobResult( TDEIO::Job *job )
adaptor()->interpretRemoveJob( job, mDeletionJobData );
}
mDeletionJob = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT( deleteItem() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( deleteItem() ) );
}
@@ -138,7 +138,7 @@ void GroupwareUploadJob::uploadItem()
{
kdDebug(5800)<<"GroupwareUploadJob::uploadItem()"<<endl;
if ( mChangedItems.isEmpty() ) {
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadNewItem() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( uploadNewItem() ) );
} else {
kdDebug(5800)<<"We still have "<<mChangedItems.count()<<" changed items to upload"<<endl;
@@ -159,10 +159,10 @@ kdDebug() << "Not using batch upload " << endl;
if ( mUploadJob ) {
mUploadJobData = TQString();
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ),
- TQT_SLOT( slotUploadJobResult( TDEIO::Job* ) ) );
- connect( mUploadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotUploadJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( TDEIO::Job* ) ),
+ TQ_SLOT( slotUploadJobResult( TDEIO::Job* ) ) );
+ connect( mUploadJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotUploadJobData( TDEIO::Job *, const TQByteArray & ) ) );
} else {
uploadItem();
}
@@ -185,7 +185,7 @@ void GroupwareUploadJob::slotUploadJobResult( TDEIO::Job *job )
adaptor()->interpretUploadJob( job, mUploadJobData );
}
mUploadJob = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadItem() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( uploadItem() ) );
}
@@ -217,10 +217,10 @@ kdDebug() << "Not using batch create to " << url.url() << " for item of type " <
if ( mUploadJob ) {
mUploadNewJobData = TQString();
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ),
- TQT_SLOT( slotUploadNewJobResult( TDEIO::Job* ) ) );
- connect( mUploadJob, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
- TQT_SLOT( slotUploadNewJobData( TDEIO::Job *, const TQByteArray & ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( TDEIO::Job* ) ),
+ TQ_SLOT( slotUploadNewJobResult( TDEIO::Job* ) ) );
+ connect( mUploadJob, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ),
+ TQ_SLOT( slotUploadNewJobData( TDEIO::Job *, const TQByteArray & ) ) );
} else {
uploadNewItem();
}
@@ -246,7 +246,7 @@ void GroupwareUploadJob::slotUploadNewJobResult( TDEIO::Job *job )
adaptor()->interpretUploadNewJob( job, mUploadNewJobData );
}
mUploadJob = 0;
- TQTimer::singleShot( 0, this, TQT_SLOT( uploadNewItem() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( uploadNewItem() ) );
}
diff --git a/tderesources/lib/groupwareuploadjob.h b/tderesources/lib/groupwareuploadjob.h
index 13ba3ed5..9845457b 100644
--- a/tderesources/lib/groupwareuploadjob.h
+++ b/tderesources/lib/groupwareuploadjob.h
@@ -46,7 +46,7 @@ class ProgressItem;
*/
class GroupwareUploadJob : public GroupwareJob
{
- Q_OBJECT
+ TQ_OBJECT
public:
GroupwareUploadJob( GroupwareDataAdaptor *adaptor );
diff --git a/tderesources/lib/kcal_cachesettingsdlg.h b/tderesources/lib/kcal_cachesettingsdlg.h
index 18586455..13510782 100644
--- a/tderesources/lib/kcal_cachesettingsdlg.h
+++ b/tderesources/lib/kcal_cachesettingsdlg.h
@@ -23,7 +23,7 @@
#define KCAL_CACHESETTINGSDLG_H
#include <kdialogbase.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace KRES {
@@ -39,9 +39,9 @@ class ResourceCachedSaveConfig;
Configuration widget for groupware tdeioslave resource.
@see KCalOpenGroupware
*/
-class KDE_EXPORT CacheSettingsDialog : public KDialogBase
+class TDE_EXPORT CacheSettingsDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CacheSettingsDialog( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/lib/kcal_resourcegroupwarebase.cpp b/tderesources/lib/kcal_resourcegroupwarebase.cpp
index 8474ed21..1710a11e 100644
--- a/tderesources/lib/kcal_resourcegroupwarebase.cpp
+++ b/tderesources/lib/kcal_resourcegroupwarebase.cpp
@@ -195,8 +195,8 @@ bool ResourceGroupwareBase::doOpen()
return false;
} else {
mLoginFinished = false;
- connect( loginJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoginJobResult( TDEIO::Job* ) ) );
+ connect( loginJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotLoginJobResult( TDEIO::Job* ) ) );
enter_loop();
return mLoginFinished;
}
@@ -217,7 +217,7 @@ void tqt_leave_modal( TQWidget *widget );
void ResourceGroupwareBase::enter_loop()
{
TQWidget dummy(0,0,WType_Dialog | WShowModal);
- dummy.setFocusPolicy( TQ_NoFocus );
+ dummy.setFocusPolicy( TQWidget::NoFocus );
tqt_enter_modal(&dummy);
tqApp->enter_loop();
tqt_leave_modal(&dummy);
@@ -239,8 +239,8 @@ void ResourceGroupwareBase::doClose()
if ( adaptor() &&
adaptor()->flags() & KPIM::GroupwareDataAdaptor::GWResNeedsLogoff ) {
TDEIO::Job *logoffJob = adaptor()->createLogoffJob( prefs()->url(), prefs()->user(), prefs()->password() );
- connect( logoffJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLogoffJobResult( TDEIO::Job* ) ) );
+ connect( logoffJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotLogoffJobResult( TDEIO::Job* ) ) );
// TODO: Do we really need to block while waiting for the job to return?
enter_loop();
}
@@ -276,8 +276,8 @@ bool ResourceGroupwareBase::doLoad()
emit resourceChanged( this );
mDownloadJob = createDownloadJob( adaptor() );
- connect( mDownloadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( KPIM::GroupwareJob * ) ),
+ TQ_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
return true;
}
@@ -322,8 +322,8 @@ bool ResourceGroupwareBase::doSave()
if ( !confirmSave() ) return false;
mUploadJob = createUploadJob( adaptor() );
- connect( mUploadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotUploadJobResult( KPIM::GroupwareJob * ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( KPIM::GroupwareJob * ) ),
+ TQ_SLOT( slotUploadJobResult( KPIM::GroupwareJob * ) ) );
Incidence::List inc;
Incidence::List::Iterator it;
@@ -376,8 +376,8 @@ void ResourceGroupwareBase::slotUploadJobResult( KPIM::GroupwareJob *job )
if ( !mDownloadJob ) {
mDownloadJob = createDownloadJob( adaptor() );
- connect( mDownloadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( KPIM::GroupwareJob * ) ),
+ TQ_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
} else {
kdWarning() << k_funcinfo << "Download still in progress. "
"Can't happen. (TM)" << endl;
diff --git a/tderesources/lib/kcal_resourcegroupwarebase.h b/tderesources/lib/kcal_resourcegroupwarebase.h
index f7f80435..fcde85aa 100644
--- a/tderesources/lib/kcal_resourcegroupwarebase.h
+++ b/tderesources/lib/kcal_resourcegroupwarebase.h
@@ -25,7 +25,7 @@
#include <kurl.h>
#include <libkcal/resourcecached.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tdeabc/locknull.h>
namespace TDEIO {
@@ -49,9 +49,9 @@ class CalendarAdaptor;
This class provides a resource for accessing a Groupware tdeioslave-based
calendar.
*/
-class KDE_EXPORT ResourceGroupwareBase : public ResourceCached
+class TDE_EXPORT ResourceGroupwareBase : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceGroupwareBase();
diff --git a/tderesources/lib/kcal_resourcegroupwarebaseconfig.cpp b/tderesources/lib/kcal_resourcegroupwarebaseconfig.cpp
index 1ca2570a..4f576ed7 100644
--- a/tderesources/lib/kcal_resourcegroupwarebaseconfig.cpp
+++ b/tderesources/lib/kcal_resourcegroupwarebaseconfig.cpp
@@ -68,15 +68,15 @@ ResourceGroupwareBaseConfig::ResourceGroupwareBaseConfig( TQWidget* parent,
mPasswordEdit->setEchoMode( KLineEdit::Password );
mFolderConfig = new KPIM::FolderConfig( this );
- connect( mFolderConfig, TQT_SIGNAL( updateFoldersClicked() ),
- TQT_SLOT( updateFolders() ) );
+ connect( mFolderConfig, TQ_SIGNAL( updateFoldersClicked() ),
+ TQ_SLOT( updateFolders() ) );
mainLayout->addMultiCellWidget( mFolderConfig, 4, 4, 0, 1 );
TQHBox *hBox = new TQHBox( this );
mCacheSettingsButton = new KPushButton( i18n("Configure Cache Settings..."), hBox );
mainLayout->addMultiCellWidget( hBox, 5, 5, 0, 1 );
- connect( mCacheSettingsButton, TQT_SIGNAL( clicked() ),
- TQT_SLOT( showCacheSettings() ) );
+ connect( mCacheSettingsButton, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( showCacheSettings() ) );
mCacheDialog = new CacheSettingsDialog( this );
}
diff --git a/tderesources/lib/kcal_resourcegroupwarebaseconfig.h b/tderesources/lib/kcal_resourcegroupwarebaseconfig.h
index 940ba61b..23ffef60 100644
--- a/tderesources/lib/kcal_resourcegroupwarebaseconfig.h
+++ b/tderesources/lib/kcal_resourcegroupwarebaseconfig.h
@@ -23,7 +23,7 @@
#define KCAL_RESOURCEGROUPWAREBASECONFIG_H
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class KPushButton;
class KLineEdit;
@@ -44,9 +44,9 @@ class CacheSettingsDialog;
@see KCalOpenGroupware
*/
-class KDE_EXPORT ResourceGroupwareBaseConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceGroupwareBaseConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceGroupwareBaseConfig( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/lib/tdeabc_resourcegroupwarebase.cpp b/tderesources/lib/tdeabc_resourcegroupwarebase.cpp
index f4a46990..cf73e03a 100644
--- a/tderesources/lib/tdeabc_resourcegroupwarebase.cpp
+++ b/tderesources/lib/tdeabc_resourcegroupwarebase.cpp
@@ -177,8 +177,8 @@ bool ResourceGroupwareBase::asyncLoad()
loadCache();
mDownloadJob = createDownloadJob( mAdaptor );
- connect( mDownloadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( KPIM::GroupwareJob * ) ),
+ TQ_SLOT( slotDownloadJobResult( KPIM::GroupwareJob * ) ) );
return true;
}
@@ -212,8 +212,8 @@ bool ResourceGroupwareBase::asyncSave( Ticket* )
}
mUploadJob = createUploadJob( mAdaptor );
- connect( mUploadJob, TQT_SIGNAL( result( KPIM::GroupwareJob * ) ),
- TQT_SLOT( slotUploadJobResult( KPIM::GroupwareJob * ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( KPIM::GroupwareJob * ) ),
+ TQ_SLOT( slotUploadJobResult( KPIM::GroupwareJob * ) ) );
TDEABC::Addressee::List addr;
TDEABC::Addressee::List::Iterator it;
diff --git a/tderesources/lib/tdeabc_resourcegroupwarebase.h b/tderesources/lib/tdeabc_resourcegroupwarebase.h
index 9d122fe4..36307699 100644
--- a/tderesources/lib/tdeabc_resourcegroupwarebase.h
+++ b/tderesources/lib/tdeabc_resourcegroupwarebase.h
@@ -24,7 +24,7 @@
#include <kurl.h>
#include <tdeabcresourcecached.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class TDEConfig;
@@ -40,9 +40,9 @@ namespace TDEABC {
class AddressBookAdaptor;
-class KDE_EXPORT ResourceGroupwareBase : public ResourceCached
+class TDE_EXPORT ResourceGroupwareBase : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.cpp b/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.cpp
index 69dfb3d8..a80ce9e0 100644
--- a/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.cpp
+++ b/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.cpp
@@ -67,8 +67,8 @@ ResourceGroupwareBaseConfig::ResourceGroupwareBaseConfig( TQWidget* parent, con
mainLayout->addMultiCellWidget( hline, 3, 3, 0, 1 );
mFolderConfig = new KPIM::FolderConfig( this );
- connect( mFolderConfig, TQT_SIGNAL( updateFoldersClicked() ),
- TQT_SLOT( updateFolders() ) );
+ connect( mFolderConfig, TQ_SIGNAL( updateFoldersClicked() ),
+ TQ_SLOT( updateFolders() ) );
mainLayout->addMultiCellWidget( mFolderConfig, 4, 4, 0, 1 );
}
diff --git a/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.h b/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.h
index 37e98ef4..b7cb3a3e 100644
--- a/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.h
+++ b/tderesources/lib/tdeabc_resourcegroupwarebaseconfig.h
@@ -23,7 +23,7 @@
#define TDEABC_RESOURCEGROUPWAREBASECONFIG_H
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class KLineEdit;
class KURLRequester;
@@ -36,9 +36,9 @@ namespace TDEABC {
class ResourceGroupwareBase;
-class KDE_EXPORT ResourceGroupwareBaseConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceGroupwareBaseConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/lib/webdavhandler.cpp b/tderesources/lib/webdavhandler.cpp
index af5eb276..d3255c36 100644
--- a/tderesources/lib/webdavhandler.cpp
+++ b/tderesources/lib/webdavhandler.cpp
@@ -120,7 +120,7 @@ bool WebdavHandler::extractDateTime( const TQDomElement &node, const TQString &e
{
TQDomElement element = node.namedItem( entry ).toElement();
if ( !element.isNull() && !element.text().isEmpty() ) {
- value = TQDateTime::fromString( element.text(), Qt::ISODate );
+ value = TQDateTime::fromString( element.text(), TQt::ISODate );
return true;
}
return false;
diff --git a/tderesources/lib/webdavhandler.h b/tderesources/lib/webdavhandler.h
index a2de509d..4371ac5b 100644
--- a/tderesources/lib/webdavhandler.h
+++ b/tderesources/lib/webdavhandler.h
@@ -27,9 +27,9 @@
#include <tqdom.h>
#include <tqdatetime.h>
#include <kurl.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
-class KDE_EXPORT WebdavHandler
+class TDE_EXPORT WebdavHandler
{
public:
WebdavHandler();
diff --git a/tderesources/newexchange/exchangecalendaradaptor.cpp b/tderesources/newexchange/exchangecalendaradaptor.cpp
index 5b51de5e..3b7aa36d 100644
--- a/tderesources/newexchange/exchangecalendaradaptor.cpp
+++ b/tderesources/newexchange/exchangecalendaradaptor.cpp
@@ -109,7 +109,7 @@ void ExchangeDelete::findUidSingleMaster( TQString const& uid )
TDEIO::DavJob* job = TDEIO::davSearch( mAccount->calendarURL(), "DAV:", "sql", query, false );
job->setWindow( mWindow );
- connect(job, TQT_SIGNAL(result( TDEIO::Job * )), this, TQT_SLOT(slotFindUidResult(TDEIO::Job *)));
+ connect(job, TQ_SIGNAL(result( TDEIO::Job * )), this, TQ_SLOT(slotFindUidResult(TDEIO::Job *)));
}
*/
diff --git a/tderesources/newexchange/exchangeconvertercalendar.cpp b/tderesources/newexchange/exchangeconvertercalendar.cpp
index 85baf974..58c31535 100644
--- a/tderesources/newexchange/exchangeconvertercalendar.cpp
+++ b/tderesources/newexchange/exchangeconvertercalendar.cpp
@@ -314,8 +314,8 @@ void ExchangeDownload::handleRecurrence( TQString uid )
query, false );
TDEIO::Scheduler::scheduleJob( job );
job->setWindow( mWindow );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotMasterResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotMasterResult( TDEIO::Job * ) ) );
}
*/
@@ -410,7 +410,7 @@ kdDebug()<<"ExchangeConverterCalendar::readIncidence: ERROR: No UID given"<<endl
TQStringList::Iterator it = tmplst.begin();
KCal::DateList exdates;
for ( ; it != tmplst.end(); ++it ) {
- exdates.append( /*utcAsZone(*/ TQDateTime::fromString( *it, Qt::ISODate )/*,
+ exdates.append( /*utcAsZone(*/ TQDateTime::fromString( *it, TQt::ISODate )/*,
localTimeZoneId )*/.date() );
}
event->recurrence()->setExDates( exdates );
@@ -593,7 +593,7 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
void addDateProp( TQDomElement &el ) { el.setAttribute( "b:dt", "dateTime.tz" ); }
void addFloatProp( TQDomElement &el ) { el.setAttribute( "b:dt", "float" ); }
void addIntProp( TQDomElement &el ) { el.setAttribute( "b:dt", "int" ); }
- TQString timePropString( const TQDateTime &dt ) { return dt.toString( Qt::ISODate )+"Z"; }
+ TQString timePropString( const TQDateTime &dt ) { return dt.toString( TQt::ISODate )+"Z"; }
bool visitIncidence( Incidence *incidence )
{
@@ -730,8 +730,8 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
/* FIXME:
domCalendarProperty( "uid", todo->uid() );
- domCalendarProperty( "created", todo->created().toString( Qt::ISODate ) );
- domCalendarProperty( "lastmodified", todo->lastModified().toString( Qt::ISODate ) );*/
+ domCalendarProperty( "created", todo->created().toString( TQt::ISODate ) );
+ domCalendarProperty( "lastmodified", todo->lastModified().toString( TQt::ISODate ) );*/
// TODO
/*propertyTask1( TaskProp_Owner );
propertyTask2( TaskProp_ContactNames );
@@ -758,8 +758,8 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
"outlookmessageclass", "IPM.Journal" );
/* FIXME:
domCalendarProperty( "uid", todo->uid() );
- domCalendarProperty( "created", todo->created().toString( Qt::ISODate ) );
- domCalendarProperty( "lastmodified", todo->lastModified().toString( Qt::ISODate ) );*/
+ domCalendarProperty( "created", todo->created().toString( TQt::ISODate ) );
+ domCalendarProperty( "lastmodified", todo->lastModified().toString( TQt::ISODate ) );*/
// TODO
return true;
}
diff --git a/tderesources/newexchange/kcal_resourceexchange.h b/tderesources/newexchange/kcal_resourceexchange.h
index 823ed9a7..f2e31341 100644
--- a/tderesources/newexchange/kcal_resourceexchange.h
+++ b/tderesources/newexchange/kcal_resourceexchange.h
@@ -29,9 +29,9 @@ namespace KCal {
/**
This class provides a resource for accessing an Exchange server
*/
-class KDE_EXPORT ResourceExchange : public ResourceGroupwareBase
+class TDE_EXPORT ResourceExchange : public ResourceGroupwareBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceExchange();
diff --git a/tderesources/newexchange/tdeabc_resourceexchange.h b/tderesources/newexchange/tdeabc_resourceexchange.h
index a5ae0e5e..9ed102e2 100644
--- a/tderesources/newexchange/tdeabc_resourceexchange.h
+++ b/tderesources/newexchange/tdeabc_resourceexchange.h
@@ -25,9 +25,9 @@
namespace TDEABC {
-class KDE_EXPORT ResourceExchange : public ResourceGroupwareBase
+class TDE_EXPORT ResourceExchange : public ResourceGroupwareBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/remote/resourceremote.cpp b/tderesources/remote/resourceremote.cpp
index 0a58aefb..4f81329a 100644
--- a/tderesources/remote/resourceremote.cpp
+++ b/tderesources/remote/resourceremote.cpp
@@ -31,7 +31,7 @@
#include <tdeio/job.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <libkcal/icalformat.h>
#include <libkcal/exceptions.h>
@@ -197,11 +197,11 @@ bool ResourceRemote::doLoad()
mDownloadJob = TDEIO::file_copy( mDownloadUrl, KURL( cacheFile() ), -1, true,
false, !mUseProgressManager );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoadJobResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotLoadJobResult( TDEIO::Job * ) ) );
if ( mUseProgressManager ) {
- connect( mDownloadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotPercent( TDEIO::Job *, unsigned long ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotPercent( TDEIO::Job *, unsigned long ) ) );
mProgress = KPIM::ProgressManager::createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading Calendar") );
@@ -283,8 +283,8 @@ bool ResourceRemote::doSave()
saveCache();
mUploadJob = TDEIO::file_copy( KURL( cacheFile() ), mUploadUrl, -1, true );
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotSaveJobResult( TDEIO::Job * ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotSaveJobResult( TDEIO::Job * ) ) );
return true;
}
diff --git a/tderesources/remote/resourceremote.h b/tderesources/remote/resourceremote.h
index ec7be921..58ddd831 100644
--- a/tderesources/remote/resourceremote.h
+++ b/tderesources/remote/resourceremote.h
@@ -28,7 +28,7 @@
#include <kurl.h>
#include <tdeconfig.h>
#include <kdirwatch.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <libtdepim/progressmanager.h>
@@ -48,9 +48,9 @@ namespace KCal {
/**
This class provides a calendar stored as a remote file.
*/
-class KDE_EXPORT ResourceRemote : public ResourceCached
+class TDE_EXPORT ResourceRemote : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
friend class ResourceRemoteConfig;
diff --git a/tderesources/remote/resourceremoteconfig.cpp b/tderesources/remote/resourceremoteconfig.cpp
index 381134b0..ca822f01 100644
--- a/tderesources/remote/resourceremoteconfig.cpp
+++ b/tderesources/remote/resourceremoteconfig.cpp
@@ -27,7 +27,7 @@
#include <tdelocale.h>
#include <kdebug.h>
#include <tdemessagebox.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kdialog.h>
#include <libkcal/resourcecachedconfig.h>
diff --git a/tderesources/remote/resourceremoteconfig.h b/tderesources/remote/resourceremoteconfig.h
index fdf26203..6359aa99 100644
--- a/tderesources/remote/resourceremoteconfig.h
+++ b/tderesources/remote/resourceremoteconfig.h
@@ -30,7 +30,7 @@
#include <tderesources/resource.h>
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace KCal {
@@ -42,9 +42,9 @@ class ResourceCachedSaveConfig;
@see ResourceRemote
*/
-class KDE_EXPORT ResourceRemoteConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceRemoteConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceRemoteConfig( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/scalix/kcal/resourcescalix.cpp b/tderesources/scalix/kcal/resourcescalix.cpp
index ff9158d1..cd341e2d 100644
--- a/tderesources/scalix/kcal/resourcescalix.cpp
+++ b/tderesources/scalix/kcal/resourcescalix.cpp
@@ -66,8 +66,8 @@ ResourceScalix::ResourceScalix( const TDEConfig *config )
mCalendar( TQString::fromLatin1("UTC") ), mOpen( false )
{
setType( "scalix" );
- connect( &mResourceChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotEmitResourceChanged() ) );
+ connect( &mResourceChangedTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( slotEmitResourceChanged() ) );
}
ResourceScalix::~ResourceScalix()
@@ -165,7 +165,7 @@ bool ResourceScalix::loadSubResource( const TQString& subResource,
UIServer_stub uiserver( "tdeio_uiserver", "UIServer" );
int progressId = 0;
if ( useProgress ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
+ progressId = uiserver.newJob( tdeApp->dcopClient()->appId(), true );
uiserver.totalFiles( progressId, count );
uiserver.infoMessage( progressId, labelTxt );
uiserver.transferring( progressId, labelTxt );
@@ -310,7 +310,7 @@ void ResourceScalix::resolveConflict( KCal::Incidence* inc, const TQString& subr
KIncidenceChooser* ch = new KIncidenceChooser();
ch->setIncidence( local ,inc );
if ( KIncidenceChooser::chooseMode == KIncidenceChooser::ask ) {
- connect ( this, TQT_SIGNAL( useGlobalMode() ), ch, TQT_SLOT ( useGlobalMode() ) );
+ connect ( this, TQ_SIGNAL( useGlobalMode() ), ch, TQ_SLOT ( useGlobalMode() ) );
if ( ch->exec() )
if ( KIncidenceChooser::chooseMode != KIncidenceChooser::ask )
emit useGlobalMode() ;
diff --git a/tderesources/scalix/kcal/resourcescalix.h b/tderesources/scalix/kcal/resourcescalix.h
index d4e564c0..0890eaf0 100644
--- a/tderesources/scalix/kcal/resourcescalix.h
+++ b/tderesources/scalix/kcal/resourcescalix.h
@@ -36,7 +36,7 @@
#include <tqtimer.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <libkcal/calendarlocal.h>
#include <libkcal/icalformat.h>
#include <libkcal/resourcecalendar.h>
@@ -46,11 +46,11 @@ namespace KCal {
struct TemporarySilencer;
-class KDE_EXPORT ResourceScalix : public KCal::ResourceCalendar,
+class TDE_EXPORT ResourceScalix : public KCal::ResourceCalendar,
public KCal::IncidenceBase::Observer,
public Scalix::ResourceScalixBase
{
- Q_OBJECT
+ TQ_OBJECT
friend struct TemporarySilencer;
diff --git a/tderesources/scalix/knotes/resourcescalix.h b/tderesources/scalix/knotes/resourcescalix.h
index ab40b707..592fc0a3 100644
--- a/tderesources/scalix/knotes/resourcescalix.h
+++ b/tderesources/scalix/knotes/resourcescalix.h
@@ -38,7 +38,7 @@
#include <libkcal/calendarlocal.h>
#include "../shared/resourcescalixbase.h"
#include "../shared/subresource.h"
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace Scalix {
@@ -48,11 +48,11 @@ namespace Scalix {
* addresses in an IMAP folder in KMail (or other conforming email
* clients).
*/
-class KDE_EXPORT ResourceScalix : public ResourceNotes,
+class TDE_EXPORT ResourceScalix : public ResourceNotes,
public KCal::IncidenceBase::Observer,
public ResourceScalixBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/delegatedialog.cpp b/tderesources/scalix/scalixadmin/delegatedialog.cpp
index 8674ce70..af843285 100644
--- a/tderesources/scalix/scalixadmin/delegatedialog.cpp
+++ b/tderesources/scalix/scalixadmin/delegatedialog.cpp
@@ -63,7 +63,7 @@ DelegateDialog::DelegateDialog( TQWidget *parent )
row++;
}
- connect( emailSelector, TQT_SIGNAL( clicked() ), TQT_SLOT( selectEmail() ) );
+ connect( emailSelector, TQ_SIGNAL( clicked() ), TQ_SLOT( selectEmail() ) );
setMainWidget( page );
}
diff --git a/tderesources/scalix/scalixadmin/delegatedialog.h b/tderesources/scalix/scalixadmin/delegatedialog.h
index 2f258113..874bced5 100644
--- a/tderesources/scalix/scalixadmin/delegatedialog.h
+++ b/tderesources/scalix/scalixadmin/delegatedialog.h
@@ -34,7 +34,7 @@ class Delegate;
class DelegateDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/delegatemanager.h b/tderesources/scalix/scalixadmin/delegatemanager.h
index 05b0262d..b58d8ac9 100644
--- a/tderesources/scalix/scalixadmin/delegatemanager.h
+++ b/tderesources/scalix/scalixadmin/delegatemanager.h
@@ -28,7 +28,7 @@
class DelegateManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/delegatepage.cpp b/tderesources/scalix/scalixadmin/delegatepage.cpp
index b4368f7d..b43dac85 100644
--- a/tderesources/scalix/scalixadmin/delegatepage.cpp
+++ b/tderesources/scalix/scalixadmin/delegatepage.cpp
@@ -53,10 +53,10 @@ DelegatePage::DelegatePage( TQWidget *parent )
mRemoveButton->setEnabled( false );
layout->addWidget( mRemoveButton, 1, 2 );
- connect( mView, TQT_SIGNAL( selectionChanged() ), TQT_SLOT( selectionChanged() ) );
- connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addDelegate() ) );
- connect( mEditButton, TQT_SIGNAL( clicked() ), TQT_SLOT( editDelegate() ) );
- connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeDelegate() ) );
+ connect( mView, TQ_SIGNAL( selectionChanged() ), TQ_SLOT( selectionChanged() ) );
+ connect( mAddButton, TQ_SIGNAL( clicked() ), TQ_SLOT( addDelegate() ) );
+ connect( mEditButton, TQ_SIGNAL( clicked() ), TQ_SLOT( editDelegate() ) );
+ connect( mRemoveButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeDelegate() ) );
loadAllDelegates();
}
@@ -69,7 +69,7 @@ void DelegatePage::loadAllDelegates()
{
Scalix::GetDelegatesJob *job = Scalix::getDelegates( Settings::self()->globalSlave(),
Settings::self()->accountUrl() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( allDelegates( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( allDelegates( TDEIO::Job* ) ) );
}
void DelegatePage::addDelegate()
@@ -88,7 +88,7 @@ void DelegatePage::addDelegate()
Scalix::SetDelegateJob *job = Scalix::setDelegate( Settings::self()->globalSlave(),
Settings::self()->accountUrl(),
delegate.email(), delegate.rights() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( delegateAdded( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( delegateAdded( TDEIO::Job* ) ) );
}
void DelegatePage::editDelegate()
@@ -113,7 +113,7 @@ void DelegatePage::editDelegate()
Scalix::SetDelegateJob *job = Scalix::setDelegate( Settings::self()->globalSlave(),
Settings::self()->accountUrl(),
delegate.email(), delegate.rights() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( delegateAdded( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( delegateAdded( TDEIO::Job* ) ) );
}
void DelegatePage::removeDelegate()
@@ -124,7 +124,7 @@ void DelegatePage::removeDelegate()
Scalix::DeleteDelegateJob *job = Scalix::deleteDelegate( Settings::self()->globalSlave(),
Settings::self()->accountUrl(), delegate.email() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( delegateRemoved( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( delegateRemoved( TDEIO::Job* ) ) );
}
void DelegatePage::allDelegates( TDEIO::Job *job )
diff --git a/tderesources/scalix/scalixadmin/delegatepage.h b/tderesources/scalix/scalixadmin/delegatepage.h
index 0523effe..eabd988d 100644
--- a/tderesources/scalix/scalixadmin/delegatepage.h
+++ b/tderesources/scalix/scalixadmin/delegatepage.h
@@ -30,7 +30,7 @@ class DelegateView;
class DelegatePage : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/delegateview.cpp b/tderesources/scalix/scalixadmin/delegateview.cpp
index 79b8cf33..e999baff 100644
--- a/tderesources/scalix/scalixadmin/delegateview.cpp
+++ b/tderesources/scalix/scalixadmin/delegateview.cpp
@@ -48,7 +48,7 @@ DelegateView::DelegateView( DelegateManager *manager, TQWidget *parent )
setFullWidth( true );
setAllColumnsShowFocus( true );
- connect( mManager, TQT_SIGNAL( changed() ), TQT_SLOT( delegateChanged() ) );
+ connect( mManager, TQ_SIGNAL( changed() ), TQ_SLOT( delegateChanged() ) );
delegateChanged();
}
diff --git a/tderesources/scalix/scalixadmin/delegateview.h b/tderesources/scalix/scalixadmin/delegateview.h
index 0416b8a0..2b72d284 100644
--- a/tderesources/scalix/scalixadmin/delegateview.h
+++ b/tderesources/scalix/scalixadmin/delegateview.h
@@ -31,7 +31,7 @@ class DelegateManager;
class DelegateView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/jobs.cpp b/tderesources/scalix/scalixadmin/jobs.cpp
index e07b17ca..d965438d 100644
--- a/tderesources/scalix/scalixadmin/jobs.cpp
+++ b/tderesources/scalix/scalixadmin/jobs.cpp
@@ -207,8 +207,8 @@ DeleteDelegateJob::DeleteDelegateJob( const KURL& url, const TQByteArray &packed
GetDelegatesJob::GetDelegatesJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
: TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
{
- connect( this, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
+ connect( this, TQ_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ this, TQ_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
}
Delegate::List GetDelegatesJob::delegates() const
@@ -259,8 +259,8 @@ DeleteOtherUserJob::DeleteOtherUserJob( const KURL& url, const TQByteArray &pack
GetOtherUsersJob::GetOtherUsersJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
: TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
{
- connect( this, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
+ connect( this, TQ_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ this, TQ_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
}
TQStringList GetOtherUsersJob::otherUsers() const
@@ -281,8 +281,8 @@ SetOutOfOfficeJob::SetOutOfOfficeJob( const KURL& url, const TQByteArray &packed
GetOutOfOfficeJob::GetOutOfOfficeJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo )
: TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo )
{
- connect( this, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
+ connect( this, TQ_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ this, TQ_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
}
bool GetOutOfOfficeJob::enabled() const
diff --git a/tderesources/scalix/scalixadmin/jobs.h b/tderesources/scalix/scalixadmin/jobs.h
index 832db070..0f65a104 100644
--- a/tderesources/scalix/scalixadmin/jobs.h
+++ b/tderesources/scalix/scalixadmin/jobs.h
@@ -132,7 +132,7 @@ namespace Scalix {
class GetDelegatesJob : public TDEIO::SimpleJob
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -161,7 +161,7 @@ namespace Scalix {
class GetOtherUsersJob : public TDEIO::SimpleJob
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -184,7 +184,7 @@ namespace Scalix {
class GetOutOfOfficeJob : public TDEIO::SimpleJob
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/ldapview.cpp b/tderesources/scalix/scalixadmin/ldapview.cpp
index 3e6eea04..a58dec2e 100644
--- a/tderesources/scalix/scalixadmin/ldapview.cpp
+++ b/tderesources/scalix/scalixadmin/ldapview.cpp
@@ -56,10 +56,10 @@ LdapView::LdapView( TQWidget *parent )
attrs << "surname" << "mail";
mClient->setAttrs( attrs );
- connect( mClient, TQT_SIGNAL( result( const TDEABC::LdapObject& ) ),
- this, TQT_SLOT( entryAdded( const TDEABC::LdapObject& ) ) );
- connect( mClient, TQT_SIGNAL( error( const TQString& ) ),
- this, TQT_SLOT( error( const TQString& ) ) );
+ connect( mClient, TQ_SIGNAL( result( const TDEABC::LdapObject& ) ),
+ this, TQ_SLOT( entryAdded( const TDEABC::LdapObject& ) ) );
+ connect( mClient, TQ_SIGNAL( error( const TQString& ) ),
+ this, TQ_SLOT( error( const TQString& ) ) );
}
LdapView::~LdapView()
diff --git a/tderesources/scalix/scalixadmin/ldapview.h b/tderesources/scalix/scalixadmin/ldapview.h
index 9de45817..f405045b 100644
--- a/tderesources/scalix/scalixadmin/ldapview.h
+++ b/tderesources/scalix/scalixadmin/ldapview.h
@@ -29,7 +29,7 @@ class LdapObject;
class LdapView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/otherusermanager.h b/tderesources/scalix/scalixadmin/otherusermanager.h
index 26f33ee4..e02e53a1 100644
--- a/tderesources/scalix/scalixadmin/otherusermanager.h
+++ b/tderesources/scalix/scalixadmin/otherusermanager.h
@@ -26,7 +26,7 @@
class OtherUserManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/otheruserpage.cpp b/tderesources/scalix/scalixadmin/otheruserpage.cpp
index 3cc220ea..f7594acf 100644
--- a/tderesources/scalix/scalixadmin/otheruserpage.cpp
+++ b/tderesources/scalix/scalixadmin/otheruserpage.cpp
@@ -52,9 +52,9 @@ OtherUserPage::OtherUserPage( TQWidget *parent )
mDeleteButton->setEnabled( false );
layout->addWidget( mDeleteButton, 1, 1 );
- connect( mView, TQT_SIGNAL( selectionChanged() ), TQT_SLOT( selectionChanged() ) );
- connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addUser() ) );
- connect( mDeleteButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeUser() ) );
+ connect( mView, TQ_SIGNAL( selectionChanged() ), TQ_SLOT( selectionChanged() ) );
+ connect( mAddButton, TQ_SIGNAL( clicked() ), TQ_SLOT( addUser() ) );
+ connect( mDeleteButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeUser() ) );
loadAllUsers();
}
@@ -67,7 +67,7 @@ void OtherUserPage::loadAllUsers()
{
Scalix::GetOtherUsersJob *job = Scalix::getOtherUsers( Settings::self()->globalSlave(),
Settings::self()->accountUrl() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( allUsers( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( allUsers( TDEIO::Job* ) ) );
}
void OtherUserPage::addUser()
@@ -82,7 +82,7 @@ void OtherUserPage::addUser()
Scalix::AddOtherUserJob *job = Scalix::addOtherUser( Settings::self()->globalSlave(),
Settings::self()->accountUrl(), email );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( userAdded( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( userAdded( TDEIO::Job* ) ) );
}
void OtherUserPage::removeUser()
@@ -93,7 +93,7 @@ void OtherUserPage::removeUser()
Scalix::DeleteOtherUserJob *job = Scalix::deleteOtherUser( Settings::self()->globalSlave(),
Settings::self()->accountUrl(), email );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( userRemoved( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( userRemoved( TDEIO::Job* ) ) );
}
void OtherUserPage::allUsers( TDEIO::Job *job )
diff --git a/tderesources/scalix/scalixadmin/otheruserpage.h b/tderesources/scalix/scalixadmin/otheruserpage.h
index e8c5e269..03527125 100644
--- a/tderesources/scalix/scalixadmin/otheruserpage.h
+++ b/tderesources/scalix/scalixadmin/otheruserpage.h
@@ -30,7 +30,7 @@ class OtherUserView;
class OtherUserPage : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/otheruserview.cpp b/tderesources/scalix/scalixadmin/otheruserview.cpp
index e8aa13bc..be09dc74 100644
--- a/tderesources/scalix/scalixadmin/otheruserview.cpp
+++ b/tderesources/scalix/scalixadmin/otheruserview.cpp
@@ -45,7 +45,7 @@ OtherUserView::OtherUserView( OtherUserManager *manager, TQWidget *parent )
addColumn( i18n( "Registered Accounts" ) );
setFullWidth( true );
- connect( mManager, TQT_SIGNAL( changed() ), TQT_SLOT( userChanged() ) );
+ connect( mManager, TQ_SIGNAL( changed() ), TQ_SLOT( userChanged() ) );
userChanged();
}
diff --git a/tderesources/scalix/scalixadmin/otheruserview.h b/tderesources/scalix/scalixadmin/otheruserview.h
index 832b09b8..b52ce1d7 100644
--- a/tderesources/scalix/scalixadmin/otheruserview.h
+++ b/tderesources/scalix/scalixadmin/otheruserview.h
@@ -27,7 +27,7 @@ class OtherUserManager;
class OtherUserView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/outofofficepage.cpp b/tderesources/scalix/scalixadmin/outofofficepage.cpp
index e807379a..343f4f4c 100644
--- a/tderesources/scalix/scalixadmin/outofofficepage.cpp
+++ b/tderesources/scalix/scalixadmin/outofofficepage.cpp
@@ -38,7 +38,7 @@ OutOfOfficePage::OutOfOfficePage( TQWidget *parent )
{
TQGridLayout *layout = new TQGridLayout( this, 4, 2, 11, 6 );
- TQButtonGroup *group = new TQButtonGroup( 1, Qt::Vertical, this );
+ TQButtonGroup *group = new TQButtonGroup( 1, TQt::Vertical, this );
mDisabled = new TQRadioButton( i18n( "I am in the office" ), group );
mDisabled->setChecked( true );
@@ -55,10 +55,10 @@ OutOfOfficePage::OutOfOfficePage( TQWidget *parent )
statusChanged();
- connect( mEnabled, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( statusChanged() ) );
- connect( mEnabled, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( changed() ) );
- connect( mSaveButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( store() ) );
- connect( mMessage, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( changed() ) );
+ connect( mEnabled, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( statusChanged() ) );
+ connect( mEnabled, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( changed() ) );
+ connect( mSaveButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( store() ) );
+ connect( mMessage, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( changed() ) );
load();
}
@@ -71,7 +71,7 @@ void OutOfOfficePage::load()
{
Scalix::GetOutOfOfficeJob *job = Scalix::getOutOfOffice( Settings::self()->globalSlave(),
Settings::self()->accountUrl() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( loaded( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( loaded( TDEIO::Job* ) ) );
}
void OutOfOfficePage::loaded( TDEIO::Job* job )
@@ -98,7 +98,7 @@ void OutOfOfficePage::store()
mEnabled->isChecked(),
mMessage->text() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( stored( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( stored( TDEIO::Job* ) ) );
mSaveButton->setEnabled( false );
}
diff --git a/tderesources/scalix/scalixadmin/outofofficepage.h b/tderesources/scalix/scalixadmin/outofofficepage.h
index f9863fa1..b96de352 100644
--- a/tderesources/scalix/scalixadmin/outofofficepage.h
+++ b/tderesources/scalix/scalixadmin/outofofficepage.h
@@ -30,7 +30,7 @@ class TQTextEdit;
class OutOfOfficePage : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/scalixadmin/passwordpage.cpp b/tderesources/scalix/scalixadmin/passwordpage.cpp
index 38262725..f67e4251 100644
--- a/tderesources/scalix/scalixadmin/passwordpage.cpp
+++ b/tderesources/scalix/scalixadmin/passwordpage.cpp
@@ -62,9 +62,9 @@ PasswordPage::PasswordPage( TQWidget *parent )
layout->setRowSpacing( 3, 1 );
- connect( mPassword, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( textChanged() ) );
- connect( mPasswordRetype, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( textChanged() ) );
- connect( mButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( buttonClicked() ) );
+ connect( mPassword, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( textChanged() ) );
+ connect( mPasswordRetype, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( textChanged() ) );
+ connect( mButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( buttonClicked() ) );
}
void PasswordPage::buttonClicked()
@@ -77,7 +77,7 @@ void PasswordPage::buttonClicked()
mJob = Scalix::setPassword( Settings::self()->globalSlave(), Settings::self()->accountUrl(),
Settings::self()->accountPassword(), mPassword->text() );
- connect( mJob, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( finished( TDEIO::Job* ) ) );
+ connect( mJob, TQ_SIGNAL( result( TDEIO::Job* ) ), this, TQ_SLOT( finished( TDEIO::Job* ) ) );
updateState( true );
} else {
diff --git a/tderesources/scalix/scalixadmin/passwordpage.h b/tderesources/scalix/scalixadmin/passwordpage.h
index 5255193e..d7d6f455 100644
--- a/tderesources/scalix/scalixadmin/passwordpage.h
+++ b/tderesources/scalix/scalixadmin/passwordpage.h
@@ -32,7 +32,7 @@ class Job;
class PasswordPage : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/shared/kmailconnection.cpp b/tderesources/scalix/shared/kmailconnection.cpp
index 147b9822..dec929ce 100644
--- a/tderesources/scalix/shared/kmailconnection.cpp
+++ b/tderesources/scalix/shared/kmailconnection.cpp
@@ -54,14 +54,14 @@ KMailConnection::KMailConnection( ResourceScalixBase* resource,
mDCOPClient->attach();
mDCOPClient->registerAs( objId, true );
- kapp->dcopClient()->setNotifications( true );
- connect( kapp->dcopClient(), TQT_SIGNAL( applicationRemoved( const TQCString& ) ),
- this, TQT_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
+ tdeApp->dcopClient()->setNotifications( true );
+ connect( tdeApp->dcopClient(), TQ_SIGNAL( applicationRemoved( const TQCString& ) ),
+ this, TQ_SLOT( unregisteredFromDCOP( const TQCString& ) ) );
}
KMailConnection::~KMailConnection()
{
- kapp->dcopClient()->setNotifications( false );
+ tdeApp->dcopClient()->setNotifications( false );
delete mKMailIcalIfaceStub;
mKMailIcalIfaceStub = 0;
delete mDCOPClient;
@@ -84,7 +84,7 @@ bool KMailConnection::connectToKMail()
return false;
}
- mKMailIcalIfaceStub = new KMailICalIface_stub( kapp->dcopClient(),
+ mKMailIcalIfaceStub = new KMailICalIface_stub( tdeApp->dcopClient(),
dcopService, dcopObjectId );
// Attach to the KMail signals
diff --git a/tderesources/scalix/shared/kmailconnection.h b/tderesources/scalix/shared/kmailconnection.h
index 7fec6274..b8f102cd 100644
--- a/tderesources/scalix/shared/kmailconnection.h
+++ b/tderesources/scalix/shared/kmailconnection.h
@@ -48,7 +48,7 @@ class ResourceScalixBase;
This class provides the kmail connectivity for IMAP resources.
*/
class KMailConnection : public TQObject, public DCOPObject {
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
diff --git a/tderesources/scalix/shared/resourcescalixbase.cpp b/tderesources/scalix/shared/resourcescalixbase.cpp
index 6108230c..f9b10423 100644
--- a/tderesources/scalix/shared/resourcescalixbase.cpp
+++ b/tderesources/scalix/shared/resourcescalixbase.cpp
@@ -36,7 +36,7 @@
#include <folderselectdialog.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kinputdialog.h>
#include <kurl.h>
#include <tdetempfile.h>
diff --git a/tderesources/scalix/shared/scalixbase.cpp b/tderesources/scalix/shared/scalixbase.cpp
index f07a6983..51ef8798 100644
--- a/tderesources/scalix/shared/scalixbase.cpp
+++ b/tderesources/scalix/shared/scalixbase.cpp
@@ -372,12 +372,12 @@ TQDomDocument ScalixBase::domTree()
TQString ScalixBase::dateTimeToString( const TQDateTime& time )
{
- return time.toString( Qt::ISODate ) + 'Z';
+ return time.toString( TQt::ISODate ) + 'Z';
}
TQString ScalixBase::dateToString( const TQDate& date )
{
- return date.toString( Qt::ISODate );
+ return date.toString( TQt::ISODate );
}
TQDateTime ScalixBase::stringToDateTime( const TQString& _date )
@@ -385,12 +385,12 @@ TQDateTime ScalixBase::stringToDateTime( const TQString& _date )
TQString date( _date );
if ( date.endsWith( "Z" ) )
date.truncate( date.length() - 1 );
- return TQDateTime::fromString( date, Qt::ISODate );
+ return TQDateTime::fromString( date, TQt::ISODate );
}
TQDate ScalixBase::stringToDate( const TQString& date )
{
- return TQDate::fromString( date, Qt::ISODate );
+ return TQDate::fromString( date, TQt::ISODate );
}
TQString ScalixBase::sensitivityToString( Sensitivity s )
diff --git a/tderesources/scalix/tdeabc/contact.cpp b/tderesources/scalix/tdeabc/contact.cpp
index 190837a0..6d4cc2bf 100644
--- a/tderesources/scalix/tdeabc/contact.cpp
+++ b/tderesources/scalix/tdeabc/contact.cpp
@@ -71,7 +71,7 @@ TQString Contact::toXml( const TDEABC::Addressee &addr )
xml += "<reminder_set>" + custom( "reminder_set", addr, "false" ) + "</reminder_set>\n";
xml += "<send_rich_info>" + custom( "send_rich_info", addr, "false" ) + "</send_rich_info>\n";
xml += "<subject>" + addr.formattedName() + "</subject>\n";
- xml += "<last_modification_time>" + addr.revision().toString( Qt::ISODate ) + "</last_modification_time>\n";
+ xml += "<last_modification_time>" + addr.revision().toString( TQt::ISODate ) + "</last_modification_time>\n";
xml += "<display_name_prefix>" + addr.prefix() + "</display_name_prefix>\n";
xml += "<first_name>" + addr.givenName() + "</first_name>\n";
@@ -166,7 +166,7 @@ TQString Contact::toXml( const TDEABC::Addressee &addr )
xml += "<office_location>" + addr.custom( "KADDRESSBOOK", "X-Office" ) + "</office_location>\n";
xml += "<spouse>" + addr.custom( "KADDRESSBOOK", "X-SpousesName" ) + "</spouse>\n";
- xml += "<bday>" + addr.birthday().toString( Qt::ISODate ) + "</bday>\n";
+ xml += "<bday>" + addr.birthday().toString( TQt::ISODate ) + "</bday>\n";
xml += "<anniversary>" + addr.custom( "KADDRESSBOOK", "X-Anniversary" ) + "</anniversary>\n";
xml += "<mapi_charset>" + custom( "mapi_charset", addr, "UTF8" ) + "</mapi_charset>";
@@ -235,7 +235,7 @@ TDEABC::Addressee Contact::fromXml( const TQString &xml )
else if ( element.tagName() == "send_rich_info" )
setCustom( "send_rich_info", element.text(), addr );
else if ( element.tagName() == "last_modification_time" )
- addr.setRevision( TQDateTime::fromString( element.text(), Qt::ISODate ) );
+ addr.setRevision( TQDateTime::fromString( element.text(), TQt::ISODate ) );
// name
else if ( element.tagName() == "display_name_prefix" )
@@ -352,7 +352,7 @@ TDEABC::Addressee Contact::fromXml( const TQString &xml )
addr.insertCustom( "KADDRESSBOOK", "X-SpousesName", element.text() );
else if ( element.tagName() == "bday" )
- addr.setBirthday( TQDateTime::fromString( element.text(), Qt::ISODate ) );
+ addr.setBirthday( TQDateTime::fromString( element.text(), TQt::ISODate ) );
else if ( element.tagName() == "anniversary" )
addr.insertCustom( "KADDRESSBOOK", "X-Anniversary", element.text() );
else
diff --git a/tderesources/scalix/tdeabc/resourcescalix.cpp b/tderesources/scalix/tdeabc/resourcescalix.cpp
index dc953ded..91fe99dd 100644
--- a/tderesources/scalix/tdeabc/resourcescalix.cpp
+++ b/tderesources/scalix/tdeabc/resourcescalix.cpp
@@ -197,7 +197,7 @@ bool TDEABC::ResourceScalix::loadSubResourceHelper( const TQString& subResource,
UIServer_stub uiserver( "tdeio_uiserver", "UIServer" );
int progressId = 0;
if ( count > 200 ) {
- progressId = uiserver.newJob( kapp->dcopClient()->appId(), true );
+ progressId = uiserver.newJob( tdeApp->dcopClient()->appId(), true );
uiserver.totalFiles( progressId, count );
uiserver.infoMessage( progressId, i18n( "Loading contacts..." ) );
uiserver.transferring( progressId, "Contacts" );
diff --git a/tderesources/scalix/tdeabc/resourcescalix.h b/tderesources/scalix/tdeabc/resourcescalix.h
index f5c8ffe6..c3e8765c 100644
--- a/tderesources/scalix/tdeabc/resourcescalix.h
+++ b/tderesources/scalix/tdeabc/resourcescalix.h
@@ -39,7 +39,7 @@
#include "../shared/resourcescalixbase.h"
#include "../shared/subresource.h"
#include <kmail/kmailicalIface.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEABC {
@@ -50,10 +50,10 @@ namespace TDEABC {
* addresses in an Scalix folder in KMail (or other conforming email
* clients).
*/
-class KDE_EXPORT ResourceScalix : public KPIM::ResourceABC,
+class TDE_EXPORT ResourceScalix : public KPIM::ResourceABC,
public Scalix::ResourceScalixBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/scalix/tdeioslave/scalix.cpp b/tderesources/scalix/tdeioslave/scalix.cpp
index 0af6c466..165f4772 100644
--- a/tderesources/scalix/tdeioslave/scalix.cpp
+++ b/tderesources/scalix/tdeioslave/scalix.cpp
@@ -28,14 +28,14 @@
#include <tdeio/global.h>
#include <tdelocale.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <stdlib.h>
#include "scalix.h"
extern "C" {
- KDE_EXPORT int kdemain( int argc, char **argv );
+ TDE_EXPORT int kdemain( int argc, char **argv );
}
static const TDECmdLineOptions options[] =
@@ -116,10 +116,10 @@ void Scalix::retrieveFreeBusy( const KURL &url )
mFreeBusyData = TQString();
TDEIO::SimpleJob *job = TDEIO::special( imapUrl, packedArgs, false );
- connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
- this, TQT_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
- this, TQT_SLOT( slotRetrieveResult( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ this, TQ_SLOT( slotInfoMessage( TDEIO::Job*, const TQString& ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ),
+ this, TQ_SLOT( slotRetrieveResult( TDEIO::Job* ) ) );
tqApp->eventLoop()->enterLoop();
}
@@ -182,8 +182,8 @@ void Scalix::publishFreeBusy( const KURL &url )
.arg( url.host() );
TDEIO::SimpleJob *job = TDEIO::special( imapUrl, packedArgs, false );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
- this, TQT_SLOT( slotPublishResult( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ),
+ this, TQ_SLOT( slotPublishResult( TDEIO::Job* ) ) );
tqApp->eventLoop()->enterLoop();
}
diff --git a/tderesources/scalix/tdeioslave/scalix.h b/tderesources/scalix/tdeioslave/scalix.h
index f4dbdead..78a71447 100644
--- a/tderesources/scalix/tdeioslave/scalix.h
+++ b/tderesources/scalix/tdeioslave/scalix.h
@@ -28,7 +28,7 @@
class Scalix : public TQObject, public TDEIO::SlaveBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/slox/kcalresourceslox.cpp b/tderesources/slox/kcalresourceslox.cpp
index 4c2ab12c..530c2907 100644
--- a/tderesources/slox/kcalresourceslox.cpp
+++ b/tderesources/slox/kcalresourceslox.cpp
@@ -33,7 +33,7 @@
#include <tdeio/job.h>
#include <tdeio/davjob.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <libtdepim/progressmanager.h>
@@ -226,16 +226,16 @@ void KCalResourceSlox::requestEvents()
kdDebug() << "REQUEST CALENDAR: \n" << doc.toString( 2 ) << endl;
mLoadEventsJob = TDEIO::davPropFind( url, doc, "0", false );
- connect( mLoadEventsJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoadEventsResult( TDEIO::Job * ) ) );
- connect( mLoadEventsJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotEventsProgress( TDEIO::Job *, unsigned long ) ) );
+ connect( mLoadEventsJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotLoadEventsResult( TDEIO::Job * ) ) );
+ connect( mLoadEventsJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotEventsProgress( TDEIO::Job *, unsigned long ) ) );
mLoadEventsProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading events") );
connect( mLoadEventsProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoadEvents() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoadEvents() ) );
mPrefs->setLastEventSync( TQDateTime::currentDateTime() );
}
@@ -271,16 +271,16 @@ void KCalResourceSlox::requestTodos()
kdDebug() << "REQUEST TASKS: \n" << doc.toString( 2 ) << endl;
mLoadTodosJob = TDEIO::davPropFind( url, doc, "0", false );
- connect( mLoadTodosJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotLoadTodosResult( TDEIO::Job * ) ) );
- connect( mLoadTodosJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotTodosProgress( TDEIO::Job *, unsigned long ) ) );
+ connect( mLoadTodosJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotLoadTodosResult( TDEIO::Job * ) ) );
+ connect( mLoadTodosJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotTodosProgress( TDEIO::Job *, unsigned long ) ) );
mLoadTodosProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading to-dos") );
connect( mLoadTodosProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoadTodos() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoadTodos() ) );
mPrefs->setLastTodoSync( TQDateTime::currentDateTime() );
}
@@ -380,16 +380,16 @@ void KCalResourceSlox::uploadIncidences()
kdDebug() << "UPLOAD: \n" << doc.toString( 2 ) << endl;
mUploadJob = TDEIO::davPropPatch( url, doc, false );
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotUploadResult( TDEIO::Job * ) ) );
- connect( mUploadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotUploadProgress( TDEIO::Job *, unsigned long ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotUploadResult( TDEIO::Job * ) ) );
+ connect( mUploadJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotUploadProgress( TDEIO::Job *, unsigned long ) ) );
mUploadProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Uploading incidence") );
connect( mUploadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelUpload() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelUpload() ) );
}
void KCalResourceSlox::createIncidenceAttributes( TQDomDocument &doc,
diff --git a/tderesources/slox/kcalresourceslox.h b/tderesources/slox/kcalresourceslox.h
index cfad65ed..83d78769 100644
--- a/tderesources/slox/kcalresourceslox.h
+++ b/tderesources/slox/kcalresourceslox.h
@@ -31,7 +31,7 @@
#include <kurl.h>
#include <tdeconfig.h>
#include <kdirwatch.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <libkcal/incidence.h>
#include <libkcal/todo.h>
@@ -58,9 +58,9 @@ class SloxAccounts;
/**
This class provides a calendar stored as a remote file.
*/
-class KDE_EXPORT KCalResourceSlox : public KCal::ResourceCached, public SloxBase
+class TDE_EXPORT KCalResourceSlox : public KCal::ResourceCached, public SloxBase
{
- Q_OBJECT
+ TQ_OBJECT
friend class KCalResourceSloxConfig;
diff --git a/tderesources/slox/kcalresourcesloxconfig.cpp b/tderesources/slox/kcalresourcesloxconfig.cpp
index 83246a03..402d853c 100644
--- a/tderesources/slox/kcalresourcesloxconfig.cpp
+++ b/tderesources/slox/kcalresourcesloxconfig.cpp
@@ -26,7 +26,7 @@
#include <tdelocale.h>
#include <kdebug.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <klineedit.h>
#include <kpushbutton.h>
@@ -72,11 +72,11 @@ KCalResourceSloxConfig::KCalResourceSloxConfig( TQWidget* parent, const char* n
mCalButton = new KPushButton( i18n("Calendar Folder..."), this );
mainLayout->addWidget( mCalButton, 5, 0 );
- connect( mCalButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectCalendarFolder() ) );
+ connect( mCalButton, TQ_SIGNAL( clicked() ), TQ_SLOT( selectCalendarFolder() ) );
mTaskButton = new KPushButton( i18n("Task Folder..."), this );
mainLayout->addWidget( mTaskButton, 5, 1 );
- connect( mTaskButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectTaskFolder() ) );
+ connect( mTaskButton, TQ_SIGNAL( clicked() ), TQ_SLOT( selectTaskFolder() ) );
mReloadConfig = new KCal::ResourceCachedReloadConfig( this );
mainLayout->addMultiCellWidget( mReloadConfig, 6, 6, 0, 1 );
diff --git a/tderesources/slox/kcalresourcesloxconfig.h b/tderesources/slox/kcalresourcesloxconfig.h
index f5784f84..46da81bd 100644
--- a/tderesources/slox/kcalresourcesloxconfig.h
+++ b/tderesources/slox/kcalresourcesloxconfig.h
@@ -21,7 +21,7 @@
#define KCALRESOURCESLOXCONFIG_H
#include <kurlrequester.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tderesources/resource.h>
#include <tderesources/configwidget.h>
@@ -42,9 +42,9 @@ class SloxBase;
@see KCalResourceSlox
*/
-class KDE_EXPORT KCalResourceSloxConfig : public KRES::ConfigWidget
+class TDE_EXPORT KCalResourceSloxConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KCalResourceSloxConfig( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/slox/sloxaccounts.cpp b/tderesources/slox/sloxaccounts.cpp
index 3afa7019..fdfd1eca 100644
--- a/tderesources/slox/sloxaccounts.cpp
+++ b/tderesources/slox/sloxaccounts.cpp
@@ -27,7 +27,7 @@
#include <kstaticdeleter.h>
#include <kdebug.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeio/job.h>
#include <tdeio/davjob.h>
#include <kstringhandler.h>
@@ -139,8 +139,8 @@ void SloxAccounts::requestAccounts()
mDownloadJob = TDEIO::davPropFind( url, doc, "0", false );
}
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotResult( TDEIO::Job * ) ) );
}
void SloxAccounts::slotResult( TDEIO::Job *job )
diff --git a/tderesources/slox/sloxaccounts.h b/tderesources/slox/sloxaccounts.h
index 1af80586..64c5a273 100644
--- a/tderesources/slox/sloxaccounts.h
+++ b/tderesources/slox/sloxaccounts.h
@@ -21,7 +21,7 @@
#define SLOXACCOUNTS_H
#include <tdeabc/addressee.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tqobject.h>
namespace TDEIO {
@@ -30,9 +30,9 @@ class Job;
class SloxBase;
-class KDE_EXPORT SloxAccounts : public TQObject
+class TDE_EXPORT SloxAccounts : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
SloxAccounts( SloxBase *res, const KURL &baseUrl );
diff --git a/tderesources/slox/sloxbase.h b/tderesources/slox/sloxbase.h
index dc3c9c53..525f76a3 100644
--- a/tderesources/slox/sloxbase.h
+++ b/tderesources/slox/sloxbase.h
@@ -21,13 +21,13 @@
#define SLOXUTILS_H
#include <tqstring.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace KRES {
class Resource;
}
-class KDE_EXPORT SloxBase {
+class TDE_EXPORT SloxBase {
public:
enum Field {
ObjectId = 0, // system fields
diff --git a/tderesources/slox/sloxfolder.h b/tderesources/slox/sloxfolder.h
index 06f08003..0bad3dae 100644
--- a/tderesources/slox/sloxfolder.h
+++ b/tderesources/slox/sloxfolder.h
@@ -21,7 +21,7 @@
#define SLOXFOLDER_H
#include <tqstring.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class TDEListViewItem;
@@ -32,7 +32,7 @@ enum FolderType {
Contacts
};
-class KDE_EXPORT SloxFolder
+class TDE_EXPORT SloxFolder
{
public:
SloxFolder( const TQString &id, const TQString &parentId, const TQString &type, const TQString &name, bool def = false );
diff --git a/tderesources/slox/sloxfolderdialog.cpp b/tderesources/slox/sloxfolderdialog.cpp
index 716c2d40..c1f1086e 100644
--- a/tderesources/slox/sloxfolderdialog.cpp
+++ b/tderesources/slox/sloxfolderdialog.cpp
@@ -37,7 +37,7 @@ SloxFolderDialog::SloxFolderDialog( SloxFolderManager *manager, FolderType type,
mListView->addColumn( i18n("Folder ID"), 0 );
setMainWidget( mListView );
updateFolderView();
- connect( manager, TQT_SIGNAL( foldersUpdated() ), TQT_SLOT( updateFolderView() ) );
+ connect( manager, TQ_SIGNAL( foldersUpdated() ), TQ_SLOT( updateFolderView() ) );
}
SloxFolderDialog::~SloxFolderDialog()
diff --git a/tderesources/slox/sloxfolderdialog.h b/tderesources/slox/sloxfolderdialog.h
index 1a0749ea..0b8785ea 100644
--- a/tderesources/slox/sloxfolderdialog.h
+++ b/tderesources/slox/sloxfolderdialog.h
@@ -30,7 +30,7 @@ class SloxFolderManager;
class SloxFolderDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
SloxFolderDialog( SloxFolderManager *manager, FolderType type, TQWidget* parent = 0, const char *name = 0 );
diff --git a/tderesources/slox/sloxfoldermanager.cpp b/tderesources/slox/sloxfoldermanager.cpp
index d7284d3a..4e89d8de 100644
--- a/tderesources/slox/sloxfoldermanager.cpp
+++ b/tderesources/slox/sloxfoldermanager.cpp
@@ -25,7 +25,7 @@
#include <tdeio/job.h>
#include <tdeio/davjob.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include "sloxbase.h"
#include "sloxfolder.h"
@@ -79,8 +79,8 @@ void SloxFolderManager::requestFolders()
mDownloadJob = TDEIO::davPropFind( url, doc, "0", false );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotResult( TDEIO::Job * ) ) );
}
void SloxFolderManager::slotResult( TDEIO::Job *job )
diff --git a/tderesources/slox/sloxfoldermanager.h b/tderesources/slox/sloxfoldermanager.h
index 3907dab7..d0f466aa 100644
--- a/tderesources/slox/sloxfoldermanager.h
+++ b/tderesources/slox/sloxfoldermanager.h
@@ -25,7 +25,7 @@
#include <kurl.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
namespace TDEIO {
class Job;
@@ -35,9 +35,9 @@ class DavJob;
class SloxBase;
class SloxFolder;
-class KDE_EXPORT SloxFolderManager : public TQObject
+class TDE_EXPORT SloxFolderManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
SloxFolderManager( SloxBase *res, const KURL &baseUrl );
diff --git a/tderesources/slox/tdeabcresourceslox.cpp b/tderesources/slox/tdeabcresourceslox.cpp
index 79036abd..bcd719ba 100644
--- a/tderesources/slox/tdeabcresourceslox.cpp
+++ b/tderesources/slox/tdeabcresourceslox.cpp
@@ -27,7 +27,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <kmdcodec.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <libtdepim/kpimprefs.h>
#include <libtdepim/progressmanager.h>
@@ -208,16 +208,16 @@ bool ResourceSlox::asyncLoad()
kdDebug() << "REQUEST CONTACTS: \n" << doc.toString( 2 ) << endl;
mDownloadJob = TDEIO::davPropFind( url, doc, "0", false );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
- connect( mDownloadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotProgress( TDEIO::Job *, unsigned long ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotProgress( TDEIO::Job *, unsigned long ) ) );
mDownloadProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading contacts") );
connect( mDownloadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelDownload() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelDownload() ) );
mPrefs->setLastSync( TQDateTime::currentDateTime() );
@@ -402,7 +402,7 @@ void ResourceSlox::parseContactAttribute( const TQDomElement &e, Addressee &a )
a.insertCustom( "KADDRESSBOOK", "X-SpousesName", text );
} else if ( tag == fieldName( Anniversary ) ) {
TQDateTime dt = WebdavHandler::sloxToTQDateTime( text );
- a.insertCustom( "KADDRESSBOOK", "X-Anniversary", dt.toString( Qt::ISODate ) );
+ a.insertCustom( "KADDRESSBOOK", "X-Anniversary", dt.toString( TQt::ISODate ) );
} else if ( tag == fieldName( Categories ) ) {
a.setCategories( TQStringList::split( TQRegExp(",\\s*"), text ) );
} else if ( type() == "ox" ) { // FIXME: Address reading is missing for SLOX
@@ -521,16 +521,16 @@ void ResourceSlox::uploadContacts()
url.setPass( mPrefs->password() );
mUploadJob = TDEIO::davPropPatch( url, doc, false );
- connect( mUploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotUploadResult( TDEIO::Job * ) ) );
- connect( mUploadJob, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
- TQT_SLOT( slotProgress( TDEIO::Job *, unsigned long ) ) );
+ connect( mUploadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotUploadResult( TDEIO::Job * ) ) );
+ connect( mUploadJob, TQ_SIGNAL( percent( TDEIO::Job *, unsigned long ) ),
+ TQ_SLOT( slotProgress( TDEIO::Job *, unsigned long ) ) );
mUploadProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Uploading contacts") );
connect( mUploadProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelUpload() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelUpload() ) );
}
void ResourceSlox::createAddresseeFields( TQDomDocument &doc, TQDomElement &prop,
@@ -577,7 +577,7 @@ void ResourceSlox::createAddresseeFields( TQDomDocument &doc, TQDomElement &prop
TQString anniversary = a.custom( "KADDRESSBOOK", "X-Anniversary" );
if ( !anniversary.isEmpty() )
WebdavHandler::addSloxElement( this, doc, prop, fieldName( Anniversary ),
- WebdavHandler::qDateTimeToSlox( TQDateTime::fromString( anniversary, Qt::ISODate ).date() ) );
+ WebdavHandler::qDateTimeToSlox( TQDateTime::fromString( anniversary, TQt::ISODate ).date() ) );
else
WebdavHandler::addSloxElement( this, doc, prop, fieldName( Anniversary ) );
}
diff --git a/tderesources/slox/tdeabcresourceslox.h b/tderesources/slox/tdeabcresourceslox.h
index a37f17d6..c78a2f6d 100644
--- a/tderesources/slox/tdeabcresourceslox.h
+++ b/tderesources/slox/tdeabcresourceslox.h
@@ -24,7 +24,7 @@
#include "webdavhandler.h"
#include <libtdepim/tdeabcresourcecached.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tdeabc/addressee.h>
#include <tqmap.h>
@@ -45,9 +45,9 @@ namespace TDEABC {
class SloxPrefs;
-class KDE_EXPORT ResourceSlox : public ResourceCached, public SloxBase
+class TDE_EXPORT ResourceSlox : public ResourceCached, public SloxBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResourceSlox( const TDEConfig * );
diff --git a/tderesources/slox/tdeabcresourcesloxconfig.cpp b/tderesources/slox/tdeabcresourcesloxconfig.cpp
index 8ad6701c..36f76238 100644
--- a/tderesources/slox/tdeabcresourcesloxconfig.cpp
+++ b/tderesources/slox/tdeabcresourcesloxconfig.cpp
@@ -69,7 +69,7 @@ ResourceSloxConfig::ResourceSloxConfig( TQWidget* parent, const char* name )
mFolderButton = new KPushButton( i18n("Select Folder..."), this );
mainLayout->addMultiCellWidget( mFolderButton, 4, 4, 0, 1 );
- connect( mFolderButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectAddressFolder() ) );
+ connect( mFolderButton, TQ_SIGNAL( clicked() ), TQ_SLOT( selectAddressFolder() ) );
}
diff --git a/tderesources/slox/tdeabcresourcesloxconfig.h b/tderesources/slox/tdeabcresourcesloxconfig.h
index 36e02126..76dd7e54 100644
--- a/tderesources/slox/tdeabcresourcesloxconfig.h
+++ b/tderesources/slox/tdeabcresourcesloxconfig.h
@@ -21,7 +21,7 @@
#define RESOURCESLOXCONFIG_H
#include <tderesources/configwidget.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
class TQCheckBox;
class KLineEdit;
@@ -32,9 +32,9 @@ class SloxBase;
namespace TDEABC {
-class KDE_EXPORT ResourceSloxConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceSloxConfig : public KRES::ConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/slox/testsloxaccounts.cpp b/tderesources/slox/testsloxaccounts.cpp
index 22c44e66..ea7b3da1 100644
--- a/tderesources/slox/testsloxaccounts.cpp
+++ b/tderesources/slox/testsloxaccounts.cpp
@@ -55,7 +55,7 @@ int main(int argc,char **argv)
app.setMainWidget( &button );
button.show();
- TQObject::connect( &button, TQT_SIGNAL( clicked() ), &app, TQT_SLOT( quit() ) );
+ TQObject::connect( &button, TQ_SIGNAL( clicked() ), &app, TQ_SLOT( quit() ) );
app.exec();
}
diff --git a/tderesources/slox/webdavhandler.cpp b/tderesources/slox/webdavhandler.cpp
index 4b57e1de..8d677bd0 100644
--- a/tderesources/slox/webdavhandler.cpp
+++ b/tderesources/slox/webdavhandler.cpp
@@ -199,7 +199,7 @@ TQDateTime WebdavHandler::sloxToTQDateTime( const TQString &str )
TQDateTime dt;
if (preEpoch) {
- dt.setTime_t( 0, Qt::UTC );
+ dt.setTime_t( 0, TQt::UTC );
if (ticks > INT_MAX) {
dt = dt.addSecs(-INT_MAX);
ticks -= INT_MAX;
@@ -208,7 +208,7 @@ TQDateTime WebdavHandler::sloxToTQDateTime( const TQString &str )
}
else
{
- dt.setTime_t( ticks, Qt::UTC );
+ dt.setTime_t( ticks, TQt::UTC );
}
return dt;
diff --git a/tderesources/slox/webdavhandler.h b/tderesources/slox/webdavhandler.h
index 6d98fd52..d617325f 100644
--- a/tderesources/slox/webdavhandler.h
+++ b/tderesources/slox/webdavhandler.h
@@ -25,7 +25,7 @@
#include <tqdatetime.h>
#include <tqdom.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tdeabc/addressee.h>
namespace KCal {
@@ -34,7 +34,7 @@ class Incidence;
class SloxBase;
-class KDE_EXPORT SloxItem
+class TDE_EXPORT SloxItem
{
public:
enum Status { Invalid, Delete, Create, New };
@@ -49,7 +49,7 @@ class KDE_EXPORT SloxItem
TQString responseDescription;
};
-class KDE_EXPORT WebdavHandler
+class TDE_EXPORT WebdavHandler
{
public:
WebdavHandler();
diff --git a/tderesources/tvanytime/kcal_resourcetvanytime.cpp b/tderesources/tvanytime/kcal_resourcetvanytime.cpp
index 12161d90..d2fccbb8 100644
--- a/tderesources/tvanytime/kcal_resourcetvanytime.cpp
+++ b/tderesources/tvanytime/kcal_resourcetvanytime.cpp
@@ -43,7 +43,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tderesources/configwidget.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <tdetempfile.h>
#include <ktar.h>
@@ -93,8 +93,8 @@ void ResourceTVAnytime::init()
//setReadOnly( true );
- connect( &mResourceChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotEmitResourceChanged() ) );
+ connect( &mResourceChangedTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( slotEmitResourceChanged() ) );
}
TVAnytimePrefsBase *ResourceTVAnytime::prefs()
@@ -179,15 +179,15 @@ bool ResourceTVAnytime::doLoad()
// TODO: find out if the file to download is fresh. if not, just work with the cache.
mDownloadJob = TDEIO::file_copy( url, destination, -1, true );
- connect( mDownloadJob, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotJobResult( TDEIO::Job * ) ) );
+ connect( mDownloadJob, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotJobResult( TDEIO::Job * ) ) );
mProgress = KPIM::ProgressManager::instance()->createProgressItem(
KPIM::ProgressManager::getUniqueID(), i18n("Downloading program schedule") );
connect( mProgress,
- TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
- TQT_SLOT( cancelLoad() ) );
+ TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
+ TQ_SLOT( cancelLoad() ) );
return true;
}
diff --git a/tderesources/tvanytime/kcal_resourcetvanytime.h b/tderesources/tvanytime/kcal_resourcetvanytime.h
index 636389be..721e0542 100644
--- a/tderesources/tvanytime/kcal_resourcetvanytime.h
+++ b/tderesources/tvanytime/kcal_resourcetvanytime.h
@@ -30,7 +30,7 @@
#include <tdeabc/locknull.h>
#include <tdeio/job.h>
#include <tdeconfig.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include "service.h"
@@ -48,9 +48,9 @@ class TVAnytimePrefsBase;
/**
This class provides a resource for accessing a BBC TV and radio schedule as a calendar.
*/
-class KDE_EXPORT ResourceTVAnytime : public ResourceCached
+class TDE_EXPORT ResourceTVAnytime : public ResourceCached
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tderesources/tvanytime/kcal_resourcetvanytimeconfig.cpp b/tderesources/tvanytime/kcal_resourcetvanytimeconfig.cpp
index 8405e2f0..e298ff20 100644
--- a/tderesources/tvanytime/kcal_resourcetvanytimeconfig.cpp
+++ b/tderesources/tvanytime/kcal_resourcetvanytimeconfig.cpp
@@ -29,7 +29,7 @@
#include <tdelocale.h>
#include <kdebug.h>
//#include <kdialogbase.h>
-//#include <kstandarddirs.h>
+//#include <tdestandarddirs.h>
#include <klineedit.h>
#include <libkcal/resourcecachedconfig.h>
diff --git a/tderesources/tvanytime/kcal_resourcetvanytimeconfig.h b/tderesources/tvanytime/kcal_resourcetvanytimeconfig.h
index 814cc492..b4db19cf 100644
--- a/tderesources/tvanytime/kcal_resourcetvanytimeconfig.h
+++ b/tderesources/tvanytime/kcal_resourcetvanytimeconfig.h
@@ -21,7 +21,7 @@
#define KCALRESOURCETVANYTIMECONFIG_H
#include <kurlrequester.h>
-#include <kdemacros.h>
+#include <tdemacros.h>
#include <tderesources/resource.h>
#include <tderesources/configwidget.h>
@@ -38,9 +38,9 @@ class ResourceCachedSaveConfig;
Configuration widget for TVAnytime resource.
@see KCal::ResourceTVAnytime
*/
-class KDE_EXPORT ResourceTVAnytimeConfig : public KRES::ConfigWidget
+class TDE_EXPORT ResourceTVAnytimeConfig : public KRES::ConfigWidget
{
-Q_OBJECT
+TQ_OBJECT
public:
ResourceTVAnytimeConfig( TQWidget *parent = 0, const char *name = 0 );
diff --git a/tderesources/tvanytime/tvanytime.tdevelop b/tderesources/tvanytime/tvanytime.tdevelop
deleted file mode 100644
index 479d2f50..00000000
--- a/tderesources/tvanytime/tvanytime.tdevelop
+++ /dev/null
@@ -1,202 +0,0 @@
-<?xml version = '1.0'?>
-<tdevelop>
- <general>
- <author>Will Stephenson</author>
- <email>wstephenson@kde.org</email>
- <version>0.1</version>
- <projectmanagement>KDevKDEAutoProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <keywords>
- <keyword>C++</keyword>
- <keyword>Code</keyword>
- <keyword>Qt</keyword>
- <keyword>KDE</keyword>
- </keywords>
- <versioncontrol>kdevsubversion</versioncontrol>
- <ignoreparts/>
- <projectdirectory>.</projectdirectory>
- <absoluteprojectpath>false</absoluteprojectpath>
- <description/>
- </general>
- <kdevautoproject>
- <general>
- <activetarget>libkcal_tvanytime.la</activetarget>
- <useconfiguration>debug</useconfiguration>
- </general>
- <run>
- <mainprogram>src/tvanytime</mainprogram>
- <directoryradio>executable</directoryradio>
- </run>
- <configurations>
- <optimized>
- <builddir>optimized</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O2 -g0</cxxflags>
- </optimized>
- <debug>
- <configargs>--enable-debug=full</configargs>
- <builddir>/space/kde/svn/head/build/tdepim/tderesources/tvanytime</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O0 -g3</cxxflags>
- <envvars/>
- <topsourcedir>/space/kde/svn/head/src/tdepim/tderesources/tvanytime</topsourcedir>
- <cppflags/>
- <ldflags/>
- <ccompilerbinary/>
- <cxxcompilerbinary/>
- <f77compilerbinary/>
- <cflags/>
- <f77flags/>
- </debug>
- </configurations>
- <make>
- <envvars>
- <envvar value="1" name="WANT_AUTOCONF_2_5" />
- <envvar value="1" name="WANT_AUTOMAKE_1_6" />
- </envvars>
- <abortonerror>true</abortonerror>
- <numberofjobs>1</numberofjobs>
- <dontact>false</dontact>
- <makebin>unsermake </makebin>
- <prio>0</prio>
- </make>
- </kdevautoproject>
- <kdevfileview>
- <groups>
- <group pattern="*.cpp;*.h" name="Sources" />
- <group pattern="*.ui" name="User Interface" />
- <group pattern="*.png" name="Icons" />
- <group pattern="*.po;*.ts" name="Translations" />
- <group pattern="*" name="Others" />
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <hidenonlocation>false</hidenonlocation>
- </groups>
- <tree>
- <hidepatterns>*.o,*.lo,CVS</hidepatterns>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- </tree>
- </kdevfileview>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>ada</toc>
- <toc>ada_bugs_gcc</toc>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>pascal_bugs_fp</toc>
- <toc>php</toc>
- <toc>php_bugs</toc>
- <toc>perl</toc>
- <toc>perl_bugs</toc>
- <toc>python</toc>
- <toc>python_bugs</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>w3c-svg</toc>
- <toc>sw</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoreqt_xml>
- <toc>qmake User Guide</toc>
- </ignoreqt_xml>
- </kdevdoctreeview>
- <kdevdebugger>
- <general>
- <dbgshell>libtool</dbgshell>
- <programargs/>
- <gdbpath/>
- <configGdbScript/>
- <runShellScript/>
- <runGdbScript/>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- <outputradix>10</outputradix>
- </display>
- </kdevdebugger>
- <kdevfilecreate>
- <filetypes/>
- <useglobaltypes>
- <type ext="ui" />
- <type ext="cpp" />
- <type ext="h" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevdocumentation>
- <projectdoc>
- <docsystem>Doxygen Documentation Collection</docsystem>
- <docurl>tvanytime.tag</docurl>
- </projectdoc>
- </kdevdocumentation>
- <substmap>
- <APPNAME>tvanytime</APPNAME>
- <APPNAMELC>tvanytime</APPNAMELC>
- <APPNAMESC>Bbcschedule</APPNAMESC>
- <APPNAMEUC>BBCSCHEDULE</APPNAMEUC>
- <AUTHOR>Will Stephenson</AUTHOR>
- <EMAIL>wstephenson@kde.org</EMAIL>
- <LICENSE>GPL</LICENSE>
- <LICENSEFILE>COPYING</LICENSEFILE>
- <VERSION>0.1</VERSION>
- <YEAR>2005</YEAR>
- <dest>/space/kde/head/src/tdepim/tderesources/tvanytime</dest>
- </substmap>
- <kdevcppsupport>
- <references>
- <pcs>tdelibs</pcs>
- <pcs>project</pcs>
- <pcs>libkcal</pcs>
- </references>
- <codecompletion>
- <includeGlobalFunctions>true</includeGlobalFunctions>
- <includeTypes>true</includeTypes>
- <includeEnums>true</includeEnums>
- <includeTypedefs>false</includeTypedefs>
- <automaticCodeCompletion>true</automaticCodeCompletion>
- <automaticArgumentsHint>true</automaticArgumentsHint>
- <automaticHeaderCompletion>true</automaticHeaderCompletion>
- <codeCompletionDelay>250</codeCompletionDelay>
- <argumentsHintDelay>400</argumentsHintDelay>
- <headerCompletionDelay>250</headerCompletionDelay>
- </codecompletion>
- <qt>
- <used>false</used>
- <version>3</version>
- <root>/usr/lib/qt3</root>
- </qt>
- <creategettersetter>
- <prefixGet/>
- <prefixSet>set</prefixSet>
- <prefixVariable>m_,_</prefixVariable>
- <parameterName>theValue</parameterName>
- <inlineGet>true</inlineGet>
- <inlineSet>true</inlineSet>
- </creategettersetter>
- </kdevcppsupport>
- <cppsupportpart>
- <filetemplates>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- </filetemplates>
- </cppsupportpart>
-</tdevelop>