diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 13:10:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-14 13:34:26 +0900 |
commit | b0c86264e0cd10a0d3a47de3b05be453d9417bcd (patch) | |
tree | 7ae4535306d69dc4b55f68eae0a65298330ee610 /kuiviewer | |
parent | d859a5c1f439fe432dedde763e40b2dad9875354 (diff) | |
download | tdesdk-b0c86264e0cd10a0d3a47de3b05be453d9417bcd.tar.gz tdesdk-b0c86264e0cd10a0d3a47de3b05be453d9417bcd.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kuiviewer')
-rw-r--r-- | kuiviewer/kuiviewer.cpp | 4 | ||||
-rw-r--r-- | kuiviewer/kuiviewer_part.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kuiviewer/kuiviewer.cpp b/kuiviewer/kuiviewer.cpp index 00230f2a..e7f18950 100644 --- a/kuiviewer/kuiviewer.cpp +++ b/kuiviewer/kuiviewer.cpp @@ -97,8 +97,8 @@ void KUIViewer::load(const KURL& url) void KUIViewer::setupActions() { - KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection()); - KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); + KStdAction::open(this, TQ_SLOT(fileOpen()), actionCollection()); + KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection()); } void KUIViewer::saveProperties(TDEConfig* /*config*/) diff --git a/kuiviewer/kuiviewer_part.cpp b/kuiviewer/kuiviewer_part.cpp index c59e4c12..c74696cd 100644 --- a/kuiviewer/kuiviewer_part.cpp +++ b/kuiviewer/kuiviewer_part.cpp @@ -73,7 +73,7 @@ KUIViewerPart::KUIViewerPart( TQWidget *parentWidget, const char *widgetName, m_style = new TDEListAction( i18n("Style"), CTRL + Key_S, this, - TQT_SLOT(slotStyle(int)), + TQ_SLOT(slotStyle(int)), actionCollection(), "change_style"); m_style->setEditable(false); @@ -97,14 +97,14 @@ KUIViewerPart::KUIViewerPart( TQWidget *parentWidget, const char *widgetName, m_style->setToolTip(i18n("Set the current style to view.")); m_style->setMenuAccelsEnabled(true); - m_copy = KStdAction::copy(this, TQT_SLOT(slotGrab()), actionCollection()); + m_copy = KStdAction::copy(this, TQ_SLOT(slotGrab()), actionCollection()); updateActions(); // Commented out to fix warning (rich) // slot should probably be called saveAs() for consistency with // KParts::ReadWritePart BTW. -// KStdAction::saveAs(this, TQT_SLOT(slotSave()), actionCollection()); +// KStdAction::saveAs(this, TQ_SLOT(slotSave()), actionCollection()); } KUIViewerPart::~KUIViewerPart() |