summaryrefslogtreecommitdiffstats
path: root/kbugbuster
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:49:56 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:49:56 -0600
commite6aaa3624cc6179b82a9bfff1760e742a669064c (patch)
tree3fed4deb0540d34f85dfb53b02bea7519e66cc6f /kbugbuster
parent4071ae43ea213cd0f7d5c344c939ebd97d097051 (diff)
downloadtdesdk-e6aaa3624cc6179b82a9bfff1760e742a669064c.tar.gz
tdesdk-e6aaa3624cc6179b82a9bfff1760e742a669064c.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kbugbuster')
-rw-r--r--kbugbuster/backend/mailsender.cpp6
-rw-r--r--kbugbuster/gui/cwbugdetails.cpp2
-rw-r--r--kbugbuster/gui/cwloadingwidget.cpp2
-rw-r--r--kbugbuster/gui/cwsearchwidget.cpp2
-rw-r--r--kbugbuster/gui/packageselectdialog.cpp2
-rw-r--r--kbugbuster/kresources/kcalresource_plugin.cpp2
6 files changed, 8 insertions, 8 deletions
diff --git a/kbugbuster/backend/mailsender.cpp b/kbugbuster/backend/mailsender.cpp
index c4d4f9a1..d1f91f01 100644
--- a/kbugbuster/backend/mailsender.cpp
+++ b/kbugbuster/backend/mailsender.cpp
@@ -61,15 +61,15 @@ bool MailSender::send(const TQString &fromName,const TQString &fromEmail,const T
if (command.isNull()) return false; // give up
command.append(TQString::fromLatin1(" -s "));
- command.append(KProcess::quote(subject));
+ command.append(TDEProcess::quote(subject));
if (bcc) {
command.append(TQString::fromLatin1(" -b "));
- command.append(KProcess::quote(from));
+ command.append(TDEProcess::quote(from));
}
command.append(" ");
- command.append(KProcess::quote(to));
+ command.append(TDEProcess::quote(to));
needHeaders = false;
}
diff --git a/kbugbuster/gui/cwbugdetails.cpp b/kbugbuster/gui/cwbugdetails.cpp
index eca64758..2eccbbce 100644
--- a/kbugbuster/gui/cwbugdetails.cpp
+++ b/kbugbuster/gui/cwbugdetails.cpp
@@ -116,7 +116,7 @@ void CWBugDetails::setBug( const Bug &bug, const BugDetails &details )
text.append( borderBottomStyle + "\">" );
TQString sender = (*it).sender.fullName( true );
- TQString date = KGlobal::locale()->formatDateTime( (*it).date, false );
+ TQString date = TDEGlobal::locale()->formatDateTime( (*it).date, false );
BugDetailsPart::List::ConstIterator it2 = it;
if ( ++it2 == bdp.end() )
text.append( "<a href=\"" + BugSystem::self()->server()->bugLink( bug ).url()
diff --git a/kbugbuster/gui/cwloadingwidget.cpp b/kbugbuster/gui/cwloadingwidget.cpp
index 1672d31f..c60bb3e0 100644
--- a/kbugbuster/gui/cwloadingwidget.cpp
+++ b/kbugbuster/gui/cwloadingwidget.cpp
@@ -125,7 +125,7 @@ void CWLoadingWidget::updatePixmap()
if( m_mode == TopFrame )
{
- TQFont bigFont = TQFont( KGlobalSettings::generalFont().family(),
+ TQFont bigFont = TQFont( TDEGlobalSettings::generalFont().family(),
28, TQFont::Bold, true );
int xoffset = m_logoPixmap->width();
diff --git a/kbugbuster/gui/cwsearchwidget.cpp b/kbugbuster/gui/cwsearchwidget.cpp
index 5a075bb8..c51b7ea0 100644
--- a/kbugbuster/gui/cwsearchwidget.cpp
+++ b/kbugbuster/gui/cwsearchwidget.cpp
@@ -46,7 +46,7 @@ CWSearchWidget::CWSearchWidget( TQWidget *parent , const char * name )
m_searchDescBtn->setEnabled( !m_searchDesc->text().isEmpty() );
m_searchBugNumberBtn->setEnabled( !m_searchBugNumber->text().isEmpty() );
-// m_searchPackages->setCompletionMode( KGlobalSettings::CompletionAuto );
+// m_searchPackages->setCompletionMode( TDEGlobalSettings::CompletionAuto );
}
CWSearchWidget::~CWSearchWidget()
diff --git a/kbugbuster/gui/packageselectdialog.cpp b/kbugbuster/gui/packageselectdialog.cpp
index 4d3e72ac..a757e355 100644
--- a/kbugbuster/gui/packageselectdialog.cpp
+++ b/kbugbuster/gui/packageselectdialog.cpp
@@ -62,7 +62,7 @@ PackageSelectDialog::PackageSelectDialog(TQWidget *parent,const char *name) :
TQT_SLOT( slotOk() ) );
mCompletion = new KCompletion;
- mCompletion->setCompletionMode( KGlobalSettings::CompletionAuto );
+ mCompletion->setCompletionMode( TDEGlobalSettings::CompletionAuto );
mCompleteList = new PackageListView( topSplitter );
mCompleteList->addColumn( i18n("Name") );
diff --git a/kbugbuster/kresources/kcalresource_plugin.cpp b/kbugbuster/kresources/kcalresource_plugin.cpp
index 35232978..7cf81289 100644
--- a/kbugbuster/kresources/kcalresource_plugin.cpp
+++ b/kbugbuster/kresources/kcalresource_plugin.cpp
@@ -31,7 +31,7 @@ extern "C"
{
KDE_EXPORT void *init_kcal_bugzilla()
{
- KGlobal::locale()->insertCatalogue( "kres_bugzilla" );
+ TDEGlobal::locale()->insertCatalogue( "kres_bugzilla" );
return new KRES::PluginFactory<KCalResource,KCalResourceConfig>();
}
}