~ubuntu-branches/ubuntu/hardy/krusader/hardy

« back to all changes in this revision

Viewing changes to krusader/UserAction/useractionpopupmenu.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Angel Ramos
  • Date: 2004-12-30 16:18:26 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041230161826-wx99gkdypyalazpv
Tags: 1.51-1
* New upstream release (Closes: #280037, #287015).
* Moved from section utils to kde (Closes: #286748).
* Renamed dk.po to da.po (Closes: #269414).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// C++ Implementation: UserActionPopupMenu
 
3
//
 
4
// Description: 
 
5
//
 
6
//
 
7
// Author: Jonas B�r (C) 2004
 
8
//
 
9
// Copyright: See COPYING file that comes with this distribution
 
10
//
 
11
//
 
12
 
 
13
#include "useractionpopupmenu.h"
 
14
 
 
15
#include <kurl.h>
 
16
 
 
17
#include "../krusader.h"
 
18
#include "useraction.h"
 
19
#include "kraction.h"
 
20
 
 
21
UserActionPopupMenu::UserActionPopupMenu( KURL currentURL, QWidget *parent ) : KPopupMenu( parent, "useraction popupmenu" ) {
 
22
   for ( UserAction::KrActionList::iterator it = krUserAction->actionList()->begin(); it != krUserAction->actionList()->end(); ++it )
 
23
      if ( (*it)->isAvailable( currentURL ) )
 
24
         (*it)->plug( this );
 
25
}
 
 
b'\\ No newline at end of file'