summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/hebrew/hebrew.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/plugins/hebrew/hebrew.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 4c557d00d..9fb0f2fbf 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?