diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-14 15:08:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-15 16:54:32 +0900 |
commit | d273eb27c1da37ffa15da1a9ca4bc2853e052c6c (patch) | |
tree | f696c6ad38eaf198870473b939bb64c32b85f3ed /kpager/kpager.cpp | |
parent | b8f5a7414bd00abef13ef3ef6557f742849b9191 (diff) | |
download | tdebase-rename/tdeapp.tar.gz tdebase-rename/tdeapp.zip |
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpager/kpager.cpp')
-rw-r--r-- | kpager/kpager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpager/kpager.cpp b/kpager/kpager.cpp index 68f73982a..3d6804974 100644 --- a/kpager/kpager.cpp +++ b/kpager/kpager.cpp @@ -67,7 +67,7 @@ KPagerMainWindow::KPagerMainWindow(TQWidget *parent, const char *name) m_pPager = new KPager(this, 0); setCentralWidget(m_pPager); - TDEConfig *cfg = kapp->config(); + TDEConfig *cfg = tdeApp->config(); cfg->setGroup("KPager"); // Update the last used geometry @@ -91,7 +91,7 @@ KPagerMainWindow::KPagerMainWindow(TQWidget *parent, const char *name) // rect.pos.y+rect.size.height-m_pPager->height()); // antonio:The above lines don't work. I should look at them when I have // more time - move(kapp->desktop()->width()-m_pPager->sizeHint().width()-5,kapp->desktop()->height()-m_pPager->sizeHint().height()-25); + move(tdeApp->desktop()->width()-m_pPager->sizeHint().width()-5,tdeApp->desktop()->height()-m_pPager->sizeHint().height()-25); } // Set the wm flags to this window @@ -158,9 +158,9 @@ void KPagerMainWindow::showAt(int x, int y) // Just in case we lost the sticky bit... (as when a window is hidden) KWin::setOnAllDesktops( winId(), true); - if (x>kapp->desktop()->width()/2) // Right + if (x>tdeApp->desktop()->width()/2) // Right x-=m_pPager->width()+5; - if (y>kapp->desktop()->height()/2) // Bottom + if (y>tdeApp->desktop()->height()/2) // Bottom y-=m_pPager->height()+25; move(x,y); show(); @@ -195,7 +195,7 @@ KPager::KPager(KPagerMainWindow *parent, const char *name) KPagerConfigDialog::initConfiguration(); - TDEConfig *cfg = kapp->config(); + TDEConfig *cfg = tdeApp->config(); cfg->setGroup("KPager"); m_showStickyOption=cfg->readBoolEntry("ShowStickyOption",false); @@ -224,7 +224,7 @@ KPager::KPager(KPagerMainWindow *parent, const char *name) TQ_SLOT( slotNumberOfDesktopsChanged(int) ) ); connect( m_winmodule, TQ_SIGNAL( currentDesktopChanged(int)), TQ_SLOT( slotCurrentDesktopChanged(int) ) ); - connect(kapp, TQ_SIGNAL(backgroundChanged(int)), + connect(tdeApp, TQ_SIGNAL(backgroundChanged(int)), TQ_SLOT(slotBackgroundChanged(int))); TQFont defFont(TDEGlobalSettings::generalFont().family(), 10, TQFont::Bold); @@ -232,7 +232,7 @@ KPager::KPager(KPagerMainWindow *parent, const char *name) setFont(defFont); m_prefs_action = KStdAction::preferences(this, TQ_SLOT(configureDialog()), parent->actionCollection()); - m_quit_action = KStdAction::quit(kapp, TQ_SLOT(quit()), parent->actionCollection()); + m_quit_action = KStdAction::quit(tdeApp, TQ_SLOT(quit()), parent->actionCollection()); updateLayout(); } |