summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac/alarmdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /korganizer/korgac/alarmdialog.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'korganizer/korgac/alarmdialog.cpp')
-rw-r--r--korganizer/korgac/alarmdialog.cpp8
1 files changed, 4 insertions, 4 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 );