From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp | 10 +++++----- certmanager/kwatchgnupg/kwatchgnupgmainwin.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'certmanager/kwatchgnupg') diff --git a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp index 6dbca9828..729492547 100644 --- a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp +++ b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp @@ -59,7 +59,7 @@ #define WATCHGNUPGSOCKET ( TQDir::home().canonicalPath() + "/.gnupg/log-socket") KWatchGnuPGMainWindow::KWatchGnuPGMainWindow( TQWidget* parent, const char* name ) - : KMainWindow( parent, name, WType_TopLevel ), mConfig(0) + : TDEMainWindow( parent, name, WType_TopLevel ), mConfig(0) { createActions(); createGUI(); @@ -95,7 +95,7 @@ void KWatchGnuPGMainWindow::slotClear() void KWatchGnuPGMainWindow::createActions() { - (void)new KAction( i18n("C&lear History"), "history_clear", CTRL+Key_L, + (void)new TDEAction( i18n("C&lear History"), "history_clear", CTRL+Key_L, TQT_TQOBJECT(this), TQT_SLOT( slotClear() ), actionCollection(), "clear_log" ); (void)KStdAction::saveAs( TQT_TQOBJECT(this), TQT_SLOT(slotSaveAs()), actionCollection() ); @@ -106,7 +106,7 @@ void KWatchGnuPGMainWindow::createActions() (void)KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(slotConfigureToolbars()), actionCollection()); #if 0 - (void)new KAction( i18n("Configure KWatchGnuPG..."), TQString::fromLatin1("configure"), + (void)new TDEAction( i18n("Configure KWatchGnuPG..."), TQString::fromLatin1("configure"), 0, this, TQT_SLOT( slotConfigure() ), actionCollection(), "configure" ); #endif @@ -224,7 +224,7 @@ void KWatchGnuPGMainWindow::slotAckRead() { void KWatchGnuPGMainWindow::show() { mSysTray->setAttention(false); - KMainWindow::show(); + TDEMainWindow::show(); } void KWatchGnuPGMainWindow::slotSaveAs() @@ -286,7 +286,7 @@ bool KWatchGnuPGMainWindow::queryClose() hide(); return false; } - return KMainWindow::queryClose(); + return TDEMainWindow::queryClose(); } #include "kwatchgnupgmainwin.moc" diff --git a/certmanager/kwatchgnupg/kwatchgnupgmainwin.h b/certmanager/kwatchgnupg/kwatchgnupgmainwin.h index 01a5f1239..9b6b4cd5f 100644 --- a/certmanager/kwatchgnupg/kwatchgnupgmainwin.h +++ b/certmanager/kwatchgnupg/kwatchgnupgmainwin.h @@ -40,7 +40,7 @@ class KWatchGnuPGConfig; class KProcIO; class TQTextEdit; -class KWatchGnuPGMainWindow : public KMainWindow { +class KWatchGnuPGMainWindow : public TDEMainWindow { Q_OBJECT public: -- cgit v1.2.1