[Psi-Devel] libpsi update

Justin Karneges justin-psi2 at affinix.com
Tue Nov 3 22:55:07 PST 2009


Today I moved more of the tool classes over from Psi.  Notably 
grepshortcutkeydlg is now grepshortcutkeydialog (for consistency with Qt 
naming), and can be found in the new libpsi/dialogs dir instead of 
libpsi/tools.

I should also mention here that the new groupchat browse window that I'm 
working on can be found in libpsi/widgets.  Psi does not use it yet, but it 
will eventually.  The window is being designed to serve the needs of both Psi 
and Barracuda, and does not depend on PsiAccount.  Network interactions occur 
through signals and slots, inspired by Swift's design.

If you are creating a new code, consider how it might fit into libpsi.  
Remember, the long-term goal is that libpsi shall contain almost all of the 
code for all of our clients combined.  At this time, libpsi is simply a 
toolbox with the following directory structure:

 libpsi/
   tools/        - small classes, each with their own dir, like psi/src/tools
   widgets/   - flat directory of widget/window classes
   dialogs/    - flat directory of dialog classes

I'm not sure if the widget/dialog distinction is all that interesting as part 
of the directory structure, but that's how it is for now.  I'm just sort of 
following Qt's own layout.

So, if you're creating code that could be classified as a "tool", a "widget", 
or a "dialog", then it belongs in libpsi.  Almost all other code belongs in 
libpsi as well, but I haven't decided how to categorize beyond those three 
things yet.  Contact me if you need help figuring out where to put your code.

-Justin


More information about the Psi-Devel mailing list