author | zautrix <zautrix> | 2006-01-31 20:09:27 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2006-01-31 20:09:27 (UTC) |
commit | 987757f168bbae56100f2aff763b865e81ceec18 (patch) (side-by-side diff) | |
tree | 65c6aecfb32989bd122af893b5bd4a9ff97c35fd /korganizer | |
parent | 1bb72406b4f160efa20bf4329539543e000295a5 (diff) | |
download | kdepimpi-987757f168bbae56100f2aff763b865e81ceec18.zip kdepimpi-987757f168bbae56100f2aff763b865e81ceec18.tar.gz kdepimpi-987757f168bbae56100f2aff763b865e81ceec18.tar.bz2 |
compile fixes
-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 22 | ||||
-rw-r--r-- | korganizer/koeditordetails.cpp | 4 |
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 @@ -50,3 +50,2 @@ DateNavigatorContainer::DateNavigatorContainer( QWidget *parent, mLastDisplayedDN = 0; - mUpdateTimer; mUpdateTimer = new QTimer( this ); @@ -153,3 +152,3 @@ void DateNavigatorContainer::setCalendar( Calendar *cal ) mNavigatorView->setCalendar( cal ); - for( uint i = 0; i < mLastDisplayedDN; ++i ) { + for( int i = 0; i < mLastDisplayedDN; ++i ) { KDateNavigator *n = mExtraViews.at( i ); @@ -192,3 +191,2 @@ void DateNavigatorContainer::checkUpdateDayMatrixDates() // return; - int butt = 2; horizontalCount = size().width() / mNavigatorView->sizeHintTwoButtons( ).width(); @@ -257,3 +255,3 @@ void DateNavigatorContainer::checkUpdateDayMatrixDates() 0, twidth, theight ); - for( uint i = 0; i < mLastDisplayedDN; ++i ) { + for( int i = 0; i < mLastDisplayedDN; ++i ) { int x = ( i + 1 ) % mHorizontalCount; @@ -271,4 +269,4 @@ void DateNavigatorContainer::checkUpdateDayMatrixDates() } - int iii = 0; - int ccc = mHorizontalCount * mVerticalCount; + uint iii = 0; + uint ccc = mHorizontalCount * mVerticalCount; mNavigatorView->show(); @@ -302,3 +300,3 @@ void DateNavigatorContainer::updateDayMatrixDates() mNavigatorView->dayMatrix()->repaint( false ); - for( uint i = 0; i < mLastDisplayedDN; ++i ) { + for( int i = 0; i < mLastDisplayedDN; ++i ) { KDateNavigator *n = mExtraViews.at( i ); @@ -313,3 +311,3 @@ void DateNavigatorContainer::updateDayMatrix() mNavigatorView->updateDayMatrix(); - for( uint i = 0; i < mLastDisplayedDN; ++i ) { + for( int i = 0; i < mLastDisplayedDN; ++i ) { KDateNavigator *n = mExtraViews.at( i ); @@ -334,3 +332,3 @@ void DateNavigatorContainer::updateView() mNavigatorView->updateView(); - for( uint i = 0; i < mLastDisplayedDN; ++i ) { + for( int i = 0; i < mLastDisplayedDN; ++i ) { KDateNavigator *n = mExtraViews.at( i ); @@ -343,3 +341,3 @@ void DateNavigatorContainer::updateConfig() mNavigatorView->updateConfig(); - for( uint i = 0; i < mLastDisplayedDN; ++i ) { + for( int i = 0; i < mLastDisplayedDN; ++i ) { KDateNavigator *n = mExtraViews.at( i ); @@ -402,3 +400,3 @@ void DateNavigatorContainer::setBaseDates() bool doRepaint = true; - for( uint i = 0; i < mLastDisplayedDN; ++i ) { + for( int i = 0; i < mLastDisplayedDN; ++i ) { KDateNavigator *n = mExtraViews.at( i ); @@ -414,3 +412,3 @@ void DateNavigatorContainer::setResizeEnabled() } -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 @@ -56,3 +56,3 @@ template <> -CustomListViewItem<class Attendee *>::~CustomListViewItem() +CustomListViewItem<Attendee *>::~CustomListViewItem() { @@ -62,3 +62,3 @@ CustomListViewItem<class Attendee *>::~CustomListViewItem() template <> -void CustomListViewItem<class Attendee *>::updateItem() +void CustomListViewItem<Attendee *>::updateItem() { |