summaryrefslogtreecommitdiffstats
path: root/kresources/tvanytime
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/tvanytime')
-rw-r--r--kresources/tvanytime/COPYING4
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytime.cpp4
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytime.h1
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp4
-rw-r--r--kresources/tvanytime/kcal_resourcetvanytimeconfig.h3
-rw-r--r--kresources/tvanytime/service.cpp2
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();