summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:14 -0600
commitb97ee238f88e9578da228388210cd8cab5360778 (patch)
tree8bf3ab88929af70826ebe3b84434c3403dc71c7d /kontact/plugins/korganizer
parent656055dae6f13ee65d66fabf9041b288d81710af (diff)
downloadtdepim-b97ee238f88e9578da228388210cd8cab5360778.tar.gz
tdepim-b97ee238f88e9578da228388210cd8cab5360778.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kontact/plugins/korganizer')
-rw-r--r--kontact/plugins/korganizer/summarywidget.cpp12
-rw-r--r--kontact/plugins/korganizer/todosummarywidget.cpp10
2 files changed, 11 insertions, 11 deletions
diff --git a/kontact/plugins/korganizer/summarywidget.cpp b/kontact/plugins/korganizer/summarywidget.cpp
index 02e3eb106..16aba3778 100644
--- a/kontact/plugins/korganizer/summarywidget.cpp
+++ b/kontact/plugins/korganizer/summarywidget.cpp
@@ -57,7 +57,7 @@ SummaryWidget::SummaryWidget( KOrganizerPlugin *plugin, TQWidget *parent,
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 );
TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "kontact_date",
- KIcon::Desktop, KIcon::SizeMedium );
+ TDEIcon::Desktop, TDEIcon::SizeMedium );
TQWidget *header = createHeader( this, icon, i18n( "Calendar" ) );
mainLayout->addWidget( header );
@@ -83,7 +83,7 @@ void SummaryWidget::updateView()
mLabels.clear();
mLabels.setAutoDelete( false );
- KIconLoader loader( "tdepim" );
+ TDEIconLoader loader( "tdepim" );
TDEConfig config( "kcmkorgsummaryrc" );
@@ -92,9 +92,9 @@ void SummaryWidget::updateView()
TQLabel *label = 0;
int counter = 0;
- TQPixmap pm = loader.loadIcon( "appointment", KIcon::Small );
- TQPixmap pmb = loader.loadIcon( "calendarbirthday", KIcon::Small );
- TQPixmap pma = loader.loadIcon( "calendaranniversary", KIcon::Small );
+ TQPixmap pm = loader.loadIcon( "appointment", TDEIcon::Small );
+ TQPixmap pmb = loader.loadIcon( "calendarbirthday", TDEIcon::Small );
+ TQPixmap pma = loader.loadIcon( "calendaranniversary", TDEIcon::Small );
TQDate dt;
TQDate currentDate = TQDate::currentDate();
@@ -270,7 +270,7 @@ void SummaryWidget::popupMenu( const TQString &uid )
TDEPopupMenu popup( this );
TQToolTip::remove( this );
popup.insertItem( i18n( "&Edit Appointment..." ), 0 );
- popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "editdelete", KIcon::Small),
+ popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "editdelete", TDEIcon::Small),
i18n( "&Delete Appointment" ), 1 );
switch ( popup.exec( TQCursor::pos() ) ) {
diff --git a/kontact/plugins/korganizer/todosummarywidget.cpp b/kontact/plugins/korganizer/todosummarywidget.cpp
index 3089c9876..16aced52d 100644
--- a/kontact/plugins/korganizer/todosummarywidget.cpp
+++ b/kontact/plugins/korganizer/todosummarywidget.cpp
@@ -59,7 +59,7 @@ TodoSummaryWidget::TodoSummaryWidget( TodoPlugin *plugin,
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 );
TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "kontact_todo",
- KIcon::Desktop, KIcon::SizeMedium );
+ TDEIcon::Desktop, TDEIcon::SizeMedium );
TQWidget *header = createHeader( this, icon, i18n( "To-do" ) );
mainLayout->addWidget( header );
@@ -89,7 +89,7 @@ void TodoSummaryWidget::updateView()
config.setGroup( "Todo" );
bool showAllTodos = config.readBoolEntry( "ShowAllTodos", false );
- KIconLoader loader( "tdepim" );
+ TDEIconLoader loader( "tdepim" );
TQLabel *label = 0;
int counter = 0;
@@ -97,7 +97,7 @@ void TodoSummaryWidget::updateView()
TQDate currentDate = TQDate::currentDate();
KCal::Todo::List todos = mCalendar->todos();
if ( todos.count() > 0 ) {
- TQPixmap pm = loader.loadIcon( "todo", KIcon::Small );
+ TQPixmap pm = loader.loadIcon( "todo", TDEIcon::Small );
KCal::Todo::List::ConstIterator it;
for ( it = todos.begin(); it != todos.end(); ++it ) {
KCal::Todo *todo = *it;
@@ -227,11 +227,11 @@ void TodoSummaryWidget::popupMenu( const TQString &uid )
TDEPopupMenu popup( this );
TQToolTip::remove( this );
popup.insertItem( i18n( "&Edit To-do..." ), 0 );
- popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "editdelete", KIcon::Small),
+ popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "editdelete", TDEIcon::Small),
i18n( "&Delete To-do" ), 1 );
KCal::Todo *todo = mCalendar->todo( uid );
if ( !todo->isCompleted() ) {
- popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "checkedbox", KIcon::Small),
+ popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "checkedbox", TDEIcon::Small),
i18n( "&Mark To-do Completed" ), 2 );
}