summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2006-01-31 20:09:27 (UTC)
committer zautrix <zautrix>2006-01-31 20:09:27 (UTC)
commit987757f168bbae56100f2aff763b865e81ceec18 (patch) (side-by-side diff)
tree65c6aecfb32989bd122af893b5bd4a9ff97c35fd /korganizer
parent1bb72406b4f160efa20bf4329539543e000295a5 (diff)
downloadkdepimpi-987757f168bbae56100f2aff763b865e81ceec18.zip
kdepimpi-987757f168bbae56100f2aff763b865e81ceec18.tar.gz
kdepimpi-987757f168bbae56100f2aff763b865e81ceec18.tar.bz2
compile fixes
Diffstat (limited to 'korganizer') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/datenavigatorcontainer.cpp22
-rw-r--r--korganizer/koeditordetails.cpp4
2 files changed, 12 insertions, 14 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp
index f9c8b73..ea510f1 100644
--- a/korganizer/datenavigatorcontainer.cpp
+++ b/korganizer/datenavigatorcontainer.cpp
@@ -49,5 +49,4 @@ DateNavigatorContainer::DateNavigatorContainer( QWidget *parent,
//setSizePolicy( QSizePolicy (QSizePolicy::Expanding,QSizePolicy::Expanding) );
mLastDisplayedDN = 0;
- mUpdateTimer;
mUpdateTimer = new QTimer( this );
connect (mUpdateTimer ,SIGNAL(timeout()), this, SLOT ( checkUpdateDayMatrixDates() ));
@@ -152,5 +151,5 @@ void DateNavigatorContainer::setCalendar( Calendar *cal )
mCalendar = cal;
mNavigatorView->setCalendar( cal );
- for( uint i = 0; i < mLastDisplayedDN; ++i ) {
+ for( int i = 0; i < mLastDisplayedDN; ++i ) {
KDateNavigator *n = mExtraViews.at( i );
n->setCalendar( cal );
@@ -191,5 +190,4 @@ void DateNavigatorContainer::checkUpdateDayMatrixDates()
//if ( ! ok )
// return;
- int butt = 2;
horizontalCount = size().width() / mNavigatorView->sizeHintTwoButtons( ).width();
if ( horizontalCount <= 1 )
@@ -256,5 +254,5 @@ void DateNavigatorContainer::checkUpdateDayMatrixDates()
mNavigatorView->setGeometry(0,
0, twidth, theight );
- for( uint i = 0; i < mLastDisplayedDN; ++i ) {
+ for( int i = 0; i < mLastDisplayedDN; ++i ) {
int x = ( i + 1 ) % mHorizontalCount;
int y = ( i + 1 ) / mHorizontalCount;
@@ -270,6 +268,6 @@ void DateNavigatorContainer::checkUpdateDayMatrixDates()
y * theight, twidth, theight );
}
- int iii = 0;
- int ccc = mHorizontalCount * mVerticalCount;
+ uint iii = 0;
+ uint ccc = mHorizontalCount * mVerticalCount;
mNavigatorView->show();
while ( iii < ( mExtraViews.count() ) ) {
@@ -301,5 +299,5 @@ void DateNavigatorContainer::updateDayMatrixDates()
mNavigatorView->dayMatrix()->setSelectedDaysFrom( fDate , lDate );
mNavigatorView->dayMatrix()->repaint( false );
- for( uint i = 0; i < mLastDisplayedDN; ++i ) {
+ for( int i = 0; i < mLastDisplayedDN; ++i ) {
KDateNavigator *n = mExtraViews.at( i );
if ( n->dayMatrix()->setSelectedDaysFrom( fDate , lDate ) ) {
@@ -312,5 +310,5 @@ void DateNavigatorContainer::updateDayMatrix()
{
mNavigatorView->updateDayMatrix();
- for( uint i = 0; i < mLastDisplayedDN; ++i ) {
+ for( int i = 0; i < mLastDisplayedDN; ++i ) {
KDateNavigator *n = mExtraViews.at( i );
n->updateDayMatrix();
@@ -333,5 +331,5 @@ void DateNavigatorContainer::updateView()
{
mNavigatorView->updateView();
- for( uint i = 0; i < mLastDisplayedDN; ++i ) {
+ for( int i = 0; i < mLastDisplayedDN; ++i ) {
KDateNavigator *n = mExtraViews.at( i );
n->updateView();
@@ -342,5 +340,5 @@ void DateNavigatorContainer::updateConfig()
{
mNavigatorView->updateConfig();
- for( uint i = 0; i < mLastDisplayedDN; ++i ) {
+ for( int i = 0; i < mLastDisplayedDN; ++i ) {
KDateNavigator *n = mExtraViews.at( i );
n->updateConfig();
@@ -401,5 +399,5 @@ void DateNavigatorContainer::setBaseDates()
QDate baseDate = mNavigatorView->baseDate();
bool doRepaint = true;
- for( uint i = 0; i < mLastDisplayedDN; ++i ) {
+ for( int i = 0; i < mLastDisplayedDN; ++i ) {
KDateNavigator *n = mExtraViews.at( i );
baseDate = baseDate.addDays( baseDate.daysInMonth () - baseDate.day() +1 );
@@ -413,5 +411,5 @@ void DateNavigatorContainer::setResizeEnabled()
checkUpdateDayMatrixDates();
}
-void DateNavigatorContainer::resizeEvent( QResizeEvent * e )
+void DateNavigatorContainer::resizeEvent( QResizeEvent * )
{
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp
index b90b9eb..9a4b4ec 100644
--- a/korganizer/koeditordetails.cpp
+++ b/korganizer/koeditordetails.cpp
@@ -55,5 +55,5 @@
template <>
-CustomListViewItem<class Attendee *>::~CustomListViewItem()
+CustomListViewItem<Attendee *>::~CustomListViewItem()
{
delete mData;
@@ -61,5 +61,5 @@ CustomListViewItem<class Attendee *>::~CustomListViewItem()
template <>
-void CustomListViewItem<class Attendee *>::updateItem()
+void CustomListViewItem<Attendee *>::updateItem()
{
setText(0,mData->name());