summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer
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 /kontact/plugins/korganizer
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kontact/plugins/korganizer')
-rw-r--r--kontact/plugins/korganizer/journalplugin.cpp4
-rw-r--r--kontact/plugins/korganizer/kcmkorgsummary.cpp2
-rw-r--r--kontact/plugins/korganizer/korganizerplugin.cpp4
-rw-r--r--kontact/plugins/korganizer/summarywidget.cpp2
-rw-r--r--kontact/plugins/korganizer/todoplugin.cpp4
-rw-r--r--kontact/plugins/korganizer/todosummarywidget.cpp2
6 files changed, 9 insertions, 9 deletions
diff --git a/kontact/plugins/korganizer/journalplugin.cpp b/kontact/plugins/korganizer/journalplugin.cpp
index 0bdb167f8..d75bfe76d 100644
--- a/kontact/plugins/korganizer/journalplugin.cpp
+++ b/kontact/plugins/korganizer/journalplugin.cpp
@@ -49,10 +49,10 @@ JournalPlugin::JournalPlugin( Kontact::Core *core, const char *, const TQStringL
setInstance( JournalPluginFactory::instance() );
instance()->iconLoader()->addAppDir("tdepim");
- insertNewAction( new KAction( i18n( "New Journal..." ), "newjournal",
+ insertNewAction( new TDEAction( i18n( "New Journal..." ), "newjournal",
CTRL+SHIFT+Key_J, this, TQT_SLOT( slotNewJournal() ), actionCollection(),
"new_journal" ) );
- insertSyncAction( new KAction( i18n( "Synchronize Journal" ), "reload",
+ insertSyncAction( new TDEAction( i18n( "Synchronize Journal" ), "reload",
0, this, TQT_SLOT( slotSyncJournal() ), actionCollection(),
"journal_sync" ) );
diff --git a/kontact/plugins/korganizer/kcmkorgsummary.cpp b/kontact/plugins/korganizer/kcmkorgsummary.cpp
index 818f3c056..acc95d0f2 100644
--- a/kontact/plugins/korganizer/kcmkorgsummary.cpp
+++ b/kontact/plugins/korganizer/kcmkorgsummary.cpp
@@ -60,7 +60,7 @@ KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name )
connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( modified() ) );
connect( mCustomDays, TQT_SIGNAL( valueChanged( int ) ), TQT_SLOT( customDaysChanged( int ) ) );
- KAcceleratorManager::manage( this );
+ TDEAcceleratorManager::manage( this );
load();
diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp
index 2262dcef3..00ed1e532 100644
--- a/kontact/plugins/korganizer/korganizerplugin.cpp
+++ b/kontact/plugins/korganizer/korganizerplugin.cpp
@@ -64,11 +64,11 @@ KOrganizerPlugin::KOrganizerPlugin( Kontact::Core *core, const char *, const TQS
setInstance( KOrganizerPluginFactory::instance() );
instance()->iconLoader()->addAppDir("tdepim");
- insertNewAction( new KAction( i18n( "New Event..." ), "newappointment",
+ insertNewAction( new TDEAction( i18n( "New Event..." ), "newappointment",
CTRL+SHIFT+Key_E, this, TQT_SLOT( slotNewEvent() ), actionCollection(),
"new_event" ) );
- insertSyncAction( new KAction( i18n( "Synchronize Calendar" ), "reload",
+ insertSyncAction( new TDEAction( i18n( "Synchronize Calendar" ), "reload",
0, this, TQT_SLOT( slotSyncEvents() ), actionCollection(),
"korganizer_sync" ) );
diff --git a/kontact/plugins/korganizer/summarywidget.cpp b/kontact/plugins/korganizer/summarywidget.cpp
index 451d8df57..416b0a5ad 100644
--- a/kontact/plugins/korganizer/summarywidget.cpp
+++ b/kontact/plugins/korganizer/summarywidget.cpp
@@ -267,7 +267,7 @@ void SummaryWidget::removeEvent( const TQString &uid )
void SummaryWidget::popupMenu( const TQString &uid )
{
- KPopupMenu popup( this );
+ TDEPopupMenu popup( this );
TQToolTip::remove( this );
popup.insertItem( i18n( "&Edit Appointment..." ), 0 );
popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "editdelete", KIcon::Small),
diff --git a/kontact/plugins/korganizer/todoplugin.cpp b/kontact/plugins/korganizer/todoplugin.cpp
index e3ff2ba8f..5c6ce7e9d 100644
--- a/kontact/plugins/korganizer/todoplugin.cpp
+++ b/kontact/plugins/korganizer/todoplugin.cpp
@@ -61,11 +61,11 @@ TodoPlugin::TodoPlugin( Kontact::Core *core, const char *, const TQStringList& )
setInstance( TodoPluginFactory::instance() );
instance()->iconLoader()->addAppDir("tdepim");
- insertNewAction( new KAction( i18n( "New To-do..." ), "newtodo",
+ insertNewAction( new TDEAction( i18n( "New To-do..." ), "newtodo",
CTRL+SHIFT+Key_T, this, TQT_SLOT( slotNewTodo() ), actionCollection(),
"new_todo" ) );
- insertSyncAction( new KAction( i18n( "Synchronize To-do List" ), "reload",
+ insertSyncAction( new TDEAction( i18n( "Synchronize To-do List" ), "reload",
0, this, TQT_SLOT( slotSyncTodos() ), actionCollection(),
"todo_sync" ) );
diff --git a/kontact/plugins/korganizer/todosummarywidget.cpp b/kontact/plugins/korganizer/todosummarywidget.cpp
index 818eac7c4..996ea070f 100644
--- a/kontact/plugins/korganizer/todosummarywidget.cpp
+++ b/kontact/plugins/korganizer/todosummarywidget.cpp
@@ -224,7 +224,7 @@ void TodoSummaryWidget::completeTodo( const TQString &uid )
void TodoSummaryWidget::popupMenu( const TQString &uid )
{
- KPopupMenu popup( this );
+ TDEPopupMenu popup( this );
TQToolTip::remove( this );
popup.insertItem( i18n( "&Edit To-do..." ), 0 );
popup.insertItem( TDEGlobal::iconLoader()->loadIcon( "editdelete", KIcon::Small),