KPushButton -> QPushButton
This commit is contained in:
		
					parent
					
						
							
								d7fec181e2
							
						
					
				
			
			
				commit
				
					
						c32637cafa
					
				
			
		
					 2 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
					@ -34,7 +34,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// KDE
 | 
					// KDE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <KPushButton>
 | 
					#include <QPushButton>
 | 
				
			||||||
#include <KLocale>
 | 
					#include <KLocale>
 | 
				
			||||||
#include <KLocalizedString>
 | 
					#include <KLocalizedString>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -59,9 +59,9 @@ namespace Danbooru {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        m_buttonSize = qMax(sz.width(), sz.height());
 | 
					        m_buttonSize = qMax(sz.width(), sz.height());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        m_downloadButton =  new KPushButton(QIcon::fromTheme("download"),
 | 
					        m_downloadButton =  new QPushButton(QIcon::fromTheme("download"),
 | 
				
			||||||
                                            QString(), itemView);
 | 
					                                            QString(), itemView);
 | 
				
			||||||
        m_viewButton = new KPushButton(QIcon::fromTheme("view-preview"), QString(),
 | 
					        m_viewButton = new QPushButton(QIcon::fromTheme("view-preview"), QString(),
 | 
				
			||||||
                                             itemView);
 | 
					                                             itemView);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        m_downloadButton->hide();
 | 
					        m_downloadButton->hide();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,7 +35,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class QListView;
 | 
					class QListView;
 | 
				
			||||||
class QPainter;
 | 
					class QPainter;
 | 
				
			||||||
class KPushButton;
 | 
					class QPushButton;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace Danbooru {
 | 
					namespace Danbooru {
 | 
				
			||||||
| 
						 | 
					@ -65,8 +65,8 @@ namespace Danbooru {
 | 
				
			||||||
    private:
 | 
					    private:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        QListView* m_itemView;
 | 
					        QListView* m_itemView;
 | 
				
			||||||
        KPushButton* m_downloadButton;
 | 
					        QPushButton* m_downloadButton;
 | 
				
			||||||
        KPushButton* m_viewButton;
 | 
					        QPushButton* m_viewButton;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        int m_buttonSize;
 | 
					        int m_buttonSize;
 | 
				
			||||||
        static const int MARGIN;
 | 
					        static const int MARGIN;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue