summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp8
-rw-r--r--korganizer/kodaymatrix.cpp2
-rw-r--r--korganizer/kolistview.cpp8
-rw-r--r--korganizer/kolistview.h3
-rw-r--r--korganizer/komonthview.cpp6
-rw-r--r--korganizer/kotodoview.cpp8
-rw-r--r--korganizer/mainwindow.cpp6
-rw-r--r--korganizer/mainwindow.h1
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
@@ -156,6 +156,10 @@ void KOAgendaItem::init ( Incidence *incidence, QDate qd )
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
@@ -64,5 +64,5 @@ class KODaymatrixWhatsThis :public QWhatsThis
public:
KODaymatrixWhatsThis( KODayMatrix* view ) : QWhatsThis( view ),_view (view) { ;};
- ~KODaymatrixWhatsThis() { qDebug("DELETE KODaymatrixWhatsThis "); };
+ ~KODaymatrixWhatsThis() { ; };
protected:
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp
index fd86095..b94916a 100644
--- a/korganizer/kolistview.cpp
+++ b/korganizer/kolistview.cpp
@@ -262,5 +262,5 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent,
mListView->setColumnAlignment(10,AlignLeft);
mListView->setColumnWidthMode(10, QListView::Manual);
- new KOListViewWhatsThis(mListView->viewport(),this);
+ mKOListViewWhatsThis = new KOListViewWhatsThis(mListView->viewport(),this);
int iii = 0;
@@ -339,4 +339,9 @@ KOListView::~KOListView()
{
delete mPopupMenu;
+#if QT_VERSION >= 0x030000
+
+#else
+ delete mKOListViewWhatsThis;
+#endif
}
@@ -1182,4 +1187,5 @@ KOListViewListView::KOListViewListView(KOListView * lv )
: KListView( lv, "kolistlistview", false )
{
+ mYMousePos = 0;
mPopupTimer = new QTimer(this);
connect(mPopupTimer , SIGNAL(timeout()), this, SLOT(popupMenu()));
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h
index eb5bb6e..2051d60 100644
--- a/korganizer/kolistview.h
+++ b/korganizer/kolistview.h
@@ -43,5 +43,5 @@
using namespace KCal;
-
+class KOListViewWhatsThis;
#include <qpushbutton.h>
@@ -301,4 +301,5 @@ class KOListView : public KOEventView
private:
+ KOListViewWhatsThis *mKOListViewWhatsThis;
KOListViewListView *mListView;
KOEventPopupMenu *mPopupMenu;
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index ae61db6..7927307 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -90,5 +90,9 @@ KNoScrollListBox::KNoScrollListBox(QWidget *parent,const char *name)
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
@@ -589,5 +589,11 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) :
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
@@ -591,4 +591,10 @@ 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
@@ -44,4 +44,5 @@ class MainWindow : public QMainWindow
static QString resourcePath();
public slots:
+ void setUsesBigPixmaps ( bool );
void setCaption ( const QString & );
void updateWeekNum(const KCal::DateList &);