KAction / QAction
This commit is contained in:
		
					parent
					
						
							
								2d8d230170
							
						
					
				
			
			
				commit
				
					
						975053753b
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -24,7 +24,7 @@
 | 
				
			||||||
#include <KConfigDialog>
 | 
					#include <KConfigDialog>
 | 
				
			||||||
#include <KStatusBar>
 | 
					#include <KStatusBar>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <KAction>
 | 
					#include <QAction>
 | 
				
			||||||
#include <KActionCollection>
 | 
					#include <KActionCollection>
 | 
				
			||||||
#include <KStandardAction>
 | 
					#include <KStandardAction>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -66,12 +66,12 @@ namespace Danbooru {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    KAction* connectAction = new KAction(
 | 
					    QAction * connectAction = new QAction(
 | 
				
			||||||
        KIcon(QLatin1String("document-open-remote")),
 | 
					        KIcon(QLatin1String("document-open-remote")),
 | 
				
			||||||
        i18n("Connect..."),
 | 
					        i18n("Connect..."),
 | 
				
			||||||
        this);
 | 
					        this);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    KAction* fetchAction = new KAction(KIcon(QLatin1String("download")),
 | 
					    QAction * fetchAction = new QAction(KIcon(QLatin1String("download")),
 | 
				
			||||||
                                 i18n("Download"), this);
 | 
					                                 i18n("Download"), this);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    connectAction->setShortcut(KStandardShortcut::open());
 | 
					    connectAction->setShortcut(KStandardShortcut::open());
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue