diff options
Diffstat (limited to 'tqtinterface/qt4/plugins/src/styles/compact')
-rw-r--r-- | tqtinterface/qt4/plugins/src/styles/compact/compact.pro | 21 | ||||
-rw-r--r-- | tqtinterface/qt4/plugins/src/styles/compact/main.cpp | 35 |
2 files changed, 0 insertions, 56 deletions
diff --git a/tqtinterface/qt4/plugins/src/styles/compact/compact.pro b/tqtinterface/qt4/plugins/src/styles/compact/compact.pro deleted file mode 100644 index 72d0328..0000000 --- a/tqtinterface/qt4/plugins/src/styles/compact/compact.pro +++ /dev/null @@ -1,21 +0,0 @@ -TEMPLATE = lib -TARGET = qcompactstyle - -CONFIG += qt warn_off release plugin -DESTDIR = ../../../styles - -HEADERS = ../../../../include/tqcompactstyle.h - -SOURCES = main.cpp \ - ../../../../src/styles/tqcompactstyle.cpp - -!contains(styles, windows) { - HEADERS += ../../../../include/tqwindowsstyle.h - SOURCES += ../../../../src/styles/tqwindowsstyle.cpp -} - -unix:OBJECTS_DIR = .obj -win32:OBJECTS_DIR = obj - -target.path += $$plugins.path/styles -INSTALLS += target diff --git a/tqtinterface/qt4/plugins/src/styles/compact/main.cpp b/tqtinterface/qt4/plugins/src/styles/compact/main.cpp deleted file mode 100644 index 8d63589..0000000 --- a/tqtinterface/qt4/plugins/src/styles/compact/main.cpp +++ /dev/null @@ -1,35 +0,0 @@ -#include <tqstyleplugin.h> -#include <tqcompactstyle.h> - -class CompactStyle : public TQStylePlugin -{ -public: - CompactStyle(); - - TQStringList keys() const; - TQStyle *create( const TQString& ); -}; - -CompactStyle::CompactStyle() -: TQStylePlugin() -{ -} - -TQStringList CompactStyle::keys() const -{ - TQStringList list; - list << "Compact"; - return list; -} - -TQStyle* CompactStyle::create( const TQString& s ) -{ - if ( s.lower() == "compact" ) - return new TQCompactStyle(); - - return 0; -} - - -TQ_EXPORT_PLUGIN( CompactStyle ) - |