From: Karai C. <ck...@us...> - 2006-03-13 11:02:21
|
Update of /cvsroot/krusader/krusader_kde3/krusader/Panel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12323/krusader_kde3/krusader/Panel Modified Files: listpanel.cpp listpanel.h Log Message: ADDED: media button Index: listpanel.h =================================================================== RCS file: /cvsroot/krusader/krusader_kde3/krusader/Panel/listpanel.h,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** listpanel.h 13 Jun 2005 22:56:34 -0000 1.47 --- listpanel.h 13 Mar 2006 11:02:12 -0000 1.48 *************** *** 67,70 **** --- 67,71 ---- class DirHistoryButton; class DirHistoryQueue; + class MediaButton; class PanelPopup; class SyncBrowseButton; *************** *** 177,180 **** --- 178,182 ---- DirHistoryQueue* dirHistoryQueue; DirHistoryButton* historyButton; + MediaButton *mediaButton; SyncBrowseButton *syncBrowseButton; KPushButton *inlineRefreshCancelButton; Index: listpanel.cpp =================================================================== RCS file: /cvsroot/krusader/krusader_kde3/krusader/Panel/listpanel.cpp,v retrieving revision 1.158 retrieving revision 1.159 diff -C2 -d -r1.158 -r1.159 *** listpanel.cpp 14 Feb 2006 14:36:32 -0000 1.158 --- listpanel.cpp 13 Mar 2006 11:02:12 -0000 1.159 *************** *** 91,94 **** --- 91,95 ---- #include "../GUI/dirhistorybutton.h" #include "../GUI/dirhistoryqueue.h" + #include "../GUI/mediabutton.h" #include "../GUI/syncbrowsebutton.h" #include "../krservices.h" *************** *** 118,121 **** --- 119,126 ---- layout = new QGridLayout( this, 3, 3 ); + mediaButton = new MediaButton( this, "mediaButton" ); + connect( mediaButton, SIGNAL( pressed() ), this, SLOT( slotFocusOnMe() ) ); + connect( mediaButton, SIGNAL( openUrl( const KURL& ) ), func, SLOT( openUrl( const KURL& ) ) ); + status = new KrSqueezedTextLabel( this ); krConfig->setGroup( "Look&Feel" ); *************** *** 312,323 **** // finish the layout ! layout->addMultiCellWidget( hbox, 0, 0, 0, 2 ); ! layout->addWidget( status, 1, 0 ); ! layout->addWidget( historyButton, 1, 1 ); ! layout->addWidget( bookmarksButton, 1, 2 ); ! layout->addMultiCellWidget( splt, 2, 2, 0, 2 ); ! layout->addMultiCellWidget( quickSearch, 3, 3, 0, 2 ); quickSearch->hide(); ! layout->addMultiCellLayout( totalsLayout, 4, 4, 0, 2 ); //filter = ALL; } --- 317,329 ---- // finish the layout ! layout->addMultiCellWidget( hbox, 0, 0, 0, 3 ); ! layout->addWidget( mediaButton, 1, 0 ); ! layout->addWidget( status, 1, 1 ); ! layout->addWidget( historyButton, 1, 2 ); ! layout->addWidget( bookmarksButton, 1, 3 ); ! layout->addMultiCellWidget( splt, 2, 2, 0, 3 ); ! layout->addMultiCellWidget( quickSearch, 3, 3, 0, 3 ); quickSearch->hide(); ! layout->addMultiCellLayout( totalsLayout, 4, 4, 0, 3 ); //filter = ALL; } |