summaryrefslogtreecommitdiffstats
path: root/kplato/kptpart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:30:32 +0900
committerMichele Calgaro <[email protected]>2024-01-13 20:22:52 +0900
commite1b37ac1936f81994a2c1aa2778298fbc757531f (patch)
tree2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kplato/kptpart.cpp
parentd08f80f854355e446d1c6be0eb50166646f7f291 (diff)
downloadkoffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz
koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kplato/kptpart.cpp')
-rw-r--r--kplato/kptpart.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptpart.cpp b/kplato/kptpart.cpp
index 53ed107f..ddebf0f0 100644
--- a/kplato/kptpart.cpp
+++ b/kplato/kptpart.cpp
@@ -67,13 +67,13 @@ Part::Part(TQWidget *parentWidget, const char *widgetName,
delete m_project;
m_project = new Project(); // after config is loaded
- connect(m_commandHistory, TQT_SIGNAL(commandExecuted()), TQT_SLOT(slotCommandExecuted()));
- connect(m_commandHistory, TQT_SIGNAL(documentRestored()), TQT_SLOT(slotDocumentRestored()));
+ connect(m_commandHistory, TQ_SIGNAL(commandExecuted()), TQ_SLOT(slotCommandExecuted()));
+ connect(m_commandHistory, TQ_SIGNAL(documentRestored()), TQ_SLOT(slotDocumentRestored()));
//FIXME the following is really dirty, we should make KPlato::Context a real class
// with getter and setter and signals when content changes, thus we can keep track
TQTimer* timer = new TQTimer(this,"context update timer");
- connect(timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(slotCopyContextFromView()));
+ connect(timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(slotCopyContextFromView()));
timer->start(500);
}
@@ -147,7 +147,7 @@ bool Part::initDoc(InitDocFlags flags, TQWidget* parentWidget) {
KoView *Part::createViewInstance(TQWidget *parent, const char *name) {
m_view = new View(this, parent, name);
- connect(m_view,TQT_SIGNAL(destroyed()),this,TQT_SLOT(slotViewDestroyed()));
+ connect(m_view,TQ_SIGNAL(destroyed()),this,TQ_SLOT(slotViewDestroyed()));
// If there is a project dialog this should be deleted so it will
// use the m_view as parent. If the dialog will be needed again,