diff options
Diffstat (limited to 'keduca/keduca/keduca.cpp')
-rw-r--r-- | keduca/keduca/keduca.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keduca/keduca/keduca.cpp b/keduca/keduca/keduca.cpp index ed021225..04573545 100644 --- a/keduca/keduca/keduca.cpp +++ b/keduca/keduca/keduca.cpp @@ -36,7 +36,7 @@ Keduca::Keduca( TQWidget* parent, const char *name, WFlags f ) setXMLFile( "keducaui.rc" ); _part = KParts::ComponentFactory::createPartInstanceFromLibrary< KParts::ReadOnlyPart > - ( "libkeducapart", this, name, TQT_TQOBJECT(this), "KEducaPart" ); + ( "libkeducapart", this, name, this, "KEducaPart" ); if ( _part ) { @@ -63,12 +63,12 @@ Keduca::~Keduca() void Keduca::setupActions() { - KStdAction::open( TQT_TQOBJECT(this), TQT_SLOT( slotFileOpen() ), actionCollection() ); - (void)new TDEAction( i18n( "Open &Gallery..." ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT( slotGallery() ), + KStdAction::open( this, TQT_SLOT( slotFileOpen() ), actionCollection() ); + (void)new TDEAction( i18n( "Open &Gallery..." ), 0, 0, this, TQT_SLOT( slotGallery() ), actionCollection(), "open_gallery" ); - _recentFiles = KStdAction::openRecent(TQT_TQOBJECT(this), TQT_SLOT ( slotFileOpenURL(const KURL &) ), + _recentFiles = KStdAction::openRecent(this, TQT_SLOT ( slotFileOpenURL(const KURL &) ), actionCollection()); - KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT( quit() ), actionCollection()); + KStdAction::quit(kapp, TQT_SLOT( quit() ), actionCollection()); } void Keduca::slotFileOpen() |