Search results
Search results 1-20 of 31.
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
But all the documentation is there as well. So yea, the tabs on the right are important. Latem
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...
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
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 ...
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...
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...
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
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
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
Ok setting KDEDIRS worked. Thanks. Latem
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
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 ...
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...
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
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...
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...
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...
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 ...
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. ...