Questions tagged [kdelibs]

The library API for KDE platform.

5 questions
2
votes
2 answers

QVariant and qRegisterMetaType question

I have a class Pkg and I need to use it under form of QVariant. At the end of my Pkg.h I have: Q_DECLARE_METATYPE(Pkg) and this does not give compile errors, but in my main.cpp I have to do: qRegisterMetaType("Pkg"); and this does not give…
JuanDeLosMuertos
  • 4,532
  • 15
  • 55
  • 87
2
votes
1 answer

How to build dolphin on Ubuntu 14.04.3 LTS (Trusty Tahr)

I am not a Linux pro, but I have a task to modify KDE app "dolphin" for home using (modify address bar navigation mechanism). I think, that it would easy, but still have no understanding how to do this. Days of tries led me to the solution, that I…
hioma
  • 61
  • 5
1
vote
2 answers

khtml library tutorials/guides?

I'm trying to use the khtml library, basically just the DOM html implementation from there, but I even failed to create a basic HTMLDocument from a file using load(), and when I tried to create a HTMLDOcument by mutating it via appendChild I get…
A. Novikov
  • 11
  • 1
0
votes
2 answers

How to load default settings with KConfig on kdelib?

I've a question about KConfig usage. I'm able to write and read settings in my .kde4/share/config/_appname_rc configuration file like that KConfig basicconf; KConfigGroup conf = KConfigGroup(basicconf.group("Settings")); …
Emilio
  • 3,901
  • 11
  • 44
  • 50
0
votes
2 answers

scrolling KTextEdit to start

I have a KTextEdit, filled with some text. When I put lots of text, the KTextEdit will be scrolled automatically to the end (obviously). My question is: how can I scroll to the start (viz to the first line of the KTextEdit) ?!?
JuanDeLosMuertos
  • 4,532
  • 15
  • 55
  • 87