summaryrefslogtreecommitdiffstats
path: root/korganizer/kowhatsnextview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korganizer/kowhatsnextview.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/kowhatsnextview.cpp')
-rw-r--r--korganizer/kowhatsnextview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp
index 884b70b22..1ec28ed2f 100644
--- a/korganizer/kowhatsnextview.cpp
+++ b/korganizer/kowhatsnextview.cpp
@@ -65,9 +65,9 @@ KOWhatsNextView::KOWhatsNextView(Calendar *calendar, TQWidget *parent,
: KOrg::BaseView(calendar, parent, name)
{
// TQLabel *dateLabel =
-// new TQLabel(KGlobal::locale()->formatDate(TQDate::currentDate()),this);
+// new TQLabel(KGlobal::locale()->formatDate(TQDate::tqcurrentDate()),this);
// dateLabel->setMargin(2);
-// dateLabel->setAlignment(AlignCenter);
+// dateLabel->tqsetAlignment(AlignCenter);
mView = new WhatsNextTextBrowser(this);
connect(mView,TQT_SIGNAL(showIncidence(const TQString &)),TQT_SLOT(showIncidence(const TQString &)));
@@ -81,7 +81,7 @@ KOWhatsNextView::~KOWhatsNextView()
{
}
-int KOWhatsNextView::currentDateCount()
+int KOWhatsNextView::tqcurrentDateCount()
{
return mStartDate.daysTo( mEndDate );
}
@@ -183,7 +183,7 @@ void KOWhatsNextView::updateView()
TQStringList myEmails( KOPrefs::instance()->allEmails() );
int replies = 0;
- events = calendar()->events( TQDate::currentDate(), TQDate(2975,12,6) );
+ events = calendar()->events( TQDate::tqcurrentDate(), TQDate(2975,12,6) );
Event::List::ConstIterator it2;
for( it2 = events.begin(); it2 != events.end(); ++it2 ) {
Event *ev = *it2;