diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kresources/tvanytime | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/tvanytime')
-rw-r--r-- | kresources/tvanytime/COPYING | 4 | ||||
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytime.cpp | 4 | ||||
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytime.h | 1 | ||||
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp | 4 | ||||
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytimeconfig.h | 3 | ||||
-rw-r--r-- | kresources/tvanytime/service.cpp | 2 |
6 files changed, 10 insertions, 8 deletions
diff --git a/kresources/tvanytime/COPYING b/kresources/tvanytime/COPYING index c13faf0dd..2ad70b8b1 100644 --- a/kresources/tvanytime/COPYING +++ b/kresources/tvanytime/COPYING @@ -59,7 +59,7 @@ modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License applies to any program or other work which contains + 0. This License applies to any program or other work which tqcontains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" @@ -154,7 +154,7 @@ Sections 1 and 2 above provided that you also do one of the following: The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any +code means all the source code for all modules it tqcontains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include diff --git a/kresources/tvanytime/kcal_resourcetvanytime.cpp b/kresources/tvanytime/kcal_resourcetvanytime.cpp index a7cfebecd..2ce2e9e49 100644 --- a/kresources/tvanytime/kcal_resourcetvanytime.cpp +++ b/kresources/tvanytime/kcal_resourcetvanytime.cpp @@ -415,7 +415,7 @@ bool ResourceTVAnytime::readService( const TQString & serviceId ) } } else - kdDebug() << " file tqcontains schedule for another service!" << endl; + kdDebug() << " file contains schedule for another service!" << endl; } } } @@ -434,7 +434,7 @@ TQStringList ResourceTVAnytime::subresources() const return mServiceMap.keys(); } -const QString +const TQString ResourceTVAnytime::labelForSubresource( const TQString& subresource ) const { Service s = mServiceMap[ subresource ]; diff --git a/kresources/tvanytime/kcal_resourcetvanytime.h b/kresources/tvanytime/kcal_resourcetvanytime.h index be46a1161..a43e759cf 100644 --- a/kresources/tvanytime/kcal_resourcetvanytime.h +++ b/kresources/tvanytime/kcal_resourcetvanytime.h @@ -51,6 +51,7 @@ class TVAnytimePrefsBase; class KDE_EXPORT ResourceTVAnytime : public ResourceCached { Q_OBJECT + TQ_OBJECT public: ResourceTVAnytime(); diff --git a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp b/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp index 47d62d376..6c07a9af9 100644 --- a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp +++ b/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp @@ -40,8 +40,8 @@ using namespace KCal; -ResourceTVAnytimeConfig::ResourceTVAnytimeConfig( TQWidget* parent, const char* name ) - : KRES::ConfigWidget( parent, name ) +ResourceTVAnytimeConfig::ResourceTVAnytimeConfig( TQWidget* tqparent, const char* name ) + : KRES::ConfigWidget( tqparent, name ) { resize( 245, 115 ); TQGridLayout *mainLayout = new TQGridLayout( this, 2, 2 ); diff --git a/kresources/tvanytime/kcal_resourcetvanytimeconfig.h b/kresources/tvanytime/kcal_resourcetvanytimeconfig.h index 57331a44c..b4a391e2e 100644 --- a/kresources/tvanytime/kcal_resourcetvanytimeconfig.h +++ b/kresources/tvanytime/kcal_resourcetvanytimeconfig.h @@ -41,8 +41,9 @@ class ResourceCachedSaveConfig; class KDE_EXPORT ResourceTVAnytimeConfig : public KRES::ConfigWidget { Q_OBJECT + TQ_OBJECT public: - ResourceTVAnytimeConfig( TQWidget *parent = 0, const char *name = 0 ); + ResourceTVAnytimeConfig( TQWidget *tqparent = 0, const char *name = 0 ); public slots: virtual void loadSettings( KRES::Resource *resource ); diff --git a/kresources/tvanytime/service.cpp b/kresources/tvanytime/service.cpp index ecf34fc44..e4c3ff219 100644 --- a/kresources/tvanytime/service.cpp +++ b/kresources/tvanytime/service.cpp @@ -138,7 +138,7 @@ bool ScheduleEvent::loadAttribute( const TQDomElement& element ) else if ( tagName == "PublishedStartTime" ) { TQDomNode cn = element.firstChild(); TQDomText t = cn.toText(); - mStartTime = TQDateTime::fromString( t.data(), Qt::ISODate ); + mStartTime = TQDateTime::fromString( t.data(), TQt::ISODate ); } else if ( tagName == "PublishedDuration" ) { TQDomNode cn = element.firstChild(); |