forked from qt-creator/qt-creator
		
	Move the plugin examples to subdir of pluginhowto.
This commit is contained in:
		
							
								
								
									
										20
									
								
								doc/pluginhowto/examples/dirmodelplugin/filesystemmodel.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								doc/pluginhowto/examples/dirmodelplugin/filesystemmodel.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
#include "filesystemmodel.h"
 | 
			
		||||
 | 
			
		||||
FileSystemModel::FileSystemModel(QObject* parent)
 | 
			
		||||
    :QFileSystemModel(parent)
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FileSystemModel::~FileSystemModel()
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int FileSystemModel::columnCount(const QModelIndex &parent ) const
 | 
			
		||||
{
 | 
			
		||||
    Q_UNUSED(parent)
 | 
			
		||||
    return 1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user