summaryrefslogtreecommitdiffstats
path: root/kpager
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-12 10:51:50 +0900
committerMichele Calgaro <[email protected]>2024-01-16 10:03:43 +0900
commita4241b7911d2e0b36edfb02f616b8b282050c0ec (patch)
tree316c9a3298857645d5da57b682fce707c8e2a907 /kpager
parentf9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff)
downloadtdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz
tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kpager')
-rw-r--r--kpager/config.cpp16
-rw-r--r--kpager/desktop.cpp2
-rw-r--r--kpager/kpager.cpp52
3 files changed, 35 insertions, 35 deletions
diff --git a/kpager/config.cpp b/kpager/config.cpp
index 0c022d4bb..29d0470a0 100644
--- a/kpager/config.cpp
+++ b/kpager/config.cpp
@@ -48,20 +48,20 @@ KPagerConfigDialog::KPagerConfigDialog (TQWidget *parent)
TQVBox *box = new TQVBox( this );
m_chkWindowDragging=new TQCheckBox(i18n("Enable window dragging"),box,0);
(void ) new KSeparator( box );
- connect(m_chkWindowDragging, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(enableWindowDragging(bool)));
+ connect(m_chkWindowDragging, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(enableWindowDragging(bool)));
TQHBox *page = new TQHBox( box );
TQVBox *lpage = new TQVBox( page );
setMainWidget(box);
m_chkShowName=new TQCheckBox(i18n("Show name"),lpage,0);
- connect(m_chkShowName, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setShowName(bool)));
+ connect(m_chkShowName, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setShowName(bool)));
m_chkShowNumber=new TQCheckBox(i18n("Show number"),lpage,0);
- connect(m_chkShowNumber, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setShowNumber(bool)));
+ connect(m_chkShowNumber, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setShowNumber(bool)));
m_chkShowBackground=new TQCheckBox(i18n("Show background"),lpage,0);
- connect(m_chkShowBackground, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setShowBackground(bool)));
+ connect(m_chkShowBackground, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setShowBackground(bool)));
m_chkShowWindows=new TQCheckBox(i18n("Show windows"),lpage,0);
- connect(m_chkShowWindows, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setShowWindows(bool)));
+ connect(m_chkShowWindows, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setShowWindows(bool)));
m_grpWindowDrawMode=new TQButtonGroup(i18n("Type of Window"),page);
m_grpWindowDrawMode->setExclusive(true);
@@ -75,7 +75,7 @@ KPagerConfigDialog::KPagerConfigDialog (TQWidget *parent)
// rbpix->setEnabled(false);
vbox->addWidget(rbpix);
- connect(m_grpWindowDrawMode, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(setWindowDrawMode(int)));
+ connect(m_grpWindowDrawMode, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(setWindowDrawMode(int)));
m_grpLayoutType=new TQButtonGroup(i18n("Layout"),page);
m_grpLayoutType->setExclusive(true);
@@ -85,8 +85,8 @@ KPagerConfigDialog::KPagerConfigDialog (TQWidget *parent)
vbox->addWidget(new TQRadioButton(i18n("Horizontal"),m_grpLayoutType));
vbox->addWidget(new TQRadioButton(i18n("Vertical"),m_grpLayoutType));
- connect(m_grpLayoutType, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(setLayout(int)));
- connect(this,TQT_SIGNAL(okClicked()),this,TQT_SLOT(slotOk()));
+ connect(m_grpLayoutType, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(setLayout(int)));
+ connect(this,TQ_SIGNAL(okClicked()),this,TQ_SLOT(slotOk()));
loadConfiguration();
setMinimumSize(360, 160);
}
diff --git a/kpager/desktop.cpp b/kpager/desktop.cpp
index dc7b27f05..c731f5353 100644
--- a/kpager/desktop.cpp
+++ b/kpager/desktop.cpp
@@ -257,7 +257,7 @@ void Desktop::loadBgPixmap(void)
if (!m_bgPixmap)
{
m_bgPixmap = new TDESharedPixmap;
- connect(m_bgPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(backgroundLoaded(bool)));
+ connect(m_bgPixmap, TQ_SIGNAL(done(bool)), TQ_SLOT(backgroundLoaded(bool)));
}
retval = m_bgPixmap->loadFromShared(TQString("DESKTOP%1").arg(m_isCommon?1:m_desk));
diff --git a/kpager/kpager.cpp b/kpager/kpager.cpp
index d18d814c0..68f73982a 100644
--- a/kpager/kpager.cpp
+++ b/kpager/kpager.cpp
@@ -111,7 +111,7 @@ KPagerMainWindow::KPagerMainWindow(TQWidget *parent, const char *name)
XFree(reinterpret_cast<char *>(hints));
timeout=new TQTimer(this,"timeoutToQuit");
- connect(timeout,TQT_SIGNAL(timeout()),this, TQT_SLOT(reallyClose()));
+ connect(timeout,TQ_SIGNAL(timeout()),this, TQ_SLOT(reallyClose()));
}
KPagerMainWindow::~KPagerMainWindow()
@@ -191,7 +191,7 @@ KPager::KPager(KPagerMainWindow *parent, const char *name)
m_currentDesktop=m_winmodule->currentDesktop();
m_grabWinTimer=new TQTimer(this,"grabWinTimer");
- connect(m_grabWinTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotGrabWindows()));
+ connect(m_grabWinTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotGrabWindows()));
KPagerConfigDialog::initConfiguration();
@@ -208,31 +208,31 @@ KPager::KPager(KPagerMainWindow *parent, const char *name)
m_layoutType=static_cast<enum KPager::LayoutTypes>( KPagerConfigDialog::m_layoutType );
- connect( m_winmodule, TQT_SIGNAL( activeWindowChanged(WId)),
- TQT_SLOT(slotActiveWindowChanged(WId)));
- connect( m_winmodule, TQT_SIGNAL( windowAdded(WId) ),
- TQT_SLOT( slotWindowAdded(WId) ) );
- connect( m_winmodule, TQT_SIGNAL( windowRemoved(WId) ),
- TQT_SLOT( slotWindowRemoved(WId) ) );
- connect( m_winmodule, TQT_SIGNAL( windowChanged(WId,unsigned int) ),
- TQT_SLOT( slotWindowChanged(WId,unsigned int) ) );
- connect( m_winmodule, TQT_SIGNAL( stackingOrderChanged() ),
- TQT_SLOT( slotStackingOrderChanged() ) );
- connect( m_winmodule, TQT_SIGNAL( desktopNamesChanged() ),
- TQT_SLOT( slotDesktopNamesChanged() ) );
- connect( m_winmodule, TQT_SIGNAL( numberOfDesktopsChanged(int) ),
- TQT_SLOT( slotNumberOfDesktopsChanged(int) ) );
- connect( m_winmodule, TQT_SIGNAL( currentDesktopChanged(int)),
- TQT_SLOT( slotCurrentDesktopChanged(int) ) );
- connect(kapp, TQT_SIGNAL(backgroundChanged(int)),
- TQT_SLOT(slotBackgroundChanged(int)));
+ connect( m_winmodule, TQ_SIGNAL( activeWindowChanged(WId)),
+ TQ_SLOT(slotActiveWindowChanged(WId)));
+ connect( m_winmodule, TQ_SIGNAL( windowAdded(WId) ),
+ TQ_SLOT( slotWindowAdded(WId) ) );
+ connect( m_winmodule, TQ_SIGNAL( windowRemoved(WId) ),
+ TQ_SLOT( slotWindowRemoved(WId) ) );
+ connect( m_winmodule, TQ_SIGNAL( windowChanged(WId,unsigned int) ),
+ TQ_SLOT( slotWindowChanged(WId,unsigned int) ) );
+ connect( m_winmodule, TQ_SIGNAL( stackingOrderChanged() ),
+ TQ_SLOT( slotStackingOrderChanged() ) );
+ connect( m_winmodule, TQ_SIGNAL( desktopNamesChanged() ),
+ TQ_SLOT( slotDesktopNamesChanged() ) );
+ connect( m_winmodule, TQ_SIGNAL( numberOfDesktopsChanged(int) ),
+ TQ_SLOT( slotNumberOfDesktopsChanged(int) ) );
+ connect( m_winmodule, TQ_SIGNAL( currentDesktopChanged(int)),
+ TQ_SLOT( slotCurrentDesktopChanged(int) ) );
+ connect(kapp, TQ_SIGNAL(backgroundChanged(int)),
+ TQ_SLOT(slotBackgroundChanged(int)));
TQFont defFont(TDEGlobalSettings::generalFont().family(), 10, TQFont::Bold);
defFont = cfg->readFontEntry("Font", &defFont);
setFont(defFont);
- m_prefs_action = KStdAction::preferences(this, TQT_SLOT(configureDialog()), parent->actionCollection());
- m_quit_action = KStdAction::quit(kapp, TQT_SLOT(quit()), parent->actionCollection());
+ m_prefs_action = KStdAction::preferences(this, TQ_SLOT(configureDialog()), parent->actionCollection());
+ m_quit_action = KStdAction::quit(kapp, TQ_SLOT(quit()), parent->actionCollection());
updateLayout();
}
@@ -323,13 +323,13 @@ void KPager::showPopupMenu( WId wid, TQPoint pos)
m_mnu->insertTitle( TQString::fromUtf8("KPager"), 1);
m_mnu->setCheckable(true);
- connect(m_mnu, TQT_SIGNAL(aboutToShow()), TQT_SLOT(clientPopupAboutToShow()));
- connect(m_mnu, TQT_SIGNAL(activated(int)), TQT_SLOT(clientPopupActivated(int)));
+ connect(m_mnu, TQ_SIGNAL(aboutToShow()), TQ_SLOT(clientPopupAboutToShow()));
+ connect(m_mnu, TQ_SIGNAL(activated(int)), TQ_SLOT(clientPopupActivated(int)));
m_dmnu = new TQPopupMenu(m_mnu);
m_dmnu->setCheckable(true);
- connect(m_dmnu, TQT_SIGNAL(aboutToShow()), TQT_SLOT(desktopPopupAboutToShow()));
- connect(m_dmnu, TQT_SIGNAL(activated(int)), TQT_SLOT(sendToDesktop(int)));
+ connect(m_dmnu, TQ_SIGNAL(aboutToShow()), TQ_SLOT(desktopPopupAboutToShow()));
+ connect(m_dmnu, TQ_SIGNAL(activated(int)), TQ_SLOT(sendToDesktop(int)));
m_mnu->insertItem( i18n("Mi&nimize"), IconifyOp );
m_mnu->insertItem( i18n("Ma&ximize"), MaximizeOp );