summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
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
@@ -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()
{