summaryrefslogtreecommitdiffstats
path: root/src/newbasketdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:18:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:18:28 -0600
commit934db26c3f8efe148a5680c22f965ee10f818a61 (patch)
tree4a47cbb3ef398d11fa9283b5afdcd0a8d84fad7c /src/newbasketdialog.cpp
parenta1fb52e00e362130a46b34570e53f2c1f322f373 (diff)
downloadbasket-934db26c3f8efe148a5680c22f965ee10f818a61.tar.gz
basket-934db26c3f8efe148a5680c22f965ee10f818a61.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/newbasketdialog.cpp')
-rw-r--r--src/newbasketdialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/newbasketdialog.cpp b/src/newbasketdialog.cpp
index c782583..5651815 100644
--- a/src/newbasketdialog.cpp
+++ b/src/newbasketdialog.cpp
@@ -106,7 +106,7 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
connect( m_name, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(nameChanged(const TQString&)) );
enableButtonOK(false);
TQToolTip::add(m_name, i18n("Name"));
- m_backgroundColor = new KColorCombo2(TQColor(), KGlobalSettings::baseColor(), page);
+ m_backgroundColor = new KColorCombo2(TQColor(), TDEGlobalSettings::baseColor(), page);
m_backgroundColor->setColor(TQColor());
m_backgroundColor->setFixedSize(m_backgroundColor->sizeHint());
m_backgroundColor->setColor(m_defaultProperties.backgroundColor);
@@ -148,8 +148,8 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
TQPixmap icon(40, 53);
TQPainter painter(&icon);
- painter.fillRect(0, 0, icon.width(), icon.height(), KGlobalSettings::baseColor());
- painter.setPen(KGlobalSettings::textColor());
+ painter.fillRect(0, 0, icon.width(), icon.height(), TDEGlobalSettings::baseColor());
+ painter.setPen(TDEGlobalSettings::textColor());
painter.drawRect(0, 0, icon.width(), icon.height());
painter.end();
lastTemplate = new KIconViewItem(m_templates, lastTemplate, i18n("One column"), icon);
@@ -158,8 +158,8 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
m_templates->setSelected(lastTemplate, true);
painter.begin(&icon);
- painter.fillRect(0, 0, icon.width(), icon.height(), KGlobalSettings::baseColor());
- painter.setPen(KGlobalSettings::textColor());
+ painter.fillRect(0, 0, icon.width(), icon.height(), TDEGlobalSettings::baseColor());
+ painter.setPen(TDEGlobalSettings::textColor());
painter.drawRect(0, 0, icon.width(), icon.height());
painter.drawLine(icon.width() / 2, 0, icon.width() / 2, icon.height());
painter.end();
@@ -169,8 +169,8 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
m_templates->setSelected(lastTemplate, true);
painter.begin(&icon);
- painter.fillRect(0, 0, icon.width(), icon.height(), KGlobalSettings::baseColor());
- painter.setPen(KGlobalSettings::textColor());
+ painter.fillRect(0, 0, icon.width(), icon.height(), TDEGlobalSettings::baseColor());
+ painter.setPen(TDEGlobalSettings::textColor());
painter.drawRect(0, 0, icon.width(), icon.height());
painter.drawLine(icon.width() / 3, 0, icon.width() / 3, icon.height());
painter.drawLine(icon.width() * 2 / 3, 0, icon.width() * 2 / 3, icon.height());
@@ -181,8 +181,8 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
m_templates->setSelected(lastTemplate, true);
painter.begin(&icon);
- painter.fillRect(0, 0, icon.width(), icon.height(), KGlobalSettings::baseColor());
- painter.setPen(KGlobalSettings::textColor());
+ painter.fillRect(0, 0, icon.width(), icon.height(), TDEGlobalSettings::baseColor());
+ painter.setPen(TDEGlobalSettings::textColor());
painter.drawRect(0, 0, icon.width(), icon.height());
painter.drawRect(icon.width() / 5, icon.width() / 5, icon.width() / 4, icon.height() / 8);
painter.drawRect(icon.width() * 2 / 5, icon.width() * 2 / 5, icon.width() / 4, icon.height() / 8);
@@ -193,8 +193,8 @@ NewBasketDialog::NewBasketDialog(Basket *parentBasket, const NewBasketDefaultPro
m_templates->setSelected(lastTemplate, true);
/* painter.begin(&icon);
- painter.fillRect(0, 0, icon.width(), icon.height(), KGlobalSettings::baseColor());
- painter.setPen(KGlobalSettings::textColor());
+ painter.fillRect(0, 0, icon.width(), icon.height(), TDEGlobalSettings::baseColor());
+ painter.setPen(TDEGlobalSettings::textColor());
painter.drawRect(0, 0, icon.width(), icon.height());
painter.drawRect(icon.width() * 2 / 5, icon.height() * 3 / 7, icon.width() / 5, icon.height() / 7);
painter.end();