summaryrefslogtreecommitdiffstats
path: root/kpacman/kpacman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpacman/kpacman.cpp')
-rw-r--r--kpacman/kpacman.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpacman/kpacman.cpp b/kpacman/kpacman.cpp
index 7ee12c3..4b87122 100644
--- a/kpacman/kpacman.cpp
+++ b/kpacman/kpacman.cpp
@@ -32,7 +32,7 @@
#define ID_STATUS_MSG 1
-KpacmanApp::KpacmanApp(TQWidget *, const char *name) : KMainWindow(0, name)
+KpacmanApp::KpacmanApp(TQWidget *, const char *name) : TDEMainWindow(0, name)
{
config=kapp->config();
@@ -75,16 +75,16 @@ void KpacmanApp::initActions()
showMenuBar = KStdAction::showMenubar(this, SLOT(slotShowMenuBar()), actionCollection());
showToolBar = KStdAction::showToolbar(this, SLOT(slotShowToolBar()), actionCollection());
showStatusBar = KStdAction::showStatusbar(this, SLOT(slotShowStatusBar()), actionCollection());
- showMouseCursor = new KToggleAction(i18n("Show Mouse&cursor"), 0,
+ showMouseCursor = new TDEToggleAction(i18n("Show Mouse&cursor"), 0,
this, SLOT(slotShowMouseCursor()), actionCollection(),
"options_show_mousecursor");
- selectGraphicScheme = new KActionMenu(i18n("&Select graphic scheme"), actionCollection(),
+ selectGraphicScheme = new TDEActionMenu(i18n("&Select graphic scheme"), actionCollection(),
"options_select_graphic_scheme");
KStdAction::keyBindings(this, SLOT(slotKeyBindings()), actionCollection());
- focusOutPause = new KToggleAction(i18n("Pause in &Background"), 0,
+ focusOutPause = new TDEToggleAction(i18n("Pause in &Background"), 0,
this, SLOT(slotFocusOutPause()), actionCollection(),
"options_focus_out_pause");
- focusInContinue = new KToggleAction(i18n("Continue in &Foreground"), 0,
+ focusInContinue = new TDEToggleAction(i18n("Continue in &Foreground"), 0,
this, SLOT(slotFocusInContinue()), actionCollection(),
"options_focus_in_continue");
@@ -109,7 +109,7 @@ void KpacmanApp::initStatusBar()
void KpacmanApp::initView()
{
////////////////////////////////////////////////////////////////////
- // create the main widget here that is managed by KMainWindow's view-region and
+ // create the main widget here that is managed by TDEMainWindow's view-region and
// connect the widget.
view = new KpacmanView(this);
@@ -167,8 +167,8 @@ void KpacmanApp::readOptions()
slotFocusInContinue();
// bar position settings
- KToolBar::BarPosition toolBarPos;
- toolBarPos = (KToolBar::BarPosition) config->readNumEntry("ToolBarPos", KToolBar::Top);
+ TDEToolBar::BarPosition toolBarPos;
+ toolBarPos = (TDEToolBar::BarPosition) config->readNumEntry("ToolBarPos", TDEToolBar::Top);
toolBar("mainToolBar")->setBarPos(toolBarPos);
TQSize size = config->readSizeEntry("Geometry");
@@ -196,7 +196,7 @@ void KpacmanApp::readSchemes()
schemeID.resize(schemeCount);
schemeMode.resize(schemeCount);
- schemesPopup = new TQList<KPopupMenu>;
+ schemesPopup = new TQList<TDEPopupMenu>;
schemesPopup->setAutoDelete(true);
modesPopup = selectGraphicScheme->popupMenu();
@@ -216,7 +216,7 @@ void KpacmanApp::readSchemes()
description = config->readEntry("Description", group);
- KPopupMenu *p = new KPopupMenu;
+ TDEPopupMenu *p = new TDEPopupMenu;
p->setCheckable(true);
connect(p, SIGNAL(activated(int)), this, SLOT(slotSchemeActivated(int)));
schemesPopup->append(p);