diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 15:56:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 15:56:40 -0600 |
commit | e16866e072f94410321d70daedbcb855ea878cac (patch) | |
tree | ee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /kdeui/tests/kpopuptest.cpp | |
parent | a58c20c1a7593631a1b50213c805507ebc16adaf (diff) | |
download | tdelibs-e16866e072f94410321d70daedbcb855ea878cac.tar.gz tdelibs-e16866e072f94410321d70daedbcb855ea878cac.zip |
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'kdeui/tests/kpopuptest.cpp')
-rw-r--r-- | kdeui/tests/kpopuptest.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/kdeui/tests/kpopuptest.cpp b/kdeui/tests/kpopuptest.cpp deleted file mode 100644 index 3db71106b..000000000 --- a/kdeui/tests/kpopuptest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -#include <kapplication.h> -#include <tqwidget.h> -#include <tqcursor.h> -#include "kpopupmenu.h" - -class DemoWidget : public TQWidget { -private: - KPopupMenu *menu; - -void mousePressEvent(TQMouseEvent *) -{ - menu->popup(TQCursor::pos()); -} - -void paintEvent(TQPaintEvent *) -{ - drawText(32, 32, "Press a Mouse Button!"); -} - -public: - DemoWidget() : TQWidget() - { - menu = new KPopupMenu("Popup Menu:"); - menu->insertItem("Item1"); - menu->insertItem("Item2"); - menu->insertSeparator(); - menu->insertItem("Quit", tqApp, TQT_SLOT(quit())); - } -}; - -int main(int argc, char **argv) -{ - KApplication app(argc, argv, "kpopupmenutest"); - DemoWidget w; - app.setMainWidget(&w); - w.setFont(TQFont("helvetica", 12, TQFont::Bold), true); - w.show(); - return app.exec(); -} - |