diff options
Diffstat (limited to 'kpovmodeler/pminteriortextureedit.cpp')
-rw-r--r-- | kpovmodeler/pminteriortextureedit.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/kpovmodeler/pminteriortextureedit.cpp b/kpovmodeler/pminteriortextureedit.cpp new file mode 100644 index 00000000..47fe6f38 --- /dev/null +++ b/kpovmodeler/pminteriortextureedit.cpp @@ -0,0 +1,44 @@ +/* +************************************************************************** + description + -------------------- + copyright : (C) 2003 by Leon Pennington + email : leon@leonscape.co.uk +************************************************************************** + +************************************************************************** +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +**************************************************************************/ + + +#include "pminteriortextureedit.h" +#include "pminteriortexture.h" +#include "pmlinkedit.h" + +#include <qlayout.h> +#include <qlabel.h> +#include <klocale.h> + + +PMInteriorTextureEdit::PMInteriorTextureEdit( QWidget* parent, const char* name ) + : Base( parent, name ) +{ + m_pDisplayedObject = 0; +} + +void PMInteriorTextureEdit::displayObject( PMObject* o ) +{ + if( o->isA( "InteriorTexture" ) ) + { + Base::displayObject( o ); + } + else + kdError( PMArea ) << "PMInteriorTextureEdit: Can't display object\n"; +} + +#include "pminteriortextureedit.moc" |