Commit 9290caad authored by David Faure's avatar David Faure
Browse files

Ported the kdedmodule, but the rest of konsole doesn't compile due to highly dynamic use of DCOP.

I didn't dare use the axe on it all, better if the maintainer ports it to DBUS properly ;)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=552877
parent cc88019e
......@@ -99,8 +99,8 @@ void KWrited::contextMenuEvent(QContextMenuEvent * e)
delete menu;
}
KWritedModule::KWritedModule( const QString& obj )
: KDEDModule( obj )
KWritedModule::KWritedModule()
: KDEDModule()
{
KGlobal::locale()->insertCatalog("konsole");
pro = new KWrited;
......@@ -113,9 +113,9 @@ KWritedModule::~KWritedModule()
}
extern "C"
KDE_EXPORT KDEDModule* create_kwrited( const QString& obj )
KDE_EXPORT KDEDModule* create_kwrited()
{
return new KWritedModule( obj );
return new KWritedModule();
}
#include "kwrited.moc"
......@@ -20,7 +20,6 @@ private Q_SLOTS:
void block_in(int fd);
void clearText(void);
private:
Q3TextEdit* wid;
KPty* pty;
};
......@@ -28,7 +27,7 @@ class KWritedModule : public KDEDModule
{
Q_OBJECT
public:
KWritedModule( const QString& obj );
KWritedModule();
~KWritedModule();
private:
KWrited* pro;
......
......@@ -54,7 +54,7 @@ TESession::TESession(TEWidget* _te, const QString &_pgm, const QStringList & _ar
{
(void)new SessionAdaptor(this);
QDBus::sessionBus().registerObject(_sessionId.toLatin1(), this);
QDBus::sessionBus().busService()->requestName("org.kde.konsole", /*flags=*/0);
QDBus::sessionBus().busService()->requestName("org.kde.konsole", /*flags=*/0);
//kDebug(1211)<<"TESession ctor() new TEPty"<<endl;
sh = new TEPty();
te = _te;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment