summaryrefslogtreecommitdiffstats
path: root/knotes/knote.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:49:30 -0600
commita9bde819f2b421dcc44741156e75eca4bb5fb4f4 (patch)
treed087071b1e8fcf79698938efec19f8e48bab0799 /knotes/knote.cpp
parent5c4a80ead2b1fe57dc6a8c29d0368792344cd61e (diff)
downloadtdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.tar.gz
tdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r--knotes/knote.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp
index 72a751526..b68a342f3 100644
--- a/knotes/knote.cpp
+++ b/knotes/knote.cpp
@@ -98,7 +98,7 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char *
// (KOrganizer's journals don't have titles but a valid start date)
if ( m_journal->summary().isNull() && m_journal->dtStart().isValid() )
{
- TQString s = KGlobal::locale()->formatDateTime( m_journal->dtStart() );
+ TQString s = TDEGlobal::locale()->formatDateTime( m_journal->dtStart() );
m_journal->setSummary( s );
}
@@ -214,7 +214,7 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char *
m_editor->cornerWidget()->setBackgroundMode( PaletteBase );
// the config file location
- TQString configFile = KGlobal::dirs()->saveLocation( "appdata", "notes/" );
+ TQString configFile = TDEGlobal::dirs()->saveLocation( "appdata", "notes/" );
configFile += m_journal->uid();
// no config file yet? -> use the default display config if available
@@ -407,7 +407,7 @@ void KNote::slotKill( bool force )
delete m_config;
m_config = 0;
- TQString configFile = KGlobal::dirs()->saveLocation( "appdata", "notes/" );
+ TQString configFile = TDEGlobal::dirs()->saveLocation( "appdata", "notes/" );
configFile += m_journal->uid();
if ( !KIO::NetAccess::del( KURL::fromPathOrURL( configFile ), this ) )
@@ -769,7 +769,7 @@ void KNote::slotClose()
void KNote::slotInsDate()
{
- m_editor->insert( KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime()) );
+ m_editor->insert( TDEGlobal::locale()->formatDateTime(TQDateTime::currentDateTime()) );
}
void KNote::slotSetAlarm()
@@ -827,7 +827,7 @@ void KNote::slotMail()
// get the mail action command
const TQStringList cmd_list = TQStringList::split( TQChar(' '), KNotesGlobalConfig::mailAction() );
- KProcess mail;
+ TDEProcess mail;
for ( TQStringList::ConstIterator it = cmd_list.constBegin();
it != cmd_list.constEnd(); ++it )
{
@@ -839,7 +839,7 @@ void KNote::slotMail()
mail << (*it).local8Bit();
}
- if ( !mail.start( KProcess::DontCare ) )
+ if ( !mail.start( TDEProcess::DontCare ) )
KMessageBox::sorry( this, i18n("Unable to start the mail process.") );
}