summaryrefslogtreecommitdiffstats
path: root/libkcal
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:14:12 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /libkcal
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'libkcal')
-rw-r--r--libkcal/calselectdialog.cpp2
-rw-r--r--libkcal/calselectdialog.h2
-rw-r--r--libkcal/confirmsavedialog.cpp4
-rw-r--r--libkcal/confirmsavedialog.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/calselectdialog.cpp b/libkcal/calselectdialog.cpp
index 9c346f483..b72a1627d 100644
--- a/libkcal/calselectdialog.cpp
+++ b/libkcal/calselectdialog.cpp
@@ -59,7 +59,7 @@ CalSelectDialog::CalSelectDialog( const TQString &caption, const TQString &label
TQLabel *labelWidget = new TQLabel( label, frame );
layout->addWidget( labelWidget );
- mListBox = new KListBox( frame );
+ mListBox = new TDEListBox( frame );
mListBox->insertStringList( list );
mListBox->setSelected( 0, true );
mListBox->ensureCurrentVisible();
diff --git a/libkcal/calselectdialog.h b/libkcal/calselectdialog.h
index 40b2811b4..66d406a0e 100644
--- a/libkcal/calselectdialog.h
+++ b/libkcal/calselectdialog.h
@@ -61,7 +61,7 @@ class CalSelectDialog : public KDialogBase
void reject();
private:
- KListBox *mListBox;
+ TDEListBox *mListBox;
};
}
diff --git a/libkcal/confirmsavedialog.cpp b/libkcal/confirmsavedialog.cpp
index 9b7f4d31d..88111073c 100644
--- a/libkcal/confirmsavedialog.cpp
+++ b/libkcal/confirmsavedialog.cpp
@@ -43,7 +43,7 @@ ConfirmSaveDialog::ConfirmSaveDialog( const TQString &destination,
.arg( destination ), topFrame );
topLayout->addWidget( label );
- mListView = new KListView( topFrame );
+ mListView = new TDEListView( topFrame );
mListView->addColumn( i18n("Operation") );
mListView->addColumn( i18n("Type") );
mListView->addColumn( i18n("Summary") );
@@ -57,7 +57,7 @@ void ConfirmSaveDialog::addIncidences( const Incidence::List &incidences,
Incidence::List::ConstIterator it;
for( it = incidences.begin(); it != incidences.end(); ++it ) {
Incidence *i = *it;
- KListViewItem *item = new KListViewItem( mListView );
+ TDEListViewItem *item = new TDEListViewItem( mListView );
item->setText( 0, operation );
item->setText( 1, i->type() );
item->setText( 2, i->summary() );
diff --git a/libkcal/confirmsavedialog.h b/libkcal/confirmsavedialog.h
index 2cdb6c8b1..f92d4ae5a 100644
--- a/libkcal/confirmsavedialog.h
+++ b/libkcal/confirmsavedialog.h
@@ -25,7 +25,7 @@
#include <kdialogbase.h>
#include <tdepimmacros.h>
-class KListView;
+class TDEListView;
namespace KCal {
@@ -39,7 +39,7 @@ class KDE_EXPORT ConfirmSaveDialog : public KDialogBase
const TQString &operation );
private:
- KListView *mListView;
+ TDEListView *mListView;
};
}