summaryrefslogtreecommitdiffstats
path: root/src/MainWidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:13:07 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:13:07 -0600
commite3ed6c91854064731c3f74ebc90b6df2649600ef (patch)
tree5505e0eb39d0fb39e1018d2489e9ef45a9651770 /src/MainWidget.cpp
parent8aeb17bbf48d01b27509ee3439140e0de6c68ddb (diff)
downloadkvkbd-e3ed6c91854064731c3f74ebc90b6df2649600ef.tar.gz
kvkbd-e3ed6c91854064731c3f74ebc90b6df2649600ef.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/MainWidget.cpp')
-rw-r--r--src/MainWidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/MainWidget.cpp b/src/MainWidget.cpp
index 7ce4432..516a23f 100644
--- a/src/MainWidget.cpp
+++ b/src/MainWidget.cpp
@@ -499,7 +499,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
tray = new KbdTray ( this );
tray->setPixmap ( UserIcon ( "tray" ) );
- KConfig *cfg = TDEApplication::kApplication()->config();
+ TDEConfig *cfg = TDEApplication::kApplication()->config();
KPopupMenu *m = tray->contextMenu();
m->setCheckable ( true );
@@ -560,7 +560,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
void MainWidget::finishInit()
{
- KConfig *cfg = TDEApplication::kApplication()->config();
+ TDEConfig *cfg = TDEApplication::kApplication()->config();
bool vis = cfg->readBoolEntry("visible",true);
if (vis) {
show();
@@ -585,7 +585,7 @@ void MainWidget::restorePosition()
int d_height=235;
TQRect dflt_geom(screen_geom.width()-d_width,screen_geom.height()-d_height,d_width,d_height);
- KConfig *cfg = 0;
+ TDEConfig *cfg = 0;
cfg = TDEApplication::kApplication()->config();
if (cfg){
TQRect geom = cfg->readRectEntry("geometry");
@@ -597,7 +597,7 @@ void MainWidget::restorePosition()
}
void MainWidget::saveState()
{
- KConfig *cfg = 0;
+ TDEConfig *cfg = 0;
cfg = TDEApplication::kApplication()->config();
if (cfg){
cfg->writeEntry("visible",isShown());
@@ -607,7 +607,7 @@ void MainWidget::saveState()
void MainWidget::hideEvent ( TQHideEvent * )
{
- KConfig *cfg = 0;
+ TDEConfig *cfg = 0;
cfg = TDEApplication::kApplication()->config();
if (cfg){
cfg->writeEntry("geometry",geometry());
@@ -715,7 +715,7 @@ void MainWidget::chooseFont()
// value, in this case Helvetica [Cronyx], 10
}
- KConfig *cfg = TDEApplication::kApplication()->config();
+ TDEConfig *cfg = TDEApplication::kApplication()->config();
cfg->writeEntry ("KvkbdFont", this->font());
cfg->sync();
@@ -740,7 +740,7 @@ void MainWidget::showDock()
tray->contextMenu()->setItemChecked ( mnu_dock, !c );
dock->show();
}
- KConfig *cfg = TDEApplication::kApplication()->config();
+ TDEConfig *cfg = TDEApplication::kApplication()->config();
cfg->writeEntry ("showdock", !c);
cfg->sync();
@@ -749,7 +749,7 @@ void MainWidget::toggleFontAutoRes()
{
bool c = tray->contextMenu()->isItemChecked( mnu_autores);
tray->contextMenu()->setItemChecked(mnu_autores, !c);
- KConfig *cfg = TDEApplication::kApplication()->config();
+ TDEConfig *cfg = TDEApplication::kApplication()->config();
cfg->writeEntry ("autoresfont", !c);
cfg->sync();
}