[Konsole-devel] question about KDE4 and konsole parts

Robert Knight robertknight at gmail.com
Sat Aug 25 17:06:53 UTC 2007


> but since QT4 do not provide an efficient class to
> print out messages as konsole does (QTextEdit is very slow)
> i must integrate my app with a konsole.

QTextEdit has an optimised mode for logging which can be enabled by
calling textEdit->setTextFormat( Qt::LogText )

Regards,
Robert.

On 24/08/07, Giacomo <delleceste at gmail.com> wrote:
> Sorry, I meant kdebase, not kdecore!
>
> Ok i will have a look at kate's terminal plugin then!
>
> Thank you very much!
>
> I usually program inside QT4 environment, but never
> wrote code integrating with kde.. but since QT4 do not
> provide an efficient class to print out messages as konsole does
> (QTextEdit is very slow) i must integrate my app with a konsole.
>
> Thanks again, giacomo
>
> Giacomo
>
> 2007/8/24, Robert Knight <robertknight at gmail.com>:
> > Hello Giacomo,
> >
> > > I have installed kdelibs (of KDE4), kdepimlibs and kdecore.
> >
> > I'm not sure what you mean by "kdecore", that is a library which is
> > part of kdelibs.  You need kdebase installed as well.
> >
> > I think the easiest option would be to look at the code for Kate's
> > terminal plugin, which can be found in:
> >
> > trunk/KDE/kdesdk/kate/plugins/konsole/
> >
> > Specifically, the KateConsole::loadConsoleIfNeeded() code in
> kateconsole.cpp
> >
> > Regards,
> > Robert.
> >
> >
> >
> > On 24/08/07, Giacomo <delleceste at gmail.com> wrote:
> > > Good morning.
> > >
> > > I would like to embed a Konsole in my QT4 application.
> > >
> > > More precisely, i would like to have a Konsole as a child of a QWidget
> > > inside my QT application (QMainWindow).
> > >
> > > I have installed kdelibs (of KDE4), kdepimlibs and kdecore.
> > >
> > > Can anyone tell me how to do this in QT4?
> > >
> > > The example in kde_terminal_interface.h does not work in QT-KDE4.
> > >
> > > Thanks for any suggestion.
> > >
> > > Giacomo Strangolino, Italy.
> > >
> > > --
> > > Giacomo S.
> > > http://www.giacomos.it
> > >
> > > - - - - - - - - - - - - - - - - - - - - - -
> > >
> > > IPFIREwall (http://www.giacomos.it/ipfire) viene presentato
> > > all'Universita` degli Studi di Udine, il 28 ottobre, in occasione del
> > > Linux Day 2006:
> > > http://iglu.cc.uniud.it/linuxday
> > >
> > > - - - - - - - - - - - - - - - - - - - - - -
> > >
> > >  . ''  `.
> > > :   :'    :
> > >  `.  ` '
> > >     `- Debian GNU/Linux -- The power of freedom
> > >         http://www.debian.org
> > > _______________________________________________
> > > konsole-devel mailing list
> > > konsole-devel at kde.org
> > > https://mail.kde.org/mailman/listinfo/konsole-devel
> > >
> > _______________________________________________
> > konsole-devel mailing list
> > konsole-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/konsole-devel
> >
>
>
> --
> Giacomo S.
> http://www.giacomos.it
>
> - - - - - - - - - - - - - - - - - - - - - -
>
> IPFIREwall (http://www.giacomos.it/ipfire) viene presentato
> all'Universita` degli Studi di Udine, il 28 ottobre, in occasione del
> Linux Day 2006:
> http://iglu.cc.uniud.it/linuxday
>
> - - - - - - - - - - - - - - - - - - - - - -
>
>  . ''  `.
> :   :'    :
>  `.  ` '
>     `- Debian GNU/Linux -- The power of freedom
>         http://www.debian.org
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel
>



More information about the konsole-devel mailing list