summaryrefslogtreecommitdiffstats
path: root/src/libgui/log_view.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-29 16:42:37 +0900
committerMichele Calgaro <[email protected]>2023-12-29 16:48:53 +0900
commitc679361a50aee162491e7195f2bcfdbbf341dde5 (patch)
treec8ff90ba1810054b7e53a79649b0e33a0937e74f /src/libgui/log_view.cpp
parenta8207be921513da0ccccf41e36e056736c2b8457 (diff)
downloadpiklab-c679361a50aee162491e7195f2bcfdbbf341dde5.tar.gz
piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/libgui/log_view.cpp')
-rw-r--r--src/libgui/log_view.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libgui/log_view.cpp b/src/libgui/log_view.cpp
index 3c3d75c..6365f51 100644
--- a/src/libgui/log_view.cpp
+++ b/src/libgui/log_view.cpp
@@ -77,18 +77,18 @@ TQPopupMenu *Log::Widget::createPopupMenu(const TQPoint &pos)
_popup = TQTextEdit::createPopupMenu(pos);
TDEIconLoader loader;
TQIconSet iset = loader.loadIconSet("document-save", TDEIcon::Small, 0);
- _popup->insertItem(iset, "Save As...", this, TQT_SLOT(saveAs()));
+ _popup->insertItem(iset, "Save As...", this, TQ_SLOT(saveAs()));
iset = loader.loadIconSet("window-close", TDEIcon::Small, 0);
- _popup->insertItem(iset, "Clear", this, TQT_SLOT(clear()));
+ _popup->insertItem(iset, "Clear", this, TQ_SLOT(clear()));
_popup->insertSeparator();
FOR_EACH(DebugLevel, level) {
_id[level.type()] = _popup->insertItem(level.label());
_popup->setItemChecked(_id[level.type()], _debugLevel==level);
}
_popup->insertSeparator();
- int id = _popup->insertItem(i18n("Output in console"), this, TQT_SLOT(toggleConsoleOutput()));
+ int id = _popup->insertItem(i18n("Output in console"), this, TQ_SLOT(toggleConsoleOutput()));
_popup->setItemChecked(id, GlobalConfig::logOutputType()==GuiConsole);
- connect(_popup, TQT_SIGNAL(activated(int)), TQT_SLOT(toggleVisible(int)));
+ connect(_popup, TQ_SIGNAL(activated(int)), TQ_SLOT(toggleVisible(int)));
return _popup;
}