X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mainwindow.h;h=1c4c1b2ab5309433195b5b19f4190aff73958480;hb=7c3ee21c56417e0c615d20acb6f057d6394d1b48;hp=b80c2ca548ec15e6b257e076f12738c1bfbd07f2;hpb=305addf8d83ed71844e938551ee900d06359d42a;p=pierogi diff --git a/mainwindow.h b/mainwindow.h index b80c2ca..1c4c1b2 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -2,16 +2,17 @@ #define MAINWINDOW_H #include -#include -//#include - -//#include "selectionwindow.h" -#include "pirselectkeysetform.h" -#include "pirdocumentationform.h" -#include "piraboutform.h" -#include "pirkeysetmanager.h" + +#include "pirkeynames.h" #include "pirmodprobe.h" +class QListWidgetItem; +class PIRSelectKeysetForm; +class PIRSecondaryForm; +class PIRDocumentationForm; +class PIRAboutForm; +class PIRKeysetManager; + namespace Ui { class MainWindow; } @@ -35,6 +36,11 @@ public: void showExpanded(); + void startRepeating( + PIRKeyName name); + + void stopRepeating(); + signals: // Main keys void powerEnabled(bool); @@ -100,6 +106,7 @@ signals: void replayEnabled(bool); void ejectEnabled(bool); +/* // Media2 Keys void discTitleEnabled(bool); void discSelectEnabled(bool); @@ -135,6 +142,7 @@ signals: void pipChannelDownEnabled(bool); void pipPauseEnabled(bool); void pipSizeEnabled(bool); +*/ void keysetMakeChanged(QString); void keysetNameChanged(QString); @@ -268,6 +276,7 @@ private slots: void on_ejectButton_pressed(); void on_ejectButton_released(); +/* // Media2 tab slots: void on_discTitleButton_pressed(); void on_discTitleButton_released(); @@ -335,6 +344,7 @@ private slots: void on_pipPauseButton_released(); void on_pipSizeButton_pressed(); void on_pipSizeButton_released(); +*/ // Favorites tab actions: void on_addKeysetButton_clicked(); @@ -342,6 +352,7 @@ private slots: // Menu actions: void on_actionSelectKeyset_triggered(); + void on_actionSecondary_Buttons_triggered(); void on_actionAbout_triggered(); void on_actionDocumentation_triggered(); @@ -354,17 +365,12 @@ private slots: private: void enableButtons(); - void startRepeating( - unsigned int id, - PIRKeyName name); - - void stopRepeating(); - void populateFavorites(); Ui::MainWindow *ui; PIRSelectKeysetForm *selectKeysetForm; + PIRSecondaryForm *secondaryForm; PIRDocumentationForm *documentationForm; PIRAboutForm *aboutForm;