Questions tagged [kde4]

45 questions
0
votes
4 answers

Regexp to match only n occurrences of a char in a string

I have a string like 2005:10:29 12:23:53 and I wish to replace only first two occurrences of : with - Expected result 2005-10-29 12:23:53 EDIT: I need this regexp in KDE's krename tool, where I can't edit/format the original…
kfl62
  • 2,434
  • 4
  • 29
  • 40
0
votes
2 answers

Where is the prefilled user name on KDE login screen stored

We are heavily using VirtualBox on our developer workstations. Since we share the images with other developers quite often, I have tried to automate this process as much as possible (cleaning up ap-get cache, removing tmp and log files...). We are…
Adrian B.
  • 4,333
  • 1
  • 24
  • 38
0
votes
1 answer

Setting size for Plasma::PushButton?

I'm trying to implement a simple KDE plasma plugin , which contains two PushButtons and a KLineEdit , But it seems KLineEdit and the PushButton has a minimum size , if the panel doesn't have enough height , some parts will disappear on the panel ,…
daisy
  • 22,498
  • 29
  • 129
  • 265
0
votes
1 answer

opensuse KDE 11.x - How to edit $HOME/.bashrc

Just install opensuse 11.x kde into my Lennovo X60, kick out the ms window. The must function, input Chinese can't work. When start IBus, it shows following message. How to edit $HOME/.bashrc? Actually I don't know where is $HOME. Thanks. Forgive my…
Weiyan
  • 1,116
  • 3
  • 14
  • 25
0
votes
2 answers

Is there a KDE systray epplet for Enlightment?

Enlightenment DR16 is packaged with openSUSE 11.1 but it's a bit painful to use with KDE apps as there's no obvious (on the Enlightenment site, google etc.) way to provide a systray for KDE apps that require one (e.g., ktorrent). Anyone know of a…
edoloughlin
  • 5,821
  • 4
  • 32
  • 61
0
votes
1 answer

Trying to add to a toolbar and menubar in KDevelop 4

How do I add to a toolbar or menubar for a KDevelop 4 plugin. I know I need to use a .rc file but I'm not sure the exact syntax of that xml file and also what I need to put in my code in order for KDevelop to show a toolbar. void…
JC2
  • 141
  • 1
  • 4
  • 11
0
votes
0 answers

How to fix missing JPEG support in Qt 4.8 under Linux KDE4

[UPDATE] Upgrading to python 2.7.6 and Qt 4.8.7 appears to make this problem go away and JPEG support is provided. Whereas before creating a QPixmap object using a path to a .jpeg/.jpg file would produce an object for which isNull() was always True,…
0
votes
1 answer

(KDE4) Plasma::TextEdit.nativeWidget()->setHtml() does not accept a colors

I have a plasmoid-application which utilises an objects of the Plasma::TextEdit class. And now I could to colorize a text in this objects. I had tried to do this: m_text->nativeWidget()->setHtml("some text
other…
Serge Roussak
  • 1,731
  • 1
  • 14
  • 28
0
votes
3 answers

How to change qtconfig option in 'cmake' to qtconfig4?

While configuring krita, I am getting a cmake error saying Unable to compile a basic Qt application. Qt has not been found correctly. I think the reason is there is a conflict between the QT5 and QT4 dev packages. What to…
bittterbotter
  • 445
  • 6
  • 18
0
votes
1 answer

In KDE4, how can I automatically tell which “Desktop” a Konsole terminal is in?

I was looking for this and found a question and answer for KDE3; I figured more people will be interested in the answer for KDE4 as time passes (posting here just so I can also post the answer...)
Shai Berger
  • 2,963
  • 1
  • 20
  • 14
0
votes
1 answer

How to make Qt::Tool not stay on top of the main window

I have problem with Qt::Tool flag. When I create new widget with Qt::Tool flag it appears on top of the main window. But when I switch back to main window and make it active the I still have the tool widget in front so it my main window is not fully…
Moomin
  • 1,846
  • 5
  • 29
  • 47
0
votes
0 answers

Spontaneous show of minimized window in Qt4 KDE

I'm working on a Qt4 application that shows some strange behavior when minimizing in KDE. As soon as I minimize the main window, it reopens immediately afterwards. This happens only in KDE. Other window managers like gnome, xfce or icewm work fine.…
mefiX
  • 1,702
  • 3
  • 24
  • 39
0
votes
1 answer

CMake: undefined reference when linking libraries to KDE4 lib

at the moment I am trying to create a shared library using kde4_add_library. Actually it does not matter if it is add_library or kde4_add_library but it seems that add_library makes no sense since it cannot handle classes with "Q_OBJECT" macros/moc…
Baradé
  • 1,290
  • 1
  • 15
  • 35
0
votes
1 answer

A way to download all of the required kde dependencies to start working on kde programming?

I've CentOS 6.4 which is running older version of Qt and possibly other such incompatible version components that makes it really difficult to start kde programming on the machine. Is there a way to download all of the dependencies in one go so…
user2252999
  • 183
  • 2
  • 10
0
votes
1 answer

Where can I find LinkGrammar libraries?

While compiling kdepim on CentOS 6.4, cmake can't find LinkGrammar libraries. Where should these libraries be found and installed? unix >cmake . ... ... -- Found Qt-Version 4.8.3 (using /usr/local/Trolltech/Qt-4.8.3/bin/qmake) -- Found X11:…
user2252999
  • 183
  • 2
  • 10
1 2
3