summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/korgac')
-rw-r--r--korganizer/korgac/alarmdialog.cpp8
-rw-r--r--korganizer/korgac/alarmdialog.h4
-rw-r--r--korganizer/korgac/alarmdockwindow.cpp4
3 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/korgac/alarmdialog.cpp b/korganizer/korgac/alarmdialog.cpp
index bd005bc17..55de923ac 100644
--- a/korganizer/korgac/alarmdialog.cpp
+++ b/korganizer/korgac/alarmdialog.cpp
@@ -62,11 +62,11 @@
static int defSuspendVal = 5;
static int defSuspendUnit = 0; // 0=>minutes, 1=>hours, 2=>days, 3=>weeks
-class AlarmListItem : public KListViewItem
+class AlarmListItem : public TDEListViewItem
{
public:
AlarmListItem( const TQString &uid, TQListView *parent )
- : KListViewItem( parent ), mUid( uid ), mNotified( false )
+ : TDEListViewItem( parent ), mUid( uid ), mNotified( false )
{
}
@@ -90,7 +90,7 @@ int AlarmListItem::compare( TQListViewItem *item, int iCol, bool bAscending ) co
AlarmListItem *pItem = static_cast<AlarmListItem *>( item );
return pItem->mHappening.secsTo( mHappening );
} else {
- return KListViewItem::compare( item, iCol, bAscending );
+ return TDEListViewItem::compare( item, iCol, bAscending );
}
}
@@ -126,7 +126,7 @@ AlarmDialog::AlarmDialog( KCal::CalendarResources *calendar, TQWidget *parent, c
mSplitter->setOpaqueResize( TDEGlobalSettings::opaqueResize() );
topLayout->addWidget( mSplitter );
- mIncidenceListView = new KListView( mSplitter );
+ mIncidenceListView = new TDEListView( mSplitter );
mIncidenceListView->addColumn( i18n( "Summary" ) );
mIncidenceListView->addColumn( i18n( "Date, Time" ) );
mIncidenceListView->setSorting( 0, true );
diff --git a/korganizer/korgac/alarmdialog.h b/korganizer/korgac/alarmdialog.h
index d3e3af411..949c17f7d 100644
--- a/korganizer/korgac/alarmdialog.h
+++ b/korganizer/korgac/alarmdialog.h
@@ -38,7 +38,7 @@ using namespace KCal;
class AlarmListItem;
class KOEventViewer;
class KComboBox;
-class KListView;
+class TDEListView;
class TQSpinBox;
class TQSplitter;
@@ -100,7 +100,7 @@ class AlarmDialog : public KDialogBase {
TQValueList<AlarmListItem*> selectedItems() const;
CalendarResources *mCalendar;
- KListView *mIncidenceListView;
+ TDEListView *mIncidenceListView;
KOEventViewer *mDetailView;
TQSpinBox *mSuspendSpin;
diff --git a/korganizer/korgac/alarmdockwindow.cpp b/korganizer/korgac/alarmdockwindow.cpp
index 051fe446e..d20d30f9c 100644
--- a/korganizer/korgac/alarmdockwindow.cpp
+++ b/korganizer/korgac/alarmdockwindow.cpp
@@ -79,9 +79,9 @@ AlarmDockWindow::AlarmDockWindow( const char *name )
// Disable standard quit behaviour. We have to intercept the quit even, if the
// main window is hidden.
- KActionCollection *ac = actionCollection();
+ TDEActionCollection *ac = actionCollection();
const char *quitName = KStdAction::name( KStdAction::Quit );
- KAction *quit = ac->action( quitName );
+ TDEAction *quit = ac->action( quitName );
if ( !quit ) {
kdDebug(5890) << "No Quit standard action." << endl;
} else {