summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/hebrew/hebrew.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/hebrew/hebrew.cpp')
-rw-r--r--korganizer/plugins/hebrew/hebrew.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/plugins/hebrew/hebrew.cpp b/korganizer/plugins/hebrew/hebrew.cpp
index 4c557d00..9fb0f2fb 100644
--- a/korganizer/plugins/hebrew/hebrew.cpp
+++ b/korganizer/plugins/hebrew/hebrew.cpp
@@ -43,7 +43,7 @@ public:
K_EXPORT_COMPONENT_FACTORY( libkorg_hebrew, HebrewFactory )
-QString Hebrew::shortText(const QDate & date)
+TQString Hebrew::shortText(const TQDate & date)
{
KConfig config("korganizerrc", true, false); // Open read-only, no kdeglobals
@@ -55,7 +55,7 @@ QString Hebrew::shortText(const QDate & date)
Holiday::ParshaP = config.readBoolEntry("Parsha", true);
Holiday::CholP = config.readBoolEntry("Chol_HaMoed", true);
Holiday::OmerP = config.readBoolEntry("Omer", true);
- QString *label_text = new QString();
+ TQString *label_text = new TQString();
int day = date.day();
int month = date.month();
@@ -74,14 +74,14 @@ QString Hebrew::shortText(const QDate & date)
int hebrew_kvia = result.kvia;
int hebrew_day_number = result.hebrew_day_number;
- QStringList holidays =
+ TQStringList holidays =
Holiday::FindHoliday(hebrew_month, hebrew_day,
hebrew_day_of_week + 1, hebrew_kvia,
hebrew_leap_year_p, IsraelP,
hebrew_day_number, hebrew_year);
KCalendarSystem *cal = KCalendarSystemFactory::create("hebrew");
- *label_text = QString("%1 %2").arg(cal->dayString(date, false))
+ *label_text = TQString("%1 %2").arg(cal->dayString(date, false))
.arg(cal->monthName(date));
if (holidays.count())
@@ -97,13 +97,13 @@ QString Hebrew::shortText(const QDate & date)
return *label_text;
}
-QString Hebrew::info()
+TQString Hebrew::info()
{
return
i18n("This plugin provides the date in the Jewish calendar.");
}
-void Hebrew::configure(QWidget * parent)
+void Hebrew::configure(TQWidget * parent)
{
ConfigDialog *dlg = new ConfigDialog(parent); //parent?