You are not logged in.

Search results

Search results 1-20 of 31.

Wednesday, July 27th 2005, 1:25pm

Author: Latem

Clipboard headaches

Hmm, I am not sure. You may be aware of this, but you lose clipboard data if you copy from an app and then close it. So if you are doing this: copy text in app A, close app A, try to paste into app B; and that is not working than that is expected behaviour. If you keep app A open, then it should work. Otherwise, I don't know what could be the problem. Sorry. Latem

Monday, July 25th 2005, 10:49pm

Author: Latem

how to delete class?

But all the documentation is there as well. So yea, the tabs on the right are important. Latem

Monday, July 25th 2005, 6:37pm

Author: Latem

how to delete class?

Are you using KDevelop? One sure way of deleting a class is to remove it in the automake manager. So just go to the automake manager on the right, and in the sources delete the .cpp file (check the checkbox to actually delete the file), and same for the header (also check the checkbox). With this method you will not have to mess around with any makefiles, or with the project file. At worst, you may have to do redo automake and configure. However, you will have to manually remove all the #include...

Monday, July 25th 2005, 12:43pm

Author: Latem

KDevelop and gui

It's usually on the right hand side the bottom tab. Like You usually have documentation, code snippets, and then automake manager. Here's a screenshot: http://www.kdevelop.org/graphics/screens…ubclassing1.png Latem

Wednesday, June 29th 2005, 12:55pm

Author: Latem

Help Please - KDevelop

AFAIK, by defualt I dont think KDevelop has "universal" code completeion like VS where it acts on all the libraries you are using. I think it only acts on your stuff. So if you do Source code 1 2 QString str; str. You will not get a menu for all the QString members. However lets say you make MyWidget class, and you do: Source code 1 2 MyWidget widget; widget. You will get all the MyWidget members in a dropdown menu. That's how it works for me. Looking at the KDevelop FAQ there seems to be a way ...

Friday, June 24th 2005, 12:54am

Author: Latem

Support for XUrgencyHint

If I understand what you want correctly, I think you want to flash the taskbar entry of a perticular window. Then, I think you can use NETWinInfo::setState() method. NETWinInfo is in kdecore. I think you would use it something like this: Source code 1 2 NETWinInfo info( qt_xdisplay(), winId, qt_xrootwin(), 0 ); info.setState( NET::DemandsAttention ); At least that's how they use it in KWin.cpp. To make it so it's timed, create a timer, or do a one shot timer, and on timeout, do the same thing bu...

Tuesday, June 21st 2005, 2:44pm

Author: Latem

A few consmetic KDE issues

Hi. I just upgraded from Mandrake 10.1, to Mandriva LE 2005 (soon to be Mandrivis? ). It has KDE 3.3.2 I just have a few questions about some desktop issues. 1. Is it possible for Konqueror to preview and open .svgz files? It knows about them, but it just displays the "svgz" icon. I turned on the previews for Scallable Vector Graphics both in the Preview menu of Konqueror, and in KCC. When I double click on a svgz file, it gives an XML parse error, as if it was trying to open it as a webpage. Al...

Tuesday, June 21st 2005, 2:26pm

Author: Latem

KIO::listRecursive is giving me headhake

Are you linking with -lkio. If you are doing it from KDevelop in the make target options, under the Libraries tag, in "Link libraries outside the project (LDADD)", you can add $(LIB_KIO). That's all I can think of for now. Latem

Thursday, June 16th 2005, 10:18pm

Author: Latem

cant link to kdelibs(partly)

Just in case, if you are doing it from KDevelop in the make target options, under the Libraries tag in "Link libraries outside the project (LDADD)", you can add $(LIB_KIO). Latem

Thursday, June 16th 2005, 5:44pm

Author: Latem

cant link to kdelibs(partly)

You need -lkdeio or something like that (forgot the exact string) for linking with KIO. I cant check it at work here. If you are using this from KDevelop, then you can right click on your target on the right, and in the properties add to the libraries KIO. I'll be able to double check the details when I get home. But it's either -lkio, or -lkdeio, or something similar. Latem

Monday, May 30th 2005, 9:23pm

Author: Latem

Load parts w/o install

Ok setting KDEDIRS worked. Thanks. Latem

Monday, May 30th 2005, 5:09pm

Author: Latem

Load parts w/o install

Nope I didn't do that. And that makes sense. I'll try it when I get home. But just so I know for sure, is the variable name exactly "KDEDIR" or "KDEDIRS"? Thanks, Latem

Friday, May 27th 2005, 11:05pm

Author: Latem

Load parts w/o install

Thanks for the reply. I am using KDE 3.2.3. I tried the --prefix suggestion, but w/o success. I did: Quoted ./configure --prefix=/home/me/Documents/Code/kapp/bin make make install Everything built fine. In the bin directory, there was now a "bin" directory, a "lib" directory (with kde3 directory in it, and library files in there), and a "share" directory with bunch of other folders for docs, images, etc... However, when I ran the binary in the bin directory, I still got the error message. Maybe ...

Thursday, May 26th 2005, 1:35am

Author: Latem

Load parts w/o install

Hello, if you have like a standard kde KParts application (for example the result of "Application Framework (KParts)" wizard in KDevelop), is there any way of getting the application running, and the app's kpart loaded properly, without doing make install. I am inclined you should be able to do this by adding to KDEDIR env variable, but I couldn't get it to work. For example, if I add this to my .bash_profile Quoted KDEDIR=$KDEDIR:/home/me/Documents/Code/kapp/debug/src export KDEDIR that is wher...

Wednesday, May 4th 2005, 9:38pm

Author: Latem

KDoubleSpinBox problem

Yup, you're right its a bug. http://bugs.kde.org/show_bug.cgi?id=89060 It was fixed in the 1.73 version of the file: http://webcvs.kde.org/kdelibs/kdeui/knum…r1=1.72&r2=1.73 Latem

Wednesday, May 4th 2005, 3:19pm

Author: Latem

KDoubleSpinBox problem

hmm, I have KDE 3.2.3 too, with MDK 10.1 though. I'll take a look at my sources and see if there is anything different. Maybe I am missing something, I still dont understand why would that slot be private? Private members in a class can only be accessed by member functions and friends of that class. The whole point of private members is that derived classes do not get access to them. Maybe the base class' slot is connected, and the derived class' slot is never connected to the signal, or somethi...

Wednesday, May 4th 2005, 3:10am

Author: Latem

KDoubleSpinBox problem

hmm that is weird. the slider doesnt move either i gather? than the connection isnt being made, or the slot isnt being called for some reason. If you are looking from the terminal than you should see the output from Qt that says cannot connect slots or whatever Qt says when it cant connect the slots. In that case it should give an error or warning. If it doesn't then it means the signal and slots are connected, but either the signal isn't emitted, or the slot is not called? which is weird. I ass...

Saturday, October 16th 2004, 2:58am

Author: Latem

Closing KAplication

Shouldn't this work? Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 int main(int argc, char **argv) { ..... KApplication app; testApp *mainWin = 0; KFileDialog* openDialog; if (openDialog->getOpenFileName(":cfg","*") != QString::null) { mainWin = new testApp(); app.setMainWidget( mainWin ); optionForm *opt; opt = new optionForm(mainWin); mainWin->show(); mainWin->addPage(opt,"prvi"); mainWin->showPage(opt); return app.exec(); } else return 0; } I think that shou...

Thursday, September 30th 2004, 2:25am

Author: Latem

Kdevelop crashes!!!

I use ext3, which as far as I know is a journaling system. I've never had any problems w/ crashes and such with my current os, Mandrake 10. All such issues I've experienced with Rad Hat 8, and I don't know what FS I've used with that. I don't fully understand what journaling is, and I can't quite get it from a few sites I just searched. How does that protect in the the situation like the one I mentioned, with temporary files. For example PVM uses that file (I think it's called pvmd.500), and it ...

Tuesday, September 28th 2004, 9:58pm

Author: Latem

Kdevelop crashes!!!

Quoted due to this problem with kdevelop I learned that Linux is very much vulnerable to the power breakdowns That's kinda true. IMHO some Linux apps do rely on intermediate or temporary files too much. It usually isn't a big deal if you know what file in question is the issue, but it's not easy to find out that detail. For example I used to work with PVM, and we had a power failure once or twice while it was running, and upon reboot PVM would not work at all, and spit a lot of error messages. ...