-rw-r--r-- | korganizer/koagendaitem.cpp | 8 | ||||
-rw-r--r-- | korganizer/kodaymatrix.cpp | 2 | ||||
-rw-r--r-- | korganizer/kolistview.cpp | 8 | ||||
-rw-r--r-- | korganizer/kolistview.h | 3 | ||||
-rw-r--r-- | korganizer/komonthview.cpp | 6 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 8 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 6 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
8 files changed, 35 insertions, 7 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 1801d7e..df2e478 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -157,4 +157,8 @@ KOAgendaItem::~KOAgendaItem() { - // qDebug("deleteKOAgendaItem::~KOAgendaItem( "); - // delete mKOAgendaItemWhatsThis; +#if QT_VERSION >= 0x030000 + +#else + delete mKOAgendaItemWhatsThis; +#endif + } diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index c32a2a4..53ebdb2 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -65,3 +65,3 @@ public: KODaymatrixWhatsThis( KODayMatrix* view ) : QWhatsThis( view ),_view (view) { ;}; - ~KODaymatrixWhatsThis() { qDebug("DELETE KODaymatrixWhatsThis "); }; + ~KODaymatrixWhatsThis() { ; }; diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index fd86095..b94916a 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -263,3 +263,3 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent, mListView->setColumnWidthMode(10, QListView::Manual); - new KOListViewWhatsThis(mListView->viewport(),this); + mKOListViewWhatsThis = new KOListViewWhatsThis(mListView->viewport(),this); @@ -340,2 +340,7 @@ KOListView::~KOListView() delete mPopupMenu; +#if QT_VERSION >= 0x030000 + +#else + delete mKOListViewWhatsThis; +#endif } @@ -1183,2 +1188,3 @@ KOListViewListView::KOListViewListView(KOListView * lv ) { + mYMousePos = 0; mPopupTimer = new QTimer(this); diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index eb5bb6e..2051d60 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h @@ -44,3 +44,3 @@ using namespace KCal; - +class KOListViewWhatsThis; @@ -302,2 +302,3 @@ class KOListView : public KOEventView private: + KOListViewWhatsThis *mKOListViewWhatsThis; KOListViewListView *mListView; diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index ae61db6..7927307 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -91,3 +91,7 @@ KNoScrollListBox::~KNoScrollListBox() { - +#if QT_VERSION >= 0x030000 + +#else + delete mWT; +#endif } diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index f26d16d..e95039d 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -590,3 +590,9 @@ KOTodoView::~KOTodoView() { - // delete mKOTodoViewWhatsThis; + +#if QT_VERSION >= 0x030000 + +#else + delete mKOTodoViewWhatsThis; +#endif + delete mDocPrefs; diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 87cef20..68e5e5a 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -592,2 +592,8 @@ QPixmap MainWindow::loadPixmap( QString name ) } +void MainWindow::setUsesBigPixmaps ( bool b ) +{ + qDebug("KO: MainWindow::setUsesBigPixmaps %d called", b); + if ( b ) + qDebug("KO: BigPixmaps are not supported "); +} void MainWindow::initActions() diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 8fd3d24..6895e36 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -45,2 +45,3 @@ class MainWindow : public QMainWindow public slots: + void setUsesBigPixmaps ( bool ); void setCaption ( const QString & ); |