Hi all,
could you please help a bit.
I try to iterate over resources in address book, but fail so far.
using namespace TDEABC;
AddressBook* kab = TDEABC::StdAddressBook::self(false);
TDEABC::StdAddressBook::setAutomaticSave(false);
TQPtrList<Resource> lit = kab->resources();
TQPtrListIterator<Resource> it( lit );
Resource *res;
while ( (res = it.current()) != 0 ) {
++it;
debug() << "SUB RES ID :" << res->identifier() << "\n";
}
but I get
std-test.cc: In function ‘int main(int, char**)’:
std-test.cc:72:38: error: invalid use of incomplete type ‘class
TDEABC::Resource’
debug() << "SUB RES ID :" << res->identifier() << "\n";
^
In file included from /opt/trinity/include/tdeabc/addressbook.h:29:0,
from /opt/trinity/include/tdeabc/stdaddressbook.h:24,
from std-test.cc:7:
/opt/trinity/include/tdeabc/addressee.h:45:7: error: forward declaration
of ‘class TDEABC::Resource’
class Resource;
^
In file included from /usr/include/tqt3/ntqstrlist.h:46:0,
from /usr/include/tqt3/ntqstringlist.h:47,
from /usr/include/tqt3/ntqcolor.h:46,
from /usr/include/tqt3/ntqpalette.h:46,
from /usr/include/tqt3/ntqwidget.h:48,
from /usr/include/tqt3/ntqdesktopwidget.h:43,
from /usr/include/tqt3/ntqapplication.h:45,
from /usr/include/tqt/tqapplication.h:33,
from /opt/trinity/include/tdeapplication.h:40,
from std-test.cc:3:
/usr/include/tqt3/ntqptrlist.h: In instantiation of ‘void
TQPtrList<type>::deleteItem(TQPtrCollection::Item) [with type =
TDEABC::Resource; TQPtrCollection::Item = void*]’:
std-test.cc:92:1: required from here
/usr/include/tqt3/ntqptrlist.h:153:21: warning: possible problem detected in
invocation of delete operator: [-Wdelete-incomplete]
if ( del_item ) delete (type *)d;
^
Hi,
I'm trying to find a compiled version of the docs but when I try this here
http://api.kde.org/3.5-api/
I find out that it is incomplete. Example: I try kdepim-apidocs/kaddressbook
Not Found
The requested URL /3.5-api/kdepim-apidocs/kaddressbook/html/classes.html was
not found on this server.
Apache Server at api.kde.org Port 80
Otherwise I should compile the docs from the source - correct?
Is there a procedure as I already pulled the pim sources from git?
Thanks in advance
I tried reinstall tdelibs14-trinity-dev and libtiff4-dev
just to find out that neither libtiff4 nor libtiff4-dev is installable.
How did I get it on my system?
is libtiff5 compatible?
thanks and regards
apt-get --reinstall install libtiff4-dev tdelibs14-trinity-dev
libtiff4:amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of libtiff4 is not possible, it cannot be downloaded.
Reinstallation of libtiff4-dev is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not
upgraded.
Need to get 0 B/6,151 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 373052 files and directories currently installed.)
Preparing to
unpack .../tdelibs14-trinity-dev_4%3a14.0.2-0debian8.0.0+0_amd64.deb ...
Unpacking tdelibs14-trinity-dev (4:14.0.2-0debian8.0.0+0) over
(4:14.0.2-0debian8.0.0+0) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up tdelibs14-trinity-dev (4:14.0.2-0debian8.0.0+0) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...
Hi
In a KNotesIface_stub.h file I find following in the header
/****************************************************************************
**
** DCOP Stub Implementation created by dcopidl2cpp from KNotesIface.kidl
**
** WARNING! All changes made in this file will be lost!
**
*****************************************************************************/
Inside the file (this is from old KDE opensync code) there is a lot of
QTString and similar which needs to be prepended with T.
So I am wondering where do we find the TQT style of the file, or how one is
suppose to create it... and in general what is that all about.
Someone has experience with it? Light in the dark?
I do not have too much time to dig in all that stuff and I have the feeling
that I need some guidance in TDE or at least the part that I am interested
in.
Can someone provide a summary on this specific case?
AFAIK DCOP is the successor of the CORBA from KDE1/2 responsible for
IPC/RPC ... and I don't know what they use today in >KDE4.
https://en.wikipedia.org/wiki/DCOPhttps://techbase.kde.org/Development/Architecture/DCOP
I'm familiar with serialization from the axis corner. So in theory the
knowledge is there.
The context is my attempt to build a TDE backend for syncevolution. I have
some experience in completeing Akonadi plugin for opensync in KDE4.
Now I've successfully created 42lines of test code to read my addressbook,
so trying to achieve the same for knote, which as far as I know is one of
the challenges.
On Mon, Jan 11, 2016 at 23:20 (+0900), Michele Calgaro wrote:
>>>So why is no pkg-config for tdecore and tdeui ? or how can I use cmake from within automake project to get what I
>>>need?
>>I have installed 14.0.[23] from slavecs repository on devuan and "pkg-config tqt" works as expected. In detail your
>>"/opt/trinity/include" and "/opt/trinity/lib/pkgconfig" does not exist on my system, but "/usr/include/tqt3" does.
>To the original poster (since I did not receive the original email,
>not the second time request). If you are using debian or ubuntu,
>the best way to build is to use the info in the tde-packagin repo
>which contains all the required info. If not, a good way is to look
>at the build log files of the nightly builds, which contains all the
>build options used for such distros. If you are using a different
>distro, you could probably reuse most of the options, if not all of
>them ;-)
For web-challenged people like me, can you point us in the direction
of where we can see the build logs?
Thanks.
Jim
Hi,
I asked already once but there was no answer.
How can I get the cflags and libs for TDE applications?
I read and followed this manual:
https://wiki.trinitydesktop.org/KApplication_template
I updated the code sample to use the new (r14) headers.
I then found out I had to do following
export PKG_CONFIG_PATH=/opt/trinity/lib/pkgconfig
c++ `pkg-config tqt --cflags` `pkg-config tqt --libs` test.cc -o test
but it was unsufficient. I had to change to following to be able to compile
c++ `pkg-config tqt --cflags` -I/opt/trinity/include \
`pkg-config tqt --libs` -L/opt/trinity/lib -ltdecore -ltdeui \
test.cc -o test
So why is no pkg-config for tdecore and tdeui ?
or how can I use cmake from within automake project to get what I need?
thanks
Hi all,
I am currently running Plasma 5 (KDE 5) on my desktop computer, and I find that Plasma 5 is capable of booting, from login to desktop, faster than TDE on the same machine. This computer is an humble Core 2 duo with 2gb of ram, probably from 2008 or so.
While this is great for KDE, it is not that great for TDE, because KDE is built on much heavier toolkit and frameworks than TDE. And TDE (with its KDE 3 past) was built to run well on P2-P3 computers. The thing is that even with much faster computers, it should have near instant boot time.
So, I don't know if there could be ways to re-organize TDE startup sequence, or maybe to prefetch so things in TDM. Maybe starting TDE modules in parallel could help?
May 2016 be a great year for you all!
-Alexandre
I'm embarking once again on my periodic quixotic quest to corral all ebuilds
(Gentoo packages) for Trinity and combine them into a usable overlay.
Is anyone else (Fat-Zer?) still working on this?
If not, does anyone know of any old overlays with substantial material that
isn't in the following?
https://github.com/serghei/gentoo-trinity-overlay/ (Serghei's--long dead)
https://github.com/Fat-Zer/trinity/ (Fat-Zer's--still on 3.5.13)
https://bitbucket.org/mgebert/gentoo-trinity (dropped by author as of July)
(plus the one I was working on with Roman back in 2011, for which I
ironically have the materials but not the URL)
In particular, I'm looking for better post-kde-sunset support for the
packages still building with autotools.
I keep hoping that someone else will take up the torch on this, but everyone
who's tried seems to lose interest within a year or two, so I'm reluctantly
going to give it another shot. The intention here is to:
1. collect existing materials in one location
2. do appropriate version bumps as new versions of Trinity come out
(I'll be automating this as much as I can)
3. try to get *something* into the official overlays list and the Gentoo
wiki, so that people at least know it's there (an unfun but necessary step)
4. centralize efforts so that people interested in working on this don't
get mired down in version-bumping old ebuilds
I lack the skills, time, and energy to create the substantial number of new
ebuilds needed for a complete overlay. If anyone else offers to pitch in and
help with this, I will be *ecstatic*. (Otherwise, the only way forward may
be to offer cash incentives.)
Of course, I may get nowhere at all (again), especially since I'm currently
rebuilding my test environment after the xorg-server and xorg-driver
packages somehow managed to desync. :(
E. Liddell