summaryrefslogtreecommitdiffstats
path: root/ark/mainwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 19:14:52 +0900
commit83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2 (patch)
tree3f06640cc30ddc08f2603471e4b66a2b108e3eae /ark/mainwindow.cpp
parentaa69f1c2ffda0e4e0339c1686a9ff4b3d00f4ac7 (diff)
downloadtdeutils-83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2.tar.gz
tdeutils-83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ark/mainwindow.cpp')
-rw-r--r--ark/mainwindow.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ark/mainwindow.cpp b/ark/mainwindow.cpp
index 4726989..255be83 100644
--- a/ark/mainwindow.cpp
+++ b/ark/mainwindow.cpp
@@ -49,7 +49,7 @@ MainWindow::MainWindow( TQWidget * /*parent*/, const char *name )
: KParts::MainWindow(), progressDialog( 0 )
{
setXMLFile( "arkui.rc" );
- m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadWritePart>( "libarkpart", this, name, TQT_TQOBJECT(this), "ArkPart");
+ m_part = KParts::ComponentFactory::createPartInstanceFromLibrary<KParts::ReadWritePart>( "libarkpart", this, name, this, "ArkPart");
if (m_part )
{
//Since most of the functionality is still in ArkWidget:
@@ -109,24 +109,24 @@ MainWindow::~MainWindow()
void
MainWindow::setupActions()
{
- newWindowAction = new TDEAction(i18n("New &Window"), "window-new", TDEShortcut(), TQT_TQOBJECT(this),
+ newWindowAction = new TDEAction(i18n("New &Window"), "window-new", TDEShortcut(), this,
TQT_SLOT(file_newWindow()), actionCollection(), "new_window");
- newArchAction = KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(file_new()), actionCollection());
- openAction = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(file_open()), actionCollection());
+ newArchAction = KStdAction::openNew(this, TQT_SLOT(file_new()), actionCollection());
+ openAction = KStdAction::open(this, TQT_SLOT(file_open()), actionCollection());
- reloadAction = new TDEAction(i18n("Re&load"), "reload", TDEStdAccel::shortcut( TDEStdAccel::Reload ), TQT_TQOBJECT(this),
+ reloadAction = new TDEAction(i18n("Re&load"), "reload", TDEStdAccel::shortcut( TDEStdAccel::Reload ), this,
TQT_SLOT(file_reload()), actionCollection(), "reload_arch");
- closeAction = KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(file_close()), actionCollection(), "file_close");
+ closeAction = KStdAction::close(this, TQT_SLOT(file_close()), actionCollection(), "file_close");
- recent = KStdAction::openRecent(TQT_TQOBJECT(this), TQT_SLOT(openURL(const KURL&)), actionCollection());
+ recent = KStdAction::openRecent(this, TQT_SLOT(openURL(const KURL&)), actionCollection());
recent->loadEntries(kapp->config());
createStandardStatusBarAction();
- KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(window_close()), actionCollection());
- KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(editToolbars()), actionCollection());
- KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT( slotConfigureKeyBindings()), actionCollection());
+ KStdAction::quit(this, TQT_SLOT(window_close()), actionCollection());
+ KStdAction::configureToolbars(this, TQT_SLOT(editToolbars()), actionCollection());
+ KStdAction::keyBindings(this, TQT_SLOT( slotConfigureKeyBindings()), actionCollection());
openAction->setEnabled( true );
recent->setEnabled( true );